Re: [dpdk-dev] [PATCH v3 1/4] mempool: add event callbacks

2021-10-12 Thread Andrew Rybchenko
On 10/12/21 12:37 PM, Dmitry Kozlyuk wrote: >> On 10/12/21 3:04 AM, Dmitry Kozlyuk wrote: >>> Data path performance can benefit if the PMD knows which memory it >>> will need to handle in advance, before the first mbuf is sent to the PMD. >> [...] >> >> I'd like to understand why the API is interna

Re: [dpdk-dev] [PATCH v3 1/4] mempool: add event callbacks

2021-10-12 Thread Dmitry Kozlyuk
> On 10/12/21 3:04 AM, Dmitry Kozlyuk wrote: > > Data path performance can benefit if the PMD knows which memory it > > will need to handle in advance, before the first mbuf is sent to the PMD. > [...] > > I'd like to understand why the API is internal (not experimental). I think > reasons > shou

Re: [dpdk-dev] [PATCH v3 1/4] mempool: add event callbacks

2021-10-11 Thread Andrew Rybchenko
On 10/12/21 3:04 AM, Dmitry Kozlyuk wrote: > Data path performance can benefit if the PMD knows which memory it will > need to handle in advance, before the first mbuf is sent to the PMD. > It is impractical, however, to consider all allocated memory for this > purpose. Most often mbuf memory comes

[dpdk-dev] [PATCH v3 1/4] mempool: add event callbacks

2021-10-11 Thread Dmitry Kozlyuk
Data path performance can benefit if the PMD knows which memory it will need to handle in advance, before the first mbuf is sent to the PMD. It is impractical, however, to consider all allocated memory for this purpose. Most often mbuf memory comes from mempools that can come and go. PMD can enumer