Transmit Mac; Receive Mac; Table 85: Transmit Mac Watermark Recommendation; Table 86: Pause Quanta - Broadcom BCM5722 Programmer's Manual

Host programmer interface specification for the netxtreme and netlink family of highly integrated media access controllers
Table of Contents

Advertisement

BCM5722
Link partner sends a pause frame with pause_time = 0.
Internal pause timer expires.

Transmit MAC

The transmit MAC is responsible for sending flow control frames. Software enables the transmit MAC to send flow control
frames by setting the Enable_Flow_Control bit in the Transmit_MAC_Mode register (see
(Offset 0x45C)" on page
253). When software clears the Enable_Flow_Control bit, the transmit MAC will not generate flow
control frames. The MAC_RX_MBUF_Low_Water_Mark register value (see
(Offset 0x4414)" on page
308) triggers PAUSE frames to be transmitted when a threshold value is passed. Software may
alter the watermark to tune system performance.
Register
MAC_RX_MBUF_Low_Water_Mark
As soon as PAUSE frame is transmitted, any incoming packet can be dropped, and the ifInDiscard counter in statistics (see
"MIB Network Interface Card Statistics" on page
more frames can be dropped. Even if the PAUSE frame is transmitted, Pause frames cannot inhibit MAC control frames.
Low Water Mark Maximum Receive Frames register (see
0x504)" on page
258) control the number of good frames to receive after the RX MBUF Low Water Mark has been reached.
After the RX MAC receives this number of frames, it will drop subsequent incoming frames until the MBUF High Water Mark
is reached.
The IEEE 802.3 pause control frame contains a pause_time field. The BCM5722 Ethernet controller inserts a time quanta
into the pause_time field. Software should set the Enable_Long_Pause bit in the Transmit_MAC_Mode register to configure
long pause quanta. Clearing the Enable_Long_Pause bit will default the pause_time back to the shorter quanta.
shows the pause quanta based on the Enable_Long_Pause bit setting.
Enable_Long_Pause Bit
DISABLED (0)
ENABLED (1)

Receive MAC

The BCM5722 Ethernet controller receive MAC's link partner may want to inhibit frame transmission until upstream
resources become available. The receive MAC must be configured to accept IEEE 802.3x pause frames (see
Software should set the Enable_Flow_Control bit in the Receive_MAC_Mode_Control register to enable automatic
processing of flow control frames. If software clears the Enable_Flow_Control bit, IEEE 802.3x pause frames will be
discarded. The Keep_Pause bit in the Receive_MAC_Mode_Control register will instruct the RX engine to forward pause
frames to host memory. Software may be interested in setting this bit for debugging or promiscuous/sniffer configurations.
Passing pause frames to the host will increase DMA and protocol processing and consume available host buffers. The
receive MAC will filter pause control frames when the Keep_Pause bit is disabled.
Page 171
Flow Control

Table 85: Transmit MAC Watermark Recommendation

56) will increase. When packet size is small (64 bytes) with 1000 Mbps,

Table 86: Pause Quanta

Bro adco m C orp or atio n
"MAC RX MBUF Low Watermark Register
Recommended Value
24
"Low Watermark Maximum Receive Frames Register (Offset
Pause_Time
0x1FFF
0xFFFF
Programmer's Guide
10/15/07
"Transmit MAC Mode Register
Table 86
Table
Document 5722-PG101-R
87).

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BCM5722 and is the answer not in the manual?

This manual is also suitable for:

Bcm5722kfb1g

Table of Contents