DPDK
24.11.0-rc3
|
#include <rte_ethdev.h>
Data Fields | |
struct rte_mbuf ** | mbuf_ring |
struct rte_mempool * | mp |
uint16_t * | refill_head |
uint16_t * | receive_tail |
uint16_t | mbuf_ring_size |
uint16_t | refill_requirement |
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.
struct rte_mbuf** mbuf_ring |
mbuf ring of Rx queue.
Definition at line 1896 of file rte_ethdev.h.
struct rte_mempool* mp |
mempool of Rx queue.
Definition at line 1897 of file rte_ethdev.h.
uint16_t* refill_head |
head of Rx queue refilling mbufs.
Definition at line 1898 of file rte_ethdev.h.
uint16_t* receive_tail |
tail of Rx queue receiving pkts.
Definition at line 1899 of file rte_ethdev.h.
uint16_t mbuf_ring_size |
configured number of mbuf ring size.
Definition at line 1900 of file rte_ethdev.h.
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.