EasyManua.ls Logo

Broadcom BCM5722 - Settings; Table 38: Recommended BCM5722 Ethernet Controller Host Coalescing Tick Counter Settings; Table 39: Recommended BCM5722 Ethernet Controller Host Coalescing Frame Counter Settings; Table 40: Recommended BCM5722 Ethernet Controller Max Coalesced Frames During Interrupt Counter

Broadcom BCM5722
593 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programmer’s Guide BCM5722
10/15/07
Broadcom Corporation
Document 5722-PG101-R Initialization Page 88
53. Configure the host coalescing BD count. The Receive Max Coalesced BD and Send Max Coalesced BD registers (see
“Receive Max Coalesced BD Count (Offset 0x3C10)” on page 296 and “Send Max Coalesced BD Count (Offset 0x3C14)”
on page 296) specify the number of frames processed before an interrupt is driven. Broadcom recommends the settings
shown in Table 39.
54. Configure the max-coalesced frames during interrupt counter. While host software processes interrupts, this value is
used. See the Receive Max Coalesced Frames During Interrupt and Send Max Coalesced Frames During Interrupt
registers (see “Receive Max Coalesced BD Count (Offset 0x3C10)” on page 296 and “Send Max Coalesced BD Count
(Offset 0x3C14)” on page 296). Broadcom recommends the settings shown in Table 40.
55. Initialize host status block address. Host software must write a physical address to the Status Block Host Address
register (see “Status Block Host Address Register (Offset 0x3C38)” on page 297), which is the location where the MAC
must DMA status data. This register accepts a 64-bit value.
56. Enable the host coalescing engine. Set the Enable bit in the Host Coalescing Mode register.
57. Enable the receive BD completion functional block. Set the Enable and Attn_Enable bits in the Receive BD Completion
Mode register (see “Receive BD Completion Mode Register (Offset 0x3000)” on page 291).
58. Enable the receive list placement functional block. Set the Enable bit in the Receive List Placement Mode register (see
“Receive List Placement Mode Register (Offset 0x2000)” on page 282).
59. Enable DMA engines. Set the Enable_FHDE, Enable_RDE, and Enable_TDE bits in the Ethernet Mac Mode register
(see “Ethernet MAC Mode Register (Offset 0x400)” on page 245).
60. Enable and clear statistics. Set the Clear_TX_Statistics, Enable_TX_Statistics, Clear_RX_Statistics, and
Enable_TX_Statistics bits in the Ethernet Mac Mode register (see “Ethernet MAC Mode Register (Offset 0x400)” on
page 245).
61. Configure the General Miscellaneous Local Control register (see “Miscellaneous Local Control Register (Offset 0x6808)”
on page 336). Set the Interrupt_On_Attention bit in order for MAC to assert an interrupt whenever any of the attention
bits in the CPU event register are asserted. Also set the Auto SEEPROM Access bit for MAC to access the SEEPROM
through the SEEPROM address and data registers.
62. Write a value of zero to the Interrupt Mailbox 0 low word (see “Interrupt Mailbox 0 Register (Offset 0x200–0x207)” on
Table 38: Recommended BCM5722 Ethernet Controller Host Coalescing Tick Counter Settings
Register Recommended Value
Receive Coalescing Ticks 150
Send Coalescing Ticks 150
Table 39: Recommended BCM5722 Ethernet Controller Host Coalescing Frame Counter Settings
Register Recommended Value
Receive Max Coalesced Frames 10
Send Max Coalesced Frames 10
Table 40: Recommended BCM5722 Ethernet Controller Max Coalesced Frames During Interrupt Counter
Settings
Register Recommended Value
Receive Max Coalesced Frames During Interrupt 0
Send Max Coalesced Frames During Interrupt 0

Table of Contents