Intel 82551 Switch User Manual


 
156 10/100 Mbps Ethernet Controller Family Open Source Software Developer Manual
82550 and 82551QM Specific Information
The location and definition of the IPCB fields are summarized in the following table.
Table 72. IPCB Fields
Field Name Byte Bit(s) Function Description
Total TCP/UDP
Payload
1Fh:
1Eh
15:0
Parameter,
Status
This field specifies the cumulative number of TCP payload
bytes requested for transmission as part of this IPCB
instance. This field must be valid and will be used when the
Hardware Parsing bit is clear. The Total TCP/UDP Payload
field is ignored when the Large Send bit is clear.
TCP Header
Offset
17h 7:0 Parameter
This field defines the offset in bytes from first frame byte
retrieved in memory to the first byte of the TCP or UDP
header. This field is ignored when the Hardware Parsing bit is
set. When the IP Checksum and TCP/UDP Checksum bits
are set and the Hardware Parsing is clear, the TCP Header
Offset parameter must be greater than IP Header Offset
parameter and IP header length combined, as derived from
the data.
IP Header Offset 16h 7:0 Parameter
This field defines the offset in bytes from first frame byte
retrieved in memory to the first byte of the IP header. The 4
VLAN bytes are not included in the count only if it is inserted
by hardware. This field is ignored when the Hardware Parsing
bit is set.
VLAN
15h:
14h
15:0 Parameter
If the Insert VLAN bit is set, the controller inserts the VLAN
type (8100h, also known as QTAG protocol type). This 16-bit
VLAN ID number and the user priority (32 bits total) are
inserted in the transmitted frame.
Reserved 13h 7:5 Reserved These bits are reserved and should be set to 000.
Scheduled Send 13h 4 Mode
When this bit is set, the controller transmits the associated
frame using the scheduling mechanism.
Insert VLAN 13h 1 Mode
If this bit is set, the controller inserts the VLAN type and tag
as defined in the VLAN bits description.
Hardware Parsing 13h 0 Mode
When this bit is clear, hardware parsing of the transmitted
packet is disabled. If this bit equals 0 (clear), the IP Header
Offset, TCP Header Offset and total TCP/UDP payload must
be specified to enable checksum operation.
Large Send 12h 7 Mode
When this bit is set, it indicates that the associated packet
should be transmitted using the Large Send mechanism.
Buffer(s) chained to the IPCB contain data larger than what
may be sent in a single Ethernet frame. The 82550 and
82551 break large packets into smaller ones and transmit
them using several Ethernet frames.
TCP/UDP Number 12h 6 Parameter
This bit is used to differentiate between TCP and UDP
packets. When it is set, it indicates a TCP frame; when clear,
a UDP frame. This parameter is relevant and required if the
Hardware Parsing bit is clear and the TCP/UDP Checksum is
set.
TCP/UDP
Checksum
12h 5 Mode
This bit indicates that the TCP/UDP header checksum should
be performed in hardware.
IP Checksum 12h 4 Mode
This bit indicates that the IP header checksum should be
performed in hardware.