mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
dd27c2e3d0
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> |
||
---|---|---|
.. | ||
bpf.c | ||
devlink.c | ||
fib.c | ||
ipsec.c | ||
Makefile | ||
netdev.c | ||
netdevsim.h |