linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlx4
Jesper Dangaard Brouer d201ea9ebc mlx4: Add XDP frame size and adjust max XDP MTU
The mlx4 drivers size of memory backing the RX packet is stored in
frag_stride. For XDP mode this will be PAGE_SIZE (normally 4096).
For normal mode frag_stride is 2048.

Also adjust MLX4_EN_MAX_XDP_MTU to take tailroom into account.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Cc: Saeed Mahameed <saeedm@mellanox.com>
Link: https://lore.kernel.org/bpf/158945341893.97035.2688142527052329942.stgit@firesoul
2020-05-14 21:21:55 -07:00
..
alloc.c mellanox: Switch to bitmap_zalloc() 2019-03-04 10:19:33 -08:00
catas.c mlx4: Split restart_one into two functions 2019-09-13 22:11:14 +02:00
cmd.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
cq.c
crdump.c net/mlx4_core: Add missing iounmap() in error path 2020-04-25 20:43:56 -07:00
en_clock.c
en_cq.c
en_dcb_nl.c
en_ethtool.c net: mlx4: remove unneeded variable "err" in mlx4_en_ethtool_add_mac_rule() 2020-05-07 13:04:21 -07:00
en_main.c
en_netdev.c mlx4: Add XDP frame size and adjust max XDP MTU 2020-05-14 21:21:55 -07:00
en_port.c
en_port.h
en_resources.c
en_rx.c mlx4: Add XDP frame size and adjust max XDP MTU 2020-05-14 21:21:55 -07:00
en_selftest.c
en_tx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-04-25 20:18:53 -07:00
eq.c ethernet: remove redundant memset 2019-07-15 11:06:27 -07:00
fw_qos.c
fw_qos.h
fw.c
fw.h
icm.c
icm.h
intf.c
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
main.c net/mlx4_core: Fix use of ENOSPC around mlx4_counter_alloc() 2020-05-04 10:42:06 -07:00
Makefile
mcg.c net: mlx4: Use scnprintf() for avoiding potential buffer overflow 2020-03-15 17:06:22 -07:00
mlx4_en.h net/mlx4_en: use napi_complete_done() in TX completion 2020-04-23 12:43:20 -07:00
mlx4_stats.h
mlx4.h mlx4: Split restart_one into two functions 2019-09-13 22:11:14 +02:00
mr.c
pd.c
port.c net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query 2019-05-20 11:33:57 -07:00
profile.c
qp.c
reset.c
resource_tracker.c net/mlx4_core: Dynamically set guaranteed amount of counters per VF 2019-10-29 16:29:43 -07:00
sense.c
srq.c