diff options
| author | Jakub Kicinski <[email protected]> | 2018-07-17 10:53:25 -0700 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-07-18 15:10:34 +0200 |
| commit | 602144c224604f1cbff02ee2d1cf46825269ecbd (patch) | |
| tree | 8de28d85871da8fd3d49865568fccfca8ab2cbd0 /tools/perf/scripts/python | |
| parent | 9fd7c5559165f4c679b40c5e6ad442955832dfad (diff) | |
bpf: offload: keep the offload state per-ASIC
Create a higher-level entity to represent a device/ASIC to allow
programs and maps to be shared between device ports. The extra
work is required to make sure we don't destroy BPF objects as
soon as the netdev for which they were loaded gets destroyed,
as other ports may still be using them. When netdev goes away
all of its BPF objects will be moved to other netdevs of the
device, and only destroyed when last netdev is unregistered.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions