Re: [PATCH v5] net/af_xdp: parse umem map info from mempool range api

2024-07-05 Thread Ferruh Yigit
On 6/20/2024 8:10 AM, Morten Brørup wrote: >> From: Frank Du [mailto:frank...@intel.com] >> >> The current calculation assumes that the mbufs are contiguous. However, >> this assumption is incorrect when the mbuf memory spans across huge page. >> >> Correct to directly read with mempool get range A

RE: [PATCH v5] net/af_xdp: parse umem map info from mempool range api

2024-06-20 Thread Morten Brørup
> From: Frank Du [mailto:frank...@intel.com] > > The current calculation assumes that the mbufs are contiguous. However, > this assumption is incorrect when the mbuf memory spans across huge page. > > Correct to directly read with mempool get range API. > > Fixes: d8a210774e1d ("net/af_xdp: supp

[PATCH v5] net/af_xdp: parse umem map info from mempool range api

2024-06-19 Thread Frank Du
The current calculation assumes that the mbufs are contiguous. However, this assumption is incorrect when the mbuf memory spans across huge page. Correct to directly read with mempool get range API. Fixes: d8a210774e1d ("net/af_xdp: support unaligned umem chunks") Cc: sta...@dpdk.org Signed-off-