linux/drivers/net/ethernet/cavium
Jakub Kicinski 6b86758973 xdp: don't make drivers report attachment mode
prog_attached of struct netdev_bpf should have been superseded
by simply setting prog_id long time ago, but we kept it around
to allow offloading drivers to communicate attachment mode (drv
vs hw).  Subsequently drivers were also allowed to report back
attachment flags (prog_flags), and since nowadays only programs
attached will XDP_FLAGS_HW_MODE can get offloaded, we can tell
the attachment mode from the flags driver reports.  Remove
prog_attached member.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-07-13 20:26:35 +02:00
..
common net: cavium: use module_pci_driver to simplify the code 2018-03-29 14:36:33 -04:00
liquidio net: drivers/net: Convert random_ether_addr to eth_random_addr 2018-06-23 10:49:14 +09:00
octeon ethernet: cavium: octeon: Switch to using netdev_info(). 2017-10-26 10:03:35 +09:00
thunder xdp: don't make drivers report attachment mode 2018-07-13 20:26:35 +02:00
Kconfig net: thunderx: add timestamping support 2018-01-16 14:31:14 -05:00
Makefile net: add support for Cavium PTP coprocessor 2018-01-16 14:31:14 -05:00