DPDK
21.11.8
|
#include <rte_ethdev.h>
Data Fields | |
struct rte_eth_thresh | rx_thresh |
uint16_t | rx_free_thresh |
uint8_t | rx_drop_en |
uint8_t | rx_deferred_start |
uint16_t | rx_nseg |
uint16_t | share_group |
uint16_t | share_qid |
uint64_t | offloads |
union rte_eth_rxseg * | rx_seg |
uint64_t | reserved_64s [2] |
void * | reserved_ptrs [2] |
A structure used to configure an Rx ring of an Ethernet port.
Definition at line 1207 of file rte_ethdev.h.
struct rte_eth_thresh rx_thresh |
Rx ring threshold registers.
Definition at line 1208 of file rte_ethdev.h.
uint16_t rx_free_thresh |
Drives the freeing of Rx descriptors.
Definition at line 1209 of file rte_ethdev.h.
uint8_t rx_drop_en |
Drop packets if no descriptors are available.
Definition at line 1210 of file rte_ethdev.h.
uint8_t rx_deferred_start |
Do not start queue with rte_eth_dev_start().
Definition at line 1211 of file rte_ethdev.h.
uint16_t rx_nseg |
Number of descriptions in rx_seg array.
Definition at line 1212 of file rte_ethdev.h.
uint16_t share_group |
Share group index in Rx domain and switch domain. Non-zero value to enable Rx queue share, zero value disable share. PMD is responsible for Rx queue consistency checks to avoid member port's configuration contradict to each other.
Definition at line 1219 of file rte_ethdev.h.
uint16_t share_qid |
Shared Rx queue ID in group
Definition at line 1220 of file rte_ethdev.h.
uint64_t offloads |
Per-queue Rx offloads to be set using RTE_ETH_RX_OFFLOAD_* flags. Only offloads set on rx_queue_offload_capa or rx_offload_capa fields on rte_eth_dev_info structure are allowed to be set.
Definition at line 1226 of file rte_ethdev.h.
union rte_eth_rxseg* rx_seg |
Points to the array of segment descriptions for an entire packet. Array elements are properties for consecutive Rx segments.
The supported capabilities of receiving segmentation is reported in rte_eth_dev_info.rx_seg_capa field.
Definition at line 1234 of file rte_ethdev.h.
uint64_t reserved_64s[2] |
Reserved for future fields
Definition at line 1236 of file rte_ethdev.h.
void* reserved_ptrs[2] |
Reserved for future fields
Definition at line 1237 of file rte_ethdev.h.