DPDK  24.07.0
Data Fields
rte_eth_rxq_info Struct Reference

#include <rte_ethdev.h>

Data Fields

struct rte_mempoolmp
 
struct rte_eth_rxconf conf
 
uint8_t scattered_rx
 
uint8_t queue_state
 
uint16_t nb_desc
 
uint16_t rx_buf_size
 
uint8_t avail_thresh
 

Detailed Description

Ethernet device Rx queue information structure. Used to retrieve information about configured queue.

Examples:
examples/ethtool/lib/rte_ethtool.c.

Definition at line 1844 of file rte_ethdev.h.

Field Documentation

◆ mp

struct rte_mempool* mp

mempool used by that queue.

Examples:
examples/ethtool/lib/rte_ethtool.c.

Definition at line 1845 of file rte_ethdev.h.

◆ conf

struct rte_eth_rxconf conf

queue config parameters.

Definition at line 1846 of file rte_ethdev.h.

◆ scattered_rx

uint8_t scattered_rx

scattered packets Rx supported.

Definition at line 1847 of file rte_ethdev.h.

◆ queue_state

uint8_t queue_state

one of RTE_ETH_QUEUE_STATE_*.

Definition at line 1848 of file rte_ethdev.h.

◆ nb_desc

uint16_t nb_desc

configured number of RXDs.

Examples:
examples/ethtool/lib/rte_ethtool.c.

Definition at line 1849 of file rte_ethdev.h.

◆ rx_buf_size

uint16_t rx_buf_size

hardware receive buffer size.

Definition at line 1850 of file rte_ethdev.h.

◆ avail_thresh

uint8_t avail_thresh

Available Rx descriptors threshold defined as percentage of Rx queue size. If number of available descriptors is lower, the event RTE_ETH_EVENT_RX_AVAIL_THESH is generated. Value 0 means that the threshold monitoring is disabled.

Definition at line 1857 of file rte_ethdev.h.


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