diff options
author | 2017-12-27 18:39:04 -0800 | |
---|---|---|
committer | 2017-12-31 16:12:22 +0100 | |
commit | 9a18eedb145d080d542766af1d7513ebfccd1604 (patch) | |
tree | 088372c4392d04fc95231543f338c8a1cc73cb9b /tools/perf/scripts/python/check-perf-trace.py | |
parent | bpf: offload: don't require rtnl for dev list manipulation (diff) | |
download | linux-dev-9a18eedb145d080d542766af1d7513ebfccd1604.tar.xz linux-dev-9a18eedb145d080d542766af1d7513ebfccd1604.zip |
bpf: offload: don't use prog->aux->offload as boolean
We currently use aux->offload to indicate that program is bound
to a specific device. This forces us to keep the offload structure
around even after the device is gone. Add a bool member to
struct bpf_prog_aux to indicate if offload was requested.
Suggested-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions