xdp: add flags argument to ndo_xdp_xmit API
authorJesper Dangaard Brouer <brouer@redhat.com>
Thu, 31 May 2018 08:59:47 +0000 (10:59 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 3 Jun 2018 15:11:34 +0000 (08:11 -0700)
commit42b33468987bac0dd95c30f14820c7abac04a153
treee15d264d864bf9da0b438a0c6db4b2181eab3c4b
parent69b450789136f70005f8d36315d875158ea430cf
xdp: add flags argument to ndo_xdp_xmit API

This patch only change the API and reject any use of flags. This is an
intermediate step that allows us to implement the flush flag operation
later, for each individual driver in a separate patch.

The plan is to implement flush operation via XDP_XMIT_FLUSH flag
and then remove XDP_XMIT_FLAGS_NONE when done.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40e/i40e_txrx.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/tun.c
drivers/net/virtio_net.c
include/linux/netdevice.h
include/net/xdp.h
kernel/bpf/devmap.c
net/core/filter.c