Linux Kernel
3.7.1
|
#include <drv_xgbe_intf.h>
Data Fields | |
uint8_t | tso: 1 |
uint8_t | _unused: 7 |
uint8_t | header_size |
uint8_t | ip_offset |
uint8_t | tcp_offset |
uint16_t | payload_size |
uint16_t | num_frags |
lepp_frag_t | frags [0] |
An LEPP command that handles TSO.
Definition at line 405 of file drv_xgbe_intf.h.
uint8_t _unused |
Unused padding bits.
Definition at line 415 of file drv_xgbe_intf.h.
lepp_frag_t frags[0] |
The actual frags.
Definition at line 443 of file drv_xgbe_intf.h.
uint8_t header_size |
Size of the header[] array in bytes. It must be in the range [40, 127], which are the smallest header for a TCP packet over Ethernet and the maximum possible prepend size supported by hardware, respectively. Note that the array storage must be padded out to a multiple of four bytes so that the following LEPP command is aligned properly.
Definition at line 424 of file drv_xgbe_intf.h.
uint8_t ip_offset |
Byte offset of the IP header in header[].
Definition at line 427 of file drv_xgbe_intf.h.
uint16_t num_frags |
The length of the 'frags' array that follows this struct.
Definition at line 440 of file drv_xgbe_intf.h.
uint16_t payload_size |
uint8_t tcp_offset |
Byte offset of the TCP header in header[].
Definition at line 430 of file drv_xgbe_intf.h.
uint8_t tso |
Is this a TSO transfer?
NOTE: This field is always 1, to distinguish it from lepp_cmd_t. It must come first!
Definition at line 412 of file drv_xgbe_intf.h.