API Reference Manual
1.47.0
|
Large Send Offload (LSO) capabilities. More...
#include <packet_io_types.h>
Data Fields | |
uint32_t | max_profiles |
Maximum number of LSO profiles. More... | |
uint32_t | max_profiles_per_pktio |
Maximum number of LSO profiles per packet IO interface. More... | |
uint32_t | max_packet_segments |
Maximum number of segments in an input packet. More... | |
uint32_t | max_segments |
Maximum number of segments an LSO operation may create. More... | |
uint32_t | max_payload_len |
Maximum payload length per an LSO generated packet (in bytes). More... | |
uint32_t | max_payload_offset |
Maximum supported offset to the packet payload (in bytes). More... | |
struct { | |
uint16_t add_segment_num:1 | |
ODP_LSO_ADD_SEGMENT_NUM support. | |
uint16_t add_payload_len:1 | |
ODP_LSO_ADD_PAYLOAD_LEN support. | |
uint16_t add_payload_offset:1 | |
ODP_LSO_ADD_PAYLOAD_OFFSET support. | |
uint16_t write_bits:1 | |
ODP_LSO_WRITE_BITS support. | |
} | mod_op |
Supported LSO custom modification options. | |
uint8_t | max_num_custom |
Maximum number of custom fields supported per LSO profile. More... | |
struct { | |
uint32_t custom:1 | |
ODP_LSO_PROTO_CUSTOM support. | |
uint32_t ipv4:1 | |
ODP_LSO_PROTO_IPV4 support. | |
uint32_t ipv6:1 | |
ODP_LSO_PROTO_IPV6 support. | |
uint32_t tcp_ipv4:1 | |
ODP_LSO_PROTO_TCP_IPV4 support. | |
uint32_t tcp_ipv6:1 | |
ODP_LSO_PROTO_TCP_IPV6 support. | |
uint32_t sctp_ipv4:1 | |
ODP_LSO_PROTO_SCTP_IPV4 support. | |
uint32_t sctp_ipv6:1 | |
ODP_LSO_PROTO_SCTP_IPV6 support. | |
} | proto |
Supported LSO protocol options. | |
Large Send Offload (LSO) capabilities.
Definition at line 915 of file api/spec/packet_io_types.h.
uint32_t odp_lso_capability_t::max_profiles |
Maximum number of LSO profiles.
When zero, LSO is not supported.
Definition at line 917 of file api/spec/packet_io_types.h.
uint32_t odp_lso_capability_t::max_profiles_per_pktio |
Maximum number of LSO profiles per packet IO interface.
When zero, LSO is not supported by the interface.
Definition at line 921 of file api/spec/packet_io_types.h.
uint32_t odp_lso_capability_t::max_packet_segments |
Maximum number of segments in an input packet.
When one, LSO operation accepts only non-segmented packets as input.
Definition at line 925 of file api/spec/packet_io_types.h.
uint32_t odp_lso_capability_t::max_segments |
Maximum number of segments an LSO operation may create.
This implies that the maximum supported input packet payload size for an LSO operation is max_segments * max_payload_len bytes.
Definition at line 930 of file api/spec/packet_io_types.h.
uint32_t odp_lso_capability_t::max_payload_len |
Maximum payload length per an LSO generated packet (in bytes).
This is the maximum value for max_payload_len in odp_packet_lso_opt_t.
Definition at line 934 of file api/spec/packet_io_types.h.
uint32_t odp_lso_capability_t::max_payload_offset |
Maximum supported offset to the packet payload (in bytes).
This is the maximum value for payload_offset in odp_packet_lso_opt_t.
Definition at line 938 of file api/spec/packet_io_types.h.
uint8_t odp_lso_capability_t::max_num_custom |
Maximum number of custom fields supported per LSO profile.
When zero, custom fields are not supported.
Definition at line 958 of file api/spec/packet_io_types.h.