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: d8a210774e1d ("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
..
2019-11-20 23:05:39 +01:00
2020-02-14 12:42:12 +01:00
2020-01-20 21:17:35 +01:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2020-01-20 18:02:17 +01:00
2020-02-05 09:51:20 +01:00
2020-02-14 12:42:12 +01:00
2019-11-20 23:05:39 +01:00
2020-01-17 19:46:26 +01:00
2020-01-17 19:59:19 +01:00
2019-11-28 16:03:54 +01:00
2020-02-05 09:51:21 +01:00
2020-01-17 19:46:01 +01:00
2019-11-20 23:05:39 +01:00
2020-02-05 09:51:19 +01:00
2020-02-11 16:50:59 +01:00
2020-02-06 09:09:37 +01:00
2020-02-11 16:50:59 +01:00
2020-01-17 19:59:19 +01:00
2020-02-14 12:42:12 +01:00
2020-01-17 19:59:18 +01:00
2020-02-14 12:42:12 +01:00
2020-02-06 09:09:37 +01:00
2020-01-17 19:46:01 +01:00
2020-02-14 12:42:12 +01:00
2019-11-26 18:22:27 +01:00
2019-11-20 23:05:39 +01:00
2020-02-05 09:51:21 +01:00
2020-02-14 12:42:12 +01:00
2020-02-14 12:42:12 +01:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2020-02-14 12:42:12 +01:00
2019-11-20 23:05:39 +01:00
2020-01-17 19:59:19 +01:00
2019-11-20 23:05:39 +01:00
2020-02-05 09:51:21 +01:00
2020-02-06 09:10:00 +01:00
2020-01-17 19:45:23 +01:00
2019-11-28 16:03:54 +01:00
2020-01-17 19:46:26 +01:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2019-11-20 23:05:39 +01:00
2020-02-05 09:51:19 +01:00
2020-01-20 21:17:35 +01:00
2020-02-11 16:50:59 +01:00
2020-01-17 19:46:02 +01:00
2020-02-05 11:47:18 +01:00
2020-01-17 19:46:02 +01:00
2020-01-20 18:02:17 +01:00
2020-01-14 00:09:33 +01:00