API Reference Manual
1.46.0
|
Packet transmit completion request options. More...
#include <packet_types.h>
Data Fields | |
odp_packet_tx_compl_mode_t | mode |
Packet transmit completion mode. More... | |
union { | |
odp_queue_t queue | |
Destination queue. More... | |
uint32_t compl_id | |
Completion identifier. More... | |
}; | |
Union of packet transmit completion destinations. | |
Packet transmit completion request options.
Definition at line 455 of file api/spec/packet_types.h.
odp_packet_tx_compl_mode_t odp_packet_tx_compl_opt_t::mode |
Packet transmit completion mode.
When completion mode is ODP_PACKET_TX_COMPL_DISABLED, all other fields of this struct are ignored.
Definition at line 462 of file api/spec/packet_types.h.
odp_queue_t odp_packet_tx_compl_opt_t::queue |
Destination queue.
When completion mode is ODP_PACKET_TX_COMPL_EVENT, a packet transmit completion event will be sent to this queue.
Definition at line 472 of file api/spec/packet_types.h.
uint32_t odp_packet_tx_compl_opt_t::compl_id |
Completion identifier.
When completion mode is ODP_PACKET_TX_COMPL_POLL, a packet transmit completion status will be reported through this completion identifier. Application selects a value between 0 and tx_compl.max_compl_id in packet IO configuration options (see odp_pktio_config_t). Only single packet may be transmitted with the same identifier value at a time (through the same packet IO interface). A value may be reused for the next transmit only after transmit of the previous packet is complete. Multiple packets may have the same identifier value set as long as those packets are not transmitted simultaneously.
Definition at line 486 of file api/spec/packet_types.h.