Re: [dpdk-dev] [PATCH] net/af_xdp: correct xdp frame size

2019-07-08 Thread Ferruh Yigit
On 7/7/2019 4:57 PM, Xiaolong Ye 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. > > Signed-off-b

Re: [dpdk-dev] [PATCH] net/af_xdp: correct xdp frame size

2019-07-08 Thread Bruce Richardson
On Mon, Jul 08, 2019 at 10:26:18AM +0200, David Marchand wrote: > On Mon, Jul 8, 2019 at 10:03 AM Xiaolong Ye 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 stil

Re: [dpdk-dev] [PATCH] net/af_xdp: correct xdp frame size

2019-07-08 Thread David Marchand
On Mon, Jul 8, 2019 at 10:03 AM Xiaolong Ye 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

[dpdk-dev] [PATCH] net/af_xdp: correct xdp frame size

2019-07-08 Thread Xiaolong Ye
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. Signed-off-by: Xiaolong Ye --- drivers/net/af_xdp/rte_eth_af_x