DPDK 22.11.7
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 1795 of file rte_ethdev.h.

Field Documentation

◆ mp

struct rte_mempool* mp

mempool used by that queue.

Definition at line 1796 of file rte_ethdev.h.

◆ conf

struct rte_eth_rxconf conf

queue config parameters.

Definition at line 1797 of file rte_ethdev.h.

◆ scattered_rx

uint8_t scattered_rx

scattered packets Rx supported.

Definition at line 1798 of file rte_ethdev.h.

◆ queue_state

uint8_t queue_state

one of RTE_ETH_QUEUE_STATE_*.

Definition at line 1799 of file rte_ethdev.h.

◆ nb_desc

uint16_t nb_desc

configured number of RXDs.

Definition at line 1800 of file rte_ethdev.h.

◆ rx_buf_size

uint16_t rx_buf_size

hardware receive buffer size.

Definition at line 1801 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 1808 of file rte_ethdev.h.


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