linux_dsm_epyc7002/drivers/net/ethernet/intel/ixgbevf
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
..
defines.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ethtool.c treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
ixgbevf_main.c xdp: don't make drivers report attachment mode 2018-07-13 20:26:35 +02:00
ixgbevf.h ixgbevf: Fix coexistence of malicious driver detection with XDP 2018-06-04 10:17:55 -07:00
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
mbx.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
mbx.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
regs.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
vf.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
vf.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00