diff options
| author | Jakub Kicinski <[email protected]> | 2017-11-03 13:56:20 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-05 22:26:19 +0900 |
| commit | 248f346ffe9508dee0039db4ac839cb31ba3bdec (patch) | |
| tree | a7fb34eb8268d73edcbcb257c679f8e98afec568 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 928631e05495fa1f0e9775f555b94dbcbb4e2fb5 (diff) | |
xdp: allow attaching programs loaded for specific device
Pass the netdev pointer to bpf_prog_get_type(). This way
BPF code can decide whether the device matches what the
code was loaded/translated for.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions