[dpdk-dev] [PATCH] net/af_xdp: correct xdp frame size
David Marchand
david.marchand at redhat.com
Mon Jul 8 10:26:18 CEST 2019
On Mon, Jul 8, 2019 at 10:03 AM Xiaolong Ye <xiaolong.ye at intel.com> wrote:
> XSK_UMEM__DEFAULT_FRAME_SIZE has been changed to 4096 in kernel commit
> 123e8da1d330 (xsk: Change the default frame size to 4096 and allow
> controlling it), but we still need to keep ETH_AF_XDP_FRAME_SIZE as 2048 to
> fit most dpdk apps.
>
I might have missed something, but can't you use the mbuf size from the
packet mempool passed at rx_queue_setup?
--
David Marchand
More information about the dev
mailing list