Initialization Procedure
BCM5718 Programmer’s Guide
Broadcom
®
January 29, 2016 • 5718-PG108-R
Page 143
35.
Configure the host coalescing tick count. The Receive Coalescing Ticks and Send Coalescing Ticks
registers specify the number of clock ticks elapsed before an interrupt is driven (see
Ticks Register (offset: 0x3C08)” on page 414”
and
“Send Coalescing Ticks Register (offset: 0x3C0C)” on
). The clock begins ticking after RX/TX activity. Broadcom recommends the settings shown
in
36.
Configure the host coalescing BD count. The Receive Max Coalesced BD and Send Max Coalesced BD
registers specify the number of frames processed before an interrupt is driven (see
BD Count Register (offset: 0x3C10)” on page 416
and
“Send Max Coalesced BD Count Register (offset:
). Broadcom recommends the settings shown in
37.
Configure the max-coalesced frames during interrupt counter. While host software processes interrupts, this
value is used. Broadcom recommends the settings shown in
.
38.
Initialize host status block address. Host software must write a physical address to the Status Block Host
Address register, which is the location where the MAC must DMA status data (see
Address Register (offset: 0x3C38)” on page 421
). This register accepts a 64-bit value in register 0x3C38
(high order 32 bits) and 0x3C3C (low order 32 bits).
39.
Enable the host coalescing engine (0x3C00 bit 1).
40.
Enable the receive BD completion functional block by setting the Enable and Attn_Enable bits in the Receive
BD Completion Mode register (see
“Receive BD Completion Mode Register (offset: 0x3000)” on page 375”
).
41.
Enable the receive list placement functional block by setting the Enable bit in the Receive List Placement
Mode register (see
“Receive List Placement Mode Register (offset: 0x2000)” on page 357
.
42.
Enable DMA engines by setting the Enable_FHDE, Enable_RDE, and Enable_TDE bits in the Ethernet Mac
Mode register (see
“EMAC Mode Register (offset: 0x400)” on page 310
Table 40: Recommended BCM57XX Ethernet Controller Host Coalescing Tick Counter Settings
Register
Recommended Value
Receive Coalescing Ticks(0x3C08)
0x48
Send Coalescing Ticks(0x3C0C)
0x14
Table 41: Recommended BCM57XX Ethernet Controller Host Coalescing Frame Counter Settings
Register
Recommended Value
Receive Max Coalesced Frames(0x3C10)
0x05
Send Max Coalesced Frames(0x3C14)
0x35
Table 42: Recommended BCM57XX Ethernet Controller Max Coalesced Frames During Interrupt
Counter Settings
Register
Recommended Value
Receive Max Coalesced Frames During
Interrupt(0x3C20)
0x05
Send Max Coalesced Frames During
Interrupt(0x3C24)
0x05