linux/drivers/net/netdevsim
Jakub Kicinski dd27c2e3d0 bpf: offload: add priv field for drivers
Currently bpf_offload_dev does not have any priv pointer, forcing
the drivers to work backwards from the netdev in program metadata.
This is not great given programs are conceptually associated with
the offload device, and it means one or two unnecessary deferences.
Add a priv pointer to bpf_offload_dev.

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>
2019-02-12 17:07:09 +01:00
..
bpf.c bpf: offload: add priv field for drivers 2019-02-12 17:07:09 +01:00
devlink.c netdevsim: don't leak devlink resources 2018-07-25 22:33:39 -07:00
fib.c netdevsim: Add extack error message for devlink reload 2018-06-05 12:32:37 -04:00
ipsec.c drivers: net: netdevsim: use skb_sec_path helper 2018-12-19 11:21:37 -08:00
Makefile netdevsim: add ipsec offload testing 2018-06-28 16:10:08 +09:00
netdev.c netdevsim: Implement ndo_get_port_parent_id() 2019-02-06 14:17:03 -08:00
netdevsim.h netdevsim: make debug dirs' dentries static 2018-07-26 21:28:54 -07:00