linux_dsm_epyc7002/drivers/net/ethernet/qlogic
Martin KaFai Lau 17bedab272 bpf: xdp: Allow head adjustment in XDP prog
This patch allows XDP prog to extend/remove the packet
data at the head (like adding or removing header).  It is
done by adding a new XDP helper bpf_xdp_adjust_head().

It also renames bpf_helper_changes_skb_data() to
bpf_helper_changes_pkt_data() to better reflect
that XDP prog does not work on skb.

This patch adds one "xdp_adjust_head" bit to bpf_prog for the
XDP-capable driver to check if the XDP prog requires
bpf_xdp_adjust_head() support.  The driver can then decide
to error out during XDP_SETUP_PROG.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-08 14:25:13 -05:00
..
netxen ethernet: use net core MTU range checking in more drivers 2016-10-20 14:51:08 -04:00
qed Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-12-06 21:33:19 -05:00
qede bpf: xdp: Allow head adjustment in XDP prog 2016-12-08 14:25:13 -05:00
qlcnic ethernet/qlogic: use core min/max MTU checking 2016-10-18 11:34:19 -04:00
qlge ethernet: use net core MTU range checking in more drivers 2016-10-20 14:51:08 -04:00
Kconfig qed: Add support for hardware offloaded iSCSI. 2016-12-02 12:44:37 -05:00
Makefile qede: Add basic Network driver 2015-10-27 19:34:47 -07:00
qla3xxx.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
qla3xxx.h