Receive Jumbo Producer Ring; Table 32: Receive Bd Flags - Broadcom NetXtreme/NetLink BCM5718 Series Programmer's Manual

Table of Contents

Advertisement

BCM5718 Programmer's Guide
The Opaque Data field is reserved for the driver and any data placed here is passed opaquely by the driver
from the receive buffer descriptor in the standard or jumbo receive ring to one of the receive return rings.
Bit #
Flag Name
0
Reserved
1
Reserved
2
BD_FLAG_END
3
RSS_HASH_VALID
4
Reserved
5
BD_FLAG_JUMBO_RING
6
BD_FLAG_VLAN_TAG
7:8
RSS_HASH_TYPE
9
Reserved
10
BD_FLAG_FRAME_HAS_ERROR
11
12
IP_CHECKSUM
13
TCP_UDP_CHECKSUM
14
TCP_UDP_IS_TCP
15
IPV6_PACKET

Receive Jumbo Producer Ring

The jumbo RBD producer ring is reintroduced in the BCM5718 family to support RX jumbo frames. The jumbo
RBD producer ring is structured the same as the standard RBD producer ring, but the primary difference is that
only extended BDs are permitted to be posted in the jumbo RBD producer ring. The jumbo RBD producer ring
has a unique RCB associated with it.
The jumbo ring is managed by a producer index and a consumer index as in the case with the standard producer
ring. Whenever host software adds more BDs to the jumbo producer ring, it writes the updated producer index
to the controller via a high-priority mailbox located at the PCIE address range 0x208–0x20F. The producer index
register is at 0x3008.
The controller keeps a local copy of the jumbo ring consumer index in register 0x2470. The jumbo ring consumer
index is also reported to the host via the status block. See
Broadcom
®
January 29, 2016 • 5718-PG108-R

Table 32: Receive BD Flags

Flag Description
The frame ends at the end of the data in this buffer descriptor.
If this bit is 1, then the RSS_HASH_TYPE field is valid. Else
the RSS_HASH_TYPE field is meaningless and must be
ignored for this frame.
Indicates that this packet came from the Jumbo Receive
Ring, not the Standard Receive Ring (For receive BDs only).
This must be set by the driver, it is just copied through
opaquely by the controller firmware.
The frame associated with this buffer descriptor has an
802.1Q VLAN tag associated with it.
Hash type of the receive packet. It indicates which hash_type
was used on the receive packet if multiple hash types are
defined.
An error was detected by the controller. The detected error
type is set in the Error_Flag word of the receive buffer
descriptor.
Indicates that the IP Checksum field is valid.
Indicates that the TCP_UDP Checksum field is valid.
Indicates that this frame has a TCP packet in it.
Indicates that this frame has an IPv6 packet in it.
"Send Buffer Descriptor" on page
Jumbo Frames
122).
Page 120

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NetXtreme/NetLink BCM5718 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Netxtreme/netlink bcm5717Netxtreme/netlink bcm5718Netxtreme/netlink bcm5719Netxtreme/netlink bcm5720

Table of Contents