linux-hardened/drivers/net/ethernet/mellanox
Martin KaFai Lau ea3349a035 mlx4: xdp: Reserve headroom for receiving packet when XDP prog is active
Reserve XDP_PACKET_HEADROOM for packet and enable bpf_xdp_adjust_head()
support.  This patch only affects the code path when XDP is active.

After testing, the tx_dropped counter is incremented if the xdp_prog sends
more than wire MTU.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-08 14:25:13 -05:00
..
mlx4 mlx4: xdp: Reserve headroom for receiving packet when XDP prog is active 2016-12-08 14:25:13 -05:00
mlx5/core bpf: xdp: Allow head adjustment in XDP prog 2016-12-08 14:25:13 -05:00
mlxsw ipv4: fib: Replay events when registering FIB notifier 2016-12-03 19:29:35 -05:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00