On 6/6/2023 9:34 AM, Konstantin Ananyev wrote:
>
>
>>
>> [...]
Probably I am missing something, but why it is not possible to do something
>>> like that:
rte_eth_recycle_mbufs(rx_port_id=X, rx_queue_id=Y, tx_port_id=N,
tx_queue_id=M, ...);
rte_eth_recycle_mbufs(rx_po
>
> [...]
> > > Probably I am missing something, but why it is not possible to do
> > > something
> > like that:
> > >
> > > rte_eth_recycle_mbufs(rx_port_id=X, rx_queue_id=Y, tx_port_id=N,
> > > tx_queue_id=M, ...);
> > > rte_eth_recycle_mbufs(rx_port_id=X, rx_queue_id=Y, tx_port_id=N,
>
[...]
> > Probably I am missing something, but why it is not possible to do something
> like that:
> >
> > rte_eth_recycle_mbufs(rx_port_id=X, rx_queue_id=Y, tx_port_id=N,
> > tx_queue_id=M, ...);
> > rte_eth_recycle_mbufs(rx_port_id=X, rx_queue_id=Y, tx_port_id=N,
> > tx_queue_id=K, ...);
> >
h.yi...@amd.com>;
> Andrew Rybchenko <mailto:andrew.rybche...@oktetlabs.ru>
> Cc: mailto:dev@dpdk.org; nd <mailto:n...@arm.com>; Honnappa Nagarahalli
> <mailto:honnappa.nagaraha...@arm.com>; Ruifeng Wang
> <mailto:ruifeng.w...@arm.com>
> Subject: Re: [PATCH v6 1/4] ethdev: ad
Thanks for the comments.
From: Константин Ананьев
Sent: Monday, June 5, 2023 8:54 PM
To: Feifei Wang ; tho...@monjalon.net; Ferruh Yigit
; Andrew Rybchenko
Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
; Ruifeng Wang
Subject: Re: [PATCH v6 1/4] ethdev: add API for mbufs recycle mode
Hi
Hi Feifei, few more comments from me, see below.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 Ethernetdevice. This can bypass mempool 'put/ge
> -Original Message-
> From: Morten Brørup
> Sent: Thursday, May 25, 2023 11:09 PM
> To: Feifei Wang ; tho...@monjalon.net; Ferruh
> Yigit ; Andrew Rybchenko
>
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
>
> Subject: RE: [PATCH v6
> From: Feifei Wang [mailto:feifei.wa...@arm.com]
> Sent: Thursday, 25 May 2023 11.46
>
> 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
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
9 matches
Mail list logo