API Reference Manual  1.47.0
api/spec/packet_io_types.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2013-2018 Linaro Limited
3  * Copyright (c) 2020-2025 Nokia
4  */
5 
12 #ifndef ODP_API_SPEC_PACKET_IO_TYPES_H_
13 #define ODP_API_SPEC_PACKET_IO_TYPES_H_
14 #include <odp/visibility_begin.h>
15 
16 #include <odp/api/deprecated.h>
17 #include <odp/api/packet_types.h>
19 #include <odp/api/pool_types.h>
20 #include <odp/api/queue_types.h>
21 #include <odp/api/reassembly.h>
22 #include <odp/api/std_types.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
94 typedef enum odp_pktin_mode_t {
104 
108 typedef enum odp_pktout_mode_t {
118 
125 typedef union odp_pktin_hash_proto_t {
127  struct {
129  uint32_t ipv4_udp : 1;
131  uint32_t ipv4_tcp : 1;
133  uint32_t ipv4 : 1;
135  uint32_t ipv6_udp : 1;
137  uint32_t ipv6_tcp : 1;
139  uint32_t ipv6 : 1;
140  } proto;
141 
146  uint32_t all_bits;
148 
152 typedef enum odp_pktio_op_mode_t {
159 
167 
169 
180 
194 
201 
209  uint64_t max_tmo_ns;
210 
223  uint32_t max_size;
224 
226 
230 typedef struct odp_pktin_queue_param_t {
237 
247 
256 
262 
270  uint32_t num_queues;
271 
281 
292 
305 
314 
316 
323 typedef struct odp_pktout_queue_param_t {
330 
333  uint32_t num_queues;
334 
344 
346 
353 typedef struct odp_pktio_param_t {
358 
363 
365 
396 typedef union odp_pktin_config_opt_t {
398  struct {
400  uint64_t ts_all : 1;
401 
404  uint64_t ts_ptp : 1;
405 
407  uint64_t ipv4_chksum : 1;
408 
410  uint64_t udp_chksum : 1;
411 
413  uint64_t tcp_chksum : 1;
414 
416  uint64_t sctp_chksum : 1;
417 
419  uint64_t drop_ipv4_err : 1;
420 
422  uint64_t drop_ipv6_err : 1;
423 
425  uint64_t drop_udp_err : 1;
426 
428  uint64_t drop_tcp_err : 1;
429 
431  uint64_t drop_sctp_err : 1;
432 
433  } bit;
434 
439  uint64_t all_bits;
441 
486 typedef union odp_pktout_config_opt_t {
488  struct {
490  uint64_t ts_ena : 1;
491 
493  uint64_t ipv4_chksum_ena : 1;
494 
496  uint64_t udp_chksum_ena : 1;
497 
499  uint64_t tcp_chksum_ena : 1;
500 
502  uint64_t sctp_chksum_ena : 1;
503 
505  uint64_t ipv4_chksum : 1;
506 
508  uint64_t udp_chksum : 1;
509 
511  uint64_t tcp_chksum : 1;
512 
514  uint64_t sctp_chksum : 1;
515 
528  uint64_t no_packet_refs : 1;
529 
535  uint64_t aging_ena : 1;
536 
544 
546  uint64_t proto_stats_ena : 1;
547 
548  } bit;
549 
554  uint64_t all_bits;
556 
571 
573 
584 
586 
594 typedef struct odp_pktio_config_t {
599 
604 
607 
618 
634 
651 
666 
669 
671  struct {
687 
708 
710 
714  struct {
725  uint32_t mode_event : 1;
726 
737  uint32_t mode_poll : 1;
738 
746  uint32_t max_compl_id;
747 
749 
751 
757 typedef union odp_pktio_set_op_t {
759  struct {
761  uint32_t promisc_mode : 1;
763  uint32_t mac_addr : 1;
765  uint32_t skip_offset : 1;
767  uint32_t maxlen : 1;
768  } op;
772  uint32_t all_bits;
774 
776 #define ODP_LSO_MAX_CUSTOM 8
777 
779 typedef enum odp_lso_modify_t {
782 
785 
788 
791 
793 
798 typedef enum odp_lso_protocol_t {
801 
808 
827 
850 
883 
905 
908 
911 
913 
915 typedef struct odp_lso_capability_t {
917  uint32_t max_profiles;
918 
922 
926 
930  uint32_t max_segments;
931 
934  uint32_t max_payload_len;
935 
939 
941  struct {
943  uint16_t add_segment_num:1;
944 
946  uint16_t add_payload_len:1;
947 
949  uint16_t add_payload_offset:1;
950 
952  uint16_t write_bits:1;
953 
955 
958  uint8_t max_num_custom;
959 
961  struct {
963  uint32_t custom:1;
964 
966  uint32_t ipv4:1;
967 
969  uint32_t ipv6:1;
970 
972  uint32_t tcp_ipv4:1;
973 
975  uint32_t tcp_ipv6:1;
976 
978  uint32_t sctp_ipv4:1;
979 
981  uint32_t sctp_ipv6:1;
982 
983  } proto;
984 
986 
993 
999  uint32_t max_size;
1000 
1003  uint32_t min_size;
1004 
1010  uint64_t max_tmo_ns;
1011 
1014  uint64_t min_tmo_ns;
1015 
1017 
1025 typedef struct odp_pktio_capability_t {
1030 
1035 
1040 
1045 
1050 
1055 
1058 
1064 
1067 
1070 
1074  struct {
1081  uint32_t min_input;
1083  uint32_t max_input;
1085  uint32_t min_output;
1087  uint32_t max_output;
1089 
1098 
1100  struct {
1112 
1124 
1130  uint32_t ODP_DEPRECATE(mode_all) : 1;
1131 
1133  uint32_t mode_event : 1;
1134 
1136  uint32_t mode_poll : 1;
1137 
1139  uint32_t max_compl_id;
1140 
1142 
1144  struct {
1149  uint32_t dont_free : 1;
1150 
1152 
1155 
1158 
1160  struct {
1162  uint32_t pause_rx: 1;
1163 
1165  uint32_t pfc_rx: 1;
1166 
1168  uint32_t pause_tx: 1;
1169 
1171  uint32_t pfc_tx: 1;
1172 
1174 
1176 
1178 typedef struct odp_lso_write_bits_t {
1180  uint8_t mask[1];
1181 
1185  uint8_t value[1];
1186 
1188 
1192 typedef struct odp_lso_profile_param_t {
1204 
1217  struct {
1219  struct {
1224 
1226  uint32_t offset;
1227 
1231  uint8_t size;
1232 
1234  union {
1236  struct {
1244  };
1246 
1248  uint8_t num_custom;
1249 
1251 
1253 
1262 
1264 
1268 typedef struct odp_pktio_info_t {
1270  const char *name;
1271 
1273  const char *drv_name;
1274 
1277 
1280 
1282 
1290 #define ODP_PKTIO_LINK_SPEED_UNKNOWN 0
1292 #define ODP_PKTIO_LINK_SPEED_10M 10
1294 #define ODP_PKTIO_LINK_SPEED_100M 100
1296 #define ODP_PKTIO_LINK_SPEED_1G 1000
1298 #define ODP_PKTIO_LINK_SPEED_2_5G 2500
1300 #define ODP_PKTIO_LINK_SPEED_5G 5000
1302 #define ODP_PKTIO_LINK_SPEED_10G 10000
1304 #define ODP_PKTIO_LINK_SPEED_20G 20000
1306 #define ODP_PKTIO_LINK_SPEED_25G 25000
1308 #define ODP_PKTIO_LINK_SPEED_40G 40000
1310 #define ODP_PKTIO_LINK_SPEED_50G 50000
1312 #define ODP_PKTIO_LINK_SPEED_56G 56000
1314 #define ODP_PKTIO_LINK_SPEED_100G 100000
1316 #define ODP_PKTIO_LINK_SPEED_200G 200000
1318 #define ODP_PKTIO_LINK_SPEED_400G 400000
1319 
1330 
1332 
1341 
1343 
1347 typedef struct odp_pktio_link_info_t {
1357  const char *media;
1367  uint32_t speed;
1371 
1376 #ifdef __cplusplus
1377 }
1378 #endif
1379 
1380 #include <odp/visibility_end.h>
1381 #endif
ODP packet.
ODP pool.
ODP queue.
Standard C language types and definitions for ODP.
Control deprecated API definitions.
struct odp_pktio_capability_t odp_pktio_capability_t
Packet IO capabilities.
odp_lso_protocol_t
LSO protocol options.
struct odp_lso_write_bits_t odp_lso_write_bits_t
Parameters for ODP_LSO_WRITE_BITS custom operation.
#define ODP_PKTOUT_MAX_QUEUES
Maximum number of packet output queues supported by the API.
struct odp_pktio_param_t odp_pktio_param_t
Packet IO parameters.
struct odp_pktout_queue_param_t odp_pktout_queue_param_t
Packet output queue parameters.
struct odp_lso_profile_param_t odp_lso_profile_param_t
LSO profile parameters.
struct odp_pktin_vector_capability_t odp_pktin_vector_capability_t
Packet input vector capabilities.
struct odp_pktio_link_info_t odp_pktio_link_info_t
Packet IO link information.
#define ODP_LSO_MAX_CUSTOM
Maximum number of custom LSO fields supported by ODP API.
odp_pktout_mode_t
Packet output mode.
union odp_pktout_config_opt_t odp_pktout_config_opt_t
Packet output configuration options bit field.
struct odp_pktio_info_t odp_pktio_info_t
Packet IO information.
odp_pktio_link_duplex_t
Duplex mode.
struct odp_pktin_queue_param_t odp_pktin_queue_param_t
Packet input queue parameters.
odp_pktio_link_autoneg_t
Autonegotiation mode.
odp_lso_modify_t
LSO custom modification options.
struct odp_pktio_config_t odp_pktio_config_t
Packet IO configuration options.
struct odp_lso_capability_t odp_lso_capability_t
Large Send Offload (LSO) capabilities.
#define ODP_PKTIN_MAX_QUEUES
Maximum number of packet input queues supported by the API.
union odp_pktin_config_opt_t odp_pktin_config_opt_t
Packet input configuration options bit field.
union odp_pktin_hash_proto_t odp_pktin_hash_proto_t
Packet input hash protocols.
struct odp_pktio_parser_config_t odp_pktio_parser_config_t
Parser configuration.
odp_pktio_op_mode_t
Packet IO operation mode.
union odp_pktio_set_op_t odp_pktio_set_op_t
Packet IO set operations.
odp_pktio_link_pause_t
Ethernet flow control modes.
struct odp_pktin_queue_param_ovr_t odp_pktin_queue_param_ovr_t
Packet input queue parameters override.
odp_pktin_mode_t
Packet input mode.
struct odp_pktin_vector_config_t odp_pktin_vector_config_t
Packet input vector configuration.
odp_pktio_link_status_t
Link status.
@ ODP_LSO_PROTO_IPV4
LSO performs IPv4 fragmentation.
@ ODP_LSO_PROTO_NONE
Protocol not selected.
@ ODP_LSO_PROTO_IPV6
LSO performs IPv6 fragmentation.
@ ODP_LSO_PROTO_TCP_IPV4
LSO performs TCP segmentation on top of IPv4.
@ ODP_LSO_PROTO_CUSTOM
Custom protocol.
@ ODP_LSO_PROTO_SCTP_IPV4
LSO performs SCTP segmentation on top of IPv4.
@ ODP_LSO_PROTO_TCP_IPV6
LSO performs TCP segmentation on top of IPv6.
@ ODP_LSO_PROTO_SCTP_IPV6
LSO performs SCTP segmentation on top of IPv6.
@ ODP_PKTOUT_MODE_DIRECT
Direct packet output on the interface.
@ ODP_PKTOUT_MODE_TM
Packet output through traffic manager API.
@ ODP_PKTOUT_MODE_QUEUE
Packet output through event queues.
@ ODP_PKTOUT_MODE_DISABLED
Application will never send to this interface.
@ ODP_PKTIO_LINK_DUPLEX_HALF
Half duplex mode.
@ ODP_PKTIO_LINK_DUPLEX_FULL
Full duplex mode.
@ ODP_PKTIO_LINK_DUPLEX_UNKNOWN
Link duplex mode is unknown.
@ ODP_PKTIO_LINK_AUTONEG_UNKNOWN
Autonegotiation state unknown.
@ ODP_PKTIO_LINK_AUTONEG_OFF
Autonegotiation disabled.
@ ODP_PKTIO_LINK_AUTONEG_ON
Autonegotiation enabled.
@ ODP_LSO_ADD_SEGMENT_NUM
Add current segment number.
@ ODP_LSO_WRITE_BITS
Write bits in the first, middle and last segment.
@ ODP_LSO_ADD_PAYLOAD_OFFSET
Add number of payload bytes in all previous segments.
@ ODP_LSO_ADD_PAYLOAD_LEN
Add number of payload bytes in the segment.
@ ODP_PKTIO_OP_MT_UNSAFE
Not multithread safe operation.
@ ODP_PKTIO_OP_MT
Multithread safe operation.
@ ODP_PKTIO_LINK_PFC_ON
Priority-based Flow Control (PFC) enabled.
@ ODP_PKTIO_LINK_PAUSE_UNKNOWN
Flow control mode is unknown.
@ ODP_PKTIO_LINK_PAUSE_OFF
No flow control.
@ ODP_PKTIO_LINK_PAUSE_ON
Pause frame flow control enabled.
@ ODP_PKTIN_MODE_DIRECT
Direct packet input from the interface.
@ ODP_PKTIN_MODE_QUEUE
Packet input through plain event queues.
@ ODP_PKTIN_MODE_DISABLED
Application will never receive from this interface.
@ ODP_PKTIN_MODE_SCHED
Packet input through scheduler and scheduled event queues.
@ ODP_PKTIO_LINK_STATUS_DOWN
Link status is down.
@ ODP_PKTIO_LINK_STATUS_UP
Link status is up.
@ ODP_PKTIO_LINK_STATUS_UNKNOWN
Link status is unknown.
odp_proto_layer_t
Protocol layer.
int odp_schedule_group_t
Scheduler thread group.
bool odp_bool_t
Boolean type.
odp_support_t
ODP support.
ODP packet IO stats.
ODP REASSEMBLY API - platform specific header.
#define ODP_DEPRECATE(x)
Macro to deprecate API definitions.
Large Send Offload (LSO) capabilities.
uint32_t max_payload_len
Maximum payload length per an LSO generated packet (in bytes).
struct odp_lso_capability_t::@114 mod_op
Supported LSO custom modification options.
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_profiles
Maximum number of LSO profiles.
uint32_t sctp_ipv4
ODP_LSO_PROTO_SCTP_IPV4 support.
uint32_t max_profiles_per_pktio
Maximum number of LSO profiles per packet IO interface.
uint16_t add_payload_len
ODP_LSO_ADD_PAYLOAD_LEN support.
uint8_t max_num_custom
Maximum number of custom fields supported per LSO profile.
uint16_t write_bits
ODP_LSO_WRITE_BITS support.
uint32_t tcp_ipv4
ODP_LSO_PROTO_TCP_IPV4 support.
uint16_t add_segment_num
ODP_LSO_ADD_SEGMENT_NUM support.
struct odp_lso_capability_t::@115 proto
Supported LSO protocol options.
uint32_t ipv4
ODP_LSO_PROTO_IPV4 support.
uint32_t max_payload_offset
Maximum supported offset to the packet payload (in bytes).
uint32_t tcp_ipv6
ODP_LSO_PROTO_TCP_IPV6 support.
uint32_t custom
ODP_LSO_PROTO_CUSTOM support.
uint32_t sctp_ipv6
ODP_LSO_PROTO_SCTP_IPV6 support.
uint32_t ipv6
ODP_LSO_PROTO_IPV6 support.
uint16_t add_payload_offset
ODP_LSO_ADD_PAYLOAD_OFFSET support.
uint8_t num_custom
Number of custom fields specified.
odp_lso_protocol_t lso_proto
Segmentation protocol.
uint32_t offset
Field offset in bytes from packet start.
odp_lso_write_bits_t middle_seg
bits to write in middle segments
odp_lso_write_bits_t first_seg
bits to write in the first segment
struct odp_lso_profile_param_t::@120 custom
Custom fields.
struct odp_lso_profile_param_t::@120::@121 field[ODP_LSO_MAX_CUSTOM]
Custom field to be modified by LSO.
struct odp_lso_profile_param_t::@120::@121::@122::@124 write_bits
Parameters for ODP_LSO_WRITE_BITS operation.
odp_lso_write_bits_t last_seg
bits to write in the last segment
odp_lso_modify_t mod_op
Field modify operation.
uint8_t size
Field size in bytes.
Parameters for ODP_LSO_WRITE_BITS custom operation.
uint8_t value[1]
Value to be written using the mask: new_value[n] = (old_value[n] & ~mask[n]) | (value[n] & mask[n])
uint8_t mask[1]
Bitmask to select which bits to write.
Packet input queue parameters override.
odp_schedule_group_t group
Override for schedule group in odp_schedule_param_t.
Packet input queue parameters.
uint32_t num_queues
Number of input queues to be created.
odp_pktio_op_mode_t op_mode
Operation mode.
odp_queue_param_t queue_param
Queue parameters.
odp_pktin_queue_param_ovr_t * queue_param_ovr
Queue parameters override.
odp_pktin_hash_proto_t hash_proto
Protocol field selection for hashing.
uint32_t queue_size[ODP_PKTIN_MAX_QUEUES]
Input queue size array.
odp_bool_t hash_enable
Enable flow hashing.
odp_bool_t classifier_enable
Enable classifier.
odp_pktin_vector_config_t vector
Packet input vector configuration.
Packet input vector capabilities.
uint64_t max_tmo_ns
Maximum timeout in nanoseconds for the producer to wait for the vector of packets.
uint64_t min_tmo_ns
Minimum value allowed to be configured to odp_pktin_vector_config_t::max_tmo_ns.
uint32_t min_size
Minimum value allowed to be configured to odp_pktin_vector_config_t::max_size.
uint32_t max_size
Maximum number of packets that can be accumulated into a packet vector by a producer.
odp_support_t supported
Packet input vector availability.
Packet input vector configuration.
odp_bool_t enable
Enable packet input vector.
uint32_t max_size
Maximum number of packets in a vector.
uint64_t max_tmo_ns
Maximum time to wait for packets.
odp_bool_t queue_type_sched
Scheduled queue support.
struct odp_pktio_capability_t::@118 free_ctrl
Supported packet free control options.
odp_bool_t equal
Equal maximum frame length for both packet input and output.
uint32_t mode_poll
Packet transmit completion mode ODP_PACKET_TX_COMPL_POLL support.
odp_pktio_set_op_t set_op
Supported set operations.
uint32_t pfc_tx
Generation of PFC frames.
uint32_t max_output
Maximum valid value for 'maxlen_output'.
uint32_t mode_all
For backwards compatibility, mode_all is synonym of mode_event.
uint32_t pfc_rx
Reception of PFC frames.
odp_pktin_vector_capability_t vector
Packet input vector capability.
uint32_t max_input_queues
Maximum number of input queues.
uint32_t max_input
Maximum valid value for 'maxlen_input'.
odp_pktio_config_t config
Supported pktio configuration options.
uint32_t min_output
Minimum valid value for 'maxlen_output'.
uint32_t max_output_queue_size
Maximum output queue size.
uint32_t max_output_queues
Maximum number of output queues.
struct odp_pktio_capability_t::@119 flow_control
Supported flow control modes.
uint32_t max_compl_id
Maximum supported completion ID value.
uint32_t min_output_queue_size
Minimum output queue size.
uint64_t max_tx_aging_tmo_ns
Max Tx aging timeout in nano seconds supported when packet aging feature is supported.
uint32_t dont_free
Packet free control option ODP_PACKET_FREE_CTRL_DONT_FREE support with odp_packet_free_ctrl_set().
uint32_t min_input
Minimum valid value for 'maxlen_input'.
struct odp_pktio_capability_t::@117 tx_compl
Supported packet Tx completion options.
odp_pktio_stats_capability_t stats
Statistics counters capabilities.
odp_lso_capability_t lso
LSO capabilities.
uint32_t mode_event
Packet transmit completion mode ODP_PACKET_TX_COMPL_EVENT support.
uint32_t max_input_queue_size
Maximum input queue size.
odp_bool_t queue_type_plain
Plain queue support.
uint32_t pause_tx
Generation of traditional Ethernet pause frames.
uint32_t pause_rx
Reception of traditional Ethernet pause frames.
struct odp_pktio_capability_t::@116 maxlen
Supported frame lengths for odp_pktio_maxlen_set()
uint32_t min_input_queue_size
Minimum input queue size.
odp_reass_capability_t reassembly
Packet input reassembly capability.
Packet IO configuration options.
uint32_t max_compl_id
Maximum completion index.
uint32_t mode_event
Enable packet transmit completion events.
odp_pktio_link_pause_t pause_tx
Transmission of flow control frames.
odp_reass_config_t reassembly
Packet input reassembly configuration.
struct odp_pktio_config_t::@112 tx_compl
Packet transmit completion configuration.
odp_pktout_config_opt_t pktout
Packet output configuration options bit field.
odp_bool_t enable_loop
Interface loopback mode.
struct odp_pktio_config_t::@111 flow_control
Link flow control configuration.
uint32_t mode_poll
Enable packet transmit completion check through polling.
odp_pktio_link_pause_t pause_rx
Reception of flow control frames.
odp_bool_t enable_lso
Enable Large Send Offload (LSO)
odp_pktio_parser_config_t parser
Packet input parser configuration.
odp_bool_t outbound_ipsec
Outbound IPSEC inlined with packet output.
odp_pktin_config_opt_t pktin
Packet input configuration options bit field.
odp_bool_t inbound_ipsec
Inbound IPSEC inlined with packet input.
Packet IO information.
const char * drv_name
Packet IO driver name (implementation specific)
odp_pktio_param_t param
Packet IO parameters.
odp_pool_t pool
Packet pool.
const char * name
Packet IO device name.
Packet IO parameters.
odp_pktin_mode_t in_mode
Packet input mode.
odp_pktout_mode_t out_mode
Packet output mode.
odp_proto_layer_t layer
Protocol parsing level in packet input.
Packet IO statistics capabilities.
Packet output queue parameters.
odp_pktio_op_mode_t op_mode
Operation mode.
uint32_t queue_size[ODP_PKTOUT_MAX_QUEUES]
Output queue size array.
uint32_t num_queues
Number of output queues to be created.
ODP Queue parameters.
Reassembly capabilities.
Fragment reassembly configuration.
Packet input configuration options bit field.
uint64_t ts_all
Timestamp all packets on packet input.
uint64_t ts_ptp
Timestamp (at least) IEEE1588 / PTP packets on packet input.
struct odp_pktin_config_opt_t::@109 bit
Option flags.
uint64_t ipv4_chksum
Check IPv4 header checksum on packet input.
uint64_t all_bits
All bits of the bit field structure.
uint64_t drop_sctp_err
Drop packets with a SCTP error on packet input.
uint64_t drop_udp_err
Drop packets with a UDP error on packet input.
uint64_t udp_chksum
Check UDP checksum on packet input.
uint64_t drop_ipv4_err
Drop packets with an IPv4 error on packet input.
uint64_t tcp_chksum
Check TCP checksum on packet input.
uint64_t sctp_chksum
Check SCTP checksum on packet input.
uint64_t drop_ipv6_err
Drop packets with an IPv6 error on packet input.
uint64_t drop_tcp_err
Drop packets with a TCP error on packet input.
Packet input hash protocols.
uint32_t all_bits
All bits of the bit field structure.
uint32_t ipv4_tcp
IPv4 addresses and TCP port numbers.
uint32_t ipv6_tcp
IPv6 addresses and TCP port numbers.
uint32_t ipv4_udp
IPv4 addresses and UDP port numbers.
uint32_t ipv6
IPv6 addresses.
struct odp_pktin_hash_proto_t::@108 proto
Protocol header fields for hashing.
uint32_t ipv6_udp
IPv6 addresses and UDP port numbers.
uint32_t ipv4
IPv4 addresses.
Packet IO set operations.
uint32_t maxlen
Maximum frame length.
uint32_t all_bits
All bits of the bit field structure.
struct odp_pktio_set_op_t::@113 op
Operation flags.
uint32_t skip_offset
Per port header offset(skip)set.
uint32_t promisc_mode
Promiscuous mode.
uint32_t mac_addr
MAC address
Packet output configuration options bit field.
uint64_t aging_ena
Enable packet aging and drop.
uint64_t sctp_chksum_ena
Enable SCTP checksum insertion.
uint64_t tcp_chksum
Insert TCP checksum on packet by default.
uint64_t proto_stats_ena
Enable packet protocol stats update.
uint64_t no_packet_refs
Packet references not used on packet output.
struct odp_pktout_config_opt_t::@110 bit
Option flags for packet output.
uint64_t sctp_chksum
Insert SCTP checksum on packet by default.
uint64_t tx_compl_ena
For backwards compatibility, setting this flag is the same as setting tx_compl.mode_event in odp_pkti...
uint64_t all_bits
All bits of the bit field structure.
uint64_t ts_ena
Enable Tx timestamp capture.
uint64_t ipv4_chksum
Insert IPv4 header checksum by default.
uint64_t ipv4_chksum_ena
Enable IPv4 header checksum insertion.
uint64_t tcp_chksum_ena
Enable TCP checksum insertion.
uint64_t udp_chksum
Insert UDP checksum on packet by default.
uint64_t udp_chksum_ena
Enable UDP checksum insertion.