Re: [PATCH v13 1/4] ethdev: add API for mbufs recycle mode

2023-09-24 Thread Ajit Khaparde
On Sun, Sep 24, 2023 at 8:19 PM Feifei Wang wrote: > > Add 'rte_eth_recycle_rx_queue_info_get' and 'rte_eth_recycle_mbufs' > APIs to recycle used mbufs from a transmit queue of an Ethernet device, > and move these mbufs into a mbuf ring for a receive queue of an Ethernet > device. This can bypass

[PATCH v13 1/4] ethdev: add API for mbufs recycle mode

2023-09-24 Thread Feifei Wang
Add 'rte_eth_recycle_rx_queue_info_get' and 'rte_eth_recycle_mbufs' APIs to recycle used mbufs from a transmit queue of an Ethernet device, and move these mbufs into a mbuf ring for a receive queue of an Ethernet device. This can bypass mempool 'put/get' operations hence saving CPU cycles. For eac