DPDK
22.03.0
|
#include <rte_event_eth_rx_adapter.h>
Data Fields | |
uint32_t | rx_queue_flags |
uint16_t | servicing_weight |
struct rte_event | ev |
uint16_t | vector_sz |
uint64_t | vector_timeout_ns |
struct rte_mempool * | vector_mp |
uint16_t | event_buf_size |
Rx queue configuration structure
Definition at line 150 of file rte_event_eth_rx_adapter.h.
uint32_t rx_queue_flags |
Flags for handling received packets
Definition at line 151 of file rte_event_eth_rx_adapter.h.
uint16_t servicing_weight |
Relative polling frequency of ethernet receive queue when the adapter uses a service core function for ethernet to event device transfers. If it is set to zero, the Rx queue is interrupt driven (unless rx queue interrupts are not enabled for the ethernet device).
Definition at line 155 of file rte_event_eth_rx_adapter.h.
struct rte_event ev |
The values from the following event fields will be used when queuing mbuf events:
The event adapter sets ev.event_type to RTE_EVENT_TYPE_ETHDEV in the enqueued event.
Definition at line 162 of file rte_event_eth_rx_adapter.h.
uint16_t vector_sz |
Indicates the maximum number for mbufs to combine and form a vector. Should be within
Definition at line 179 of file rte_event_eth_rx_adapter.h.
uint64_t vector_timeout_ns |
Indicates the maximum number of nanoseconds to wait for receiving mbufs. Should be within vectorization limits of the adapter
Definition at line 188 of file rte_event_eth_rx_adapter.h.
struct rte_mempool* vector_mp |
Indicates the mempool that should be used for allocating rte_event_vector container. Should be created by using rte_event_vector_pool_create
. Valid when RTE_EVENT_ETH_RX_ADAPTER_QUEUE_EVENT_VECTOR flag is set in
Definition at line 198 of file rte_event_eth_rx_adapter.h.
uint16_t event_buf_size |
event buffer size for this queue
Definition at line 206 of file rte_event_eth_rx_adapter.h.