BCM5718 Programmer's Guide
The HDRLEN field is split into two fields within the SBD:
•
A sub-field within the Flags field at a word offset of 0x08
•
Adjacent to the MSS field at an offset of 0x0c
This field is used only for LSO buffers. Its value specifies the combined L3 and L4 header length in 4-byte
DWORDS for TCP/IPv4 or TCP/IPv6 packets. The value includes any option headers for IPv4, any extension
headers for IPv6, and any TCP options.
For a TCP/IPv4 packet without IP or TCP options, this field would have a value of 10 (decimal).
For a TCP/IPv6 packet without extension headers or TCP options, this field would have a value of 15 (decimal).
For a TCP/IPv6 packet with a hop-by-hop options extension header of length 8 bytes plus a TCP MSS option
(4 bytes), this field would have a value of 18 (decimal).
MSS[13:0]
This field is the size of the TCP segments into which a LSO segment is to be segmented into. Note that the MSS
field has been increased for some NetXtreme controllers (i.e., BCM5718) to hold a value specifying a jumbo
frame size.
Flags
See the table below.
Bit #
Flag Name
0
TCP/UDP Checksum Offload
Enable
1
IP Checksum Offload Enable This bit enables calculation of the IPv4 layer-3 checksum. This bit will be
2
Packet End
3
Jumbo Frame
4
HDRLEN[2]
5
Capture Time Stamp
(BCM5719/5720 only)
6
VLAN TAG
7
Coalesce Now
Broadcom
®
January 29, 2016 • 5718-PG108-R
Table 30: Flag Field Description
Flag Description
This bit enables calculation of TCP or UDP checksums for IPv4 and IPv6
transmitted packets. The driver will set this bit only if the packet contained
within a buffer is TCP or UDP over IPv4 or IPv6.
set only for IPv4 packets. The driver will never set it for IPv6 packets.
This bit will be set for the last send buffer in a packet.
Driver must set this bit to 1 if the MTU length of the Send Frame is >
1500B. The MTU length is the Ethernet payload length and excludes
Header length (and Trailer length). All BDs belonging to a Send Packet
must configure this bit identically.
The length of the Ethernet + IP + TCP Headers to be replicated in each
segment arising from Large TCP Segment Offload (LSO) activity.
If this bit is 1, this frame's launch time shall be captured in the TX Time-
Stamp Register.
When this bit is set, the NIC will insert a VLAN tag in the Ethernet header.
The value for the inserted tag is taken from the VLAN Tag field in the send
BD.
If this bit is set, then a status block with an updated send consumer index
will be DMA'd to the host as soon as this buffer's data has been DMA'd
from the host. An interrupt may or may not be generated depending on
the present state of interrupt avoidance mechanisms.
Large Segment Offload
Page 113
Need help?
Do you have a question about the NetXtreme/NetLink BCM5718 Series and is the answer not in the manual?
Questions and answers