diff options
| author | Jakub Kicinski <[email protected]> | 2018-07-11 20:36:39 -0700 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-07-13 20:26:35 +0200 |
| commit | 6b8675897338f874c41612655a85d8e10cdb23d8 (patch) | |
| tree | 6226692b2779d9c40bb413c7fad298956a2b778e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 4f91da26c81145f255cb153152ffed70014b1c41 (diff) | |
xdp: don't make drivers report attachment mode
prog_attached of struct netdev_bpf should have been superseded
by simply setting prog_id long time ago, but we kept it around
to allow offloading drivers to communicate attachment mode (drv
vs hw). Subsequently drivers were also allowed to report back
attachment flags (prog_flags), and since nowadays only programs
attached will XDP_FLAGS_HW_MODE can get offloaded, we can tell
the attachment mode from the flags driver reports. Remove
prog_attached member.
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions