API Reference Manual 1.51.0
Loading...
Searching...
No Matches
odp_lso_capability_t Struct Reference

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.
 

Detailed Description

Large Send Offload (LSO) capabilities.

Definition at line 917 of file api/spec/packet_io_types.h.

Field Documentation

◆ max_profiles

uint32_t odp_lso_capability_t::max_profiles

Maximum number of LSO profiles.

When zero, LSO is not supported.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 919 of file api/spec/packet_io_types.h.

◆ max_profiles_per_pktio

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.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 923 of file api/spec/packet_io_types.h.

◆ max_packet_segments

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.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 927 of file api/spec/packet_io_types.h.

◆ max_segments

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.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 932 of file api/spec/packet_io_types.h.

◆ max_payload_len

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.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 936 of file api/spec/packet_io_types.h.

◆ max_payload_offset

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.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 940 of file api/spec/packet_io_types.h.

◆ add_segment_num

uint16_t odp_lso_capability_t::add_segment_num

ODP_LSO_ADD_SEGMENT_NUM support.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 945 of file api/spec/packet_io_types.h.

◆ add_payload_len

uint16_t odp_lso_capability_t::add_payload_len

ODP_LSO_ADD_PAYLOAD_LEN support.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 948 of file api/spec/packet_io_types.h.

◆ add_payload_offset

uint16_t odp_lso_capability_t::add_payload_offset

ODP_LSO_ADD_PAYLOAD_OFFSET support.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 951 of file api/spec/packet_io_types.h.

◆ write_bits

uint16_t odp_lso_capability_t::write_bits

ODP_LSO_WRITE_BITS support.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 954 of file api/spec/packet_io_types.h.

◆ max_num_custom

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.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 960 of file api/spec/packet_io_types.h.

◆ custom

uint32_t odp_lso_capability_t::custom

ODP_LSO_PROTO_CUSTOM support.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 965 of file api/spec/packet_io_types.h.

◆ ipv4

uint32_t odp_lso_capability_t::ipv4

ODP_LSO_PROTO_IPV4 support.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 968 of file api/spec/packet_io_types.h.

◆ ipv6

uint32_t odp_lso_capability_t::ipv6

ODP_LSO_PROTO_IPV6 support.

Examples
odp_sysinfo.c.

Definition at line 971 of file api/spec/packet_io_types.h.

◆ tcp_ipv4

uint32_t odp_lso_capability_t::tcp_ipv4

ODP_LSO_PROTO_TCP_IPV4 support.

Examples
odp_packet_gen.c, and odp_sysinfo.c.

Definition at line 974 of file api/spec/packet_io_types.h.

◆ tcp_ipv6

uint32_t odp_lso_capability_t::tcp_ipv6

ODP_LSO_PROTO_TCP_IPV6 support.

Examples
odp_sysinfo.c.

Definition at line 977 of file api/spec/packet_io_types.h.

◆ sctp_ipv4

uint32_t odp_lso_capability_t::sctp_ipv4

ODP_LSO_PROTO_SCTP_IPV4 support.

Examples
odp_sysinfo.c.

Definition at line 980 of file api/spec/packet_io_types.h.

◆ sctp_ipv6

uint32_t odp_lso_capability_t::sctp_ipv6

ODP_LSO_PROTO_SCTP_IPV6 support.

Examples
odp_sysinfo.c.

Definition at line 983 of file api/spec/packet_io_types.h.


The documentation for this struct was generated from the following file: