net/af_xdp: correct XDP frame size
authorXiaolong Ye <xiaolong.ye@intel.com>
Sun, 7 Jul 2019 15:57:05 +0000 (23:57 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 8 Jul 2019 19:26:52 +0000 (21:26 +0200)
commit3e912e39d1b2d12e350e82b7fef07d8ba484a0eb
tree617ea35dacf33d50e6489ae58e13a006491a7ad9
parentc6ef1454aee172382f3bc98666ed91985ac3ffc5
net/af_xdp: correct XDP frame size

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 <xiaolong.ye@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/af_xdp/rte_eth_af_xdp.c