|
API Reference Manual 1.51.0
|
Large Send Offload (LSO) capabilities. More...
#include <packet_io_types.h>
Data Fields | ||
| uint32_t | max_profiles | |
| Maximum number of LSO profiles. | ||
| uint32_t | max_profiles_per_pktio | |
| Maximum number of LSO profiles per packet IO interface. | ||
| uint32_t | max_packet_segments | |
| Maximum number of segments in an input packet. | ||
| uint32_t | max_segments | |
| Maximum number of segments an LSO operation may create. | ||
| uint32_t | max_payload_len | |
| Maximum payload length per an LSO generated packet (in bytes). | ||
| uint32_t | max_payload_offset | |
| Maximum supported offset to the packet payload (in bytes). | ||
| struct { | ||
| uint16_t add_segment_num:1 | ||
| ODP_LSO_ADD_SEGMENT_NUM support. More... | ||
| uint16_t add_payload_len:1 | ||
| ODP_LSO_ADD_PAYLOAD_LEN support. More... | ||
| uint16_t add_payload_offset:1 | ||
| ODP_LSO_ADD_PAYLOAD_OFFSET support. More... | ||
| uint16_t write_bits:1 | ||
| ODP_LSO_WRITE_BITS support. More... | ||
| } | mod_op | |
| Supported LSO custom modification options. | ||
| uint8_t | max_num_custom | |
| Maximum number of custom fields supported per LSO profile. | ||
| struct { | ||
| uint32_t custom:1 | ||
| ODP_LSO_PROTO_CUSTOM support. More... | ||
| uint32_t ipv4:1 | ||
| ODP_LSO_PROTO_IPV4 support. More... | ||
| uint32_t ipv6:1 | ||
| ODP_LSO_PROTO_IPV6 support. More... | ||
| uint32_t tcp_ipv4:1 | ||
| ODP_LSO_PROTO_TCP_IPV4 support. More... | ||
| uint32_t tcp_ipv6:1 | ||
| ODP_LSO_PROTO_TCP_IPV6 support. More... | ||
| uint32_t sctp_ipv4:1 | ||
| ODP_LSO_PROTO_SCTP_IPV4 support. More... | ||
| uint32_t sctp_ipv6:1 | ||
| ODP_LSO_PROTO_SCTP_IPV6 support. More... | ||
| } | proto | |
| Supported LSO protocol options. | ||
Large Send Offload (LSO) capabilities.
Definition at line 917 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 919 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 923 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 927 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 932 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 936 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 940 of file api/spec/packet_io_types.h.
| uint16_t odp_lso_capability_t::add_segment_num |
ODP_LSO_ADD_SEGMENT_NUM support.
Definition at line 945 of file api/spec/packet_io_types.h.
| uint16_t odp_lso_capability_t::add_payload_len |
ODP_LSO_ADD_PAYLOAD_LEN support.
Definition at line 948 of file api/spec/packet_io_types.h.
| uint16_t odp_lso_capability_t::add_payload_offset |
ODP_LSO_ADD_PAYLOAD_OFFSET support.
Definition at line 951 of file api/spec/packet_io_types.h.
| uint16_t odp_lso_capability_t::write_bits |
ODP_LSO_WRITE_BITS support.
Definition at line 954 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 960 of file api/spec/packet_io_types.h.
| uint32_t odp_lso_capability_t::custom |
ODP_LSO_PROTO_CUSTOM support.
Definition at line 965 of file api/spec/packet_io_types.h.
| uint32_t odp_lso_capability_t::ipv4 |
ODP_LSO_PROTO_IPV4 support.
Definition at line 968 of file api/spec/packet_io_types.h.
| uint32_t odp_lso_capability_t::ipv6 |
ODP_LSO_PROTO_IPV6 support.
Definition at line 971 of file api/spec/packet_io_types.h.
| uint32_t odp_lso_capability_t::tcp_ipv4 |
ODP_LSO_PROTO_TCP_IPV4 support.
Definition at line 974 of file api/spec/packet_io_types.h.
| uint32_t odp_lso_capability_t::tcp_ipv6 |
ODP_LSO_PROTO_TCP_IPV6 support.
Definition at line 977 of file api/spec/packet_io_types.h.
| uint32_t odp_lso_capability_t::sctp_ipv4 |
ODP_LSO_PROTO_SCTP_IPV4 support.
Definition at line 980 of file api/spec/packet_io_types.h.
| uint32_t odp_lso_capability_t::sctp_ipv6 |
ODP_LSO_PROTO_SCTP_IPV6 support.
Definition at line 983 of file api/spec/packet_io_types.h.