2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-14 08:34:02 +08:00
linux-next/drivers/net/netdevsim
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
..
bpf.c xdp: don't make drivers report attachment mode 2018-07-13 20:26:35 +02:00
devlink.c netdevsim: Add extack error message for devlink reload 2018-06-05 12:32:37 -04:00
fib.c netdevsim: Add extack error message for devlink reload 2018-06-05 12:32:37 -04:00
ipsec.c netdevsim: fix sa_idx out of bounds check 2018-07-02 20:35:33 +09:00
Makefile netdevsim: add ipsec offload testing 2018-06-28 16:10:08 +09:00
netdev.c netdevsim: add ipsec offload testing 2018-06-28 16:10:08 +09:00
netdevsim.h netdevsim: add ipsec offload testing 2018-06-28 16:10:08 +09:00