numam-dpdk/drivers/net/af_xdp
Ciara Loftus 1668e87d4d net/af_xdp: fix maximum MTU
The maximum MTU for af_xdp zero copy is equal to the page size less the
frame overhead introduced by AF_XDP (XDP HR = 256) and DPDK (frame
headroom = 320). The patch updates this value to reflect this.

This change also makes it possible to remove unneeded constants for both
zero-copy and copy mode.

Fixes: d8a210774e ("net/af_xdp: support unaligned umem chunks")
Cc: stable@dpdk.org

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
2020-02-14 12:42:12 +01:00
..
af_xdp_deps.h net/af_xdp: introduce AF_XDP PMD 2019-04-05 17:45:22 +02:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build build: remove redundant libs from pkgconfig 2019-09-12 18:32:40 +02:00
rte_eth_af_xdp.c net/af_xdp: fix maximum MTU 2020-02-14 12:42:12 +01:00
rte_pmd_af_xdp_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00