DPDK 25.03.0-rc0
Data Fields
rte_eth_recycle_rxq_info Struct Reference

#include <rte_ethdev.h>

Data Fields

struct rte_mbuf ** mbuf_ring
 
struct rte_mempoolmp
 
uint16_t * refill_head
 
uint16_t * receive_tail
 
uint16_t mbuf_ring_size
 
uint16_t refill_requirement
 

Detailed Description

Warning
EXPERIMENTAL: this structure may change without prior notice.

Ethernet device Rx queue information structure for recycling mbufs. Used to retrieve Rx queue information when Tx queue reusing mbufs and moving them into Rx mbuf ring.

Definition at line 1895 of file rte_ethdev.h.

Field Documentation

◆ mbuf_ring

struct rte_mbuf** mbuf_ring

mbuf ring of Rx queue.

Definition at line 1896 of file rte_ethdev.h.

◆ mp

struct rte_mempool* mp

mempool of Rx queue.

Definition at line 1897 of file rte_ethdev.h.

◆ refill_head

uint16_t* refill_head

head of Rx queue refilling mbufs.

Definition at line 1898 of file rte_ethdev.h.

◆ receive_tail

uint16_t* receive_tail

tail of Rx queue receiving pkts.

Definition at line 1899 of file rte_ethdev.h.

◆ mbuf_ring_size

uint16_t mbuf_ring_size

configured number of mbuf ring size.

Definition at line 1900 of file rte_ethdev.h.

◆ refill_requirement

uint16_t refill_requirement

Requirement on mbuf refilling batch size of Rx mbuf ring. For some PMD drivers, the number of Rx mbuf ring refilling mbufs should be aligned with mbuf ring size, in order to simplify ring wrapping around. Value 0 means that PMD drivers have no requirement for this.

Definition at line 1908 of file rte_ethdev.h.


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