logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_eth_recycle_rxq_info

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                     rte_eth_recycle_rxq_info(3)

Detailed Description

WarningEXPERIMENTAL: 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

structrte_mbuf**mbuf_ring
       mbuf ring of Rx queue.

       Definition at line 1896 of file rte_ethdev.h.

   structrte_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_tmbuf_ring_size
       configured number of mbuf ring size.

       Definition at line 1900 of file rte_ethdev.h.

   uint16_trefill_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.

Name

       rte_eth_recycle_rxq_info

Synopsis

       #include <rte_ethdev.h>

   DataFields
       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

See Also