diff options
| author | Jakub Kicinski <[email protected]> | 2019-02-12 00:20:39 -0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-02-12 17:07:09 +0100 |
| commit | dd27c2e3d0a05c01ff14bb672d1a3f0fdd8f98fc (patch) | |
| tree | 42041b30b1d27545ac6fde1849cf0044194f1e2a /tools/perf/scripts/python | |
| parent | ebbed0f46ed9d3ae23291d67cd52d18abb8501bc (diff) | |
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 <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions