diff options
| author | Andrii Nakryiko <[email protected]> | 2020-07-21 23:45:56 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-07-25 20:37:02 -0700 |
| commit | d4baa9368a5e4d694e787e0442ddd6ab95d6fd96 (patch) | |
| tree | 1bb6e81dd5b28c224b1f28ee9817f0779971f3a1 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 7f0a838254bdd9114b978ef2541a6ce330307e9e (diff) | |
bpf, xdp: Extract common XDP program attachment logic
Further refactor XDP attachment code. dev_change_xdp_fd() is split into two
parts: getting bpf_progs from FDs and attachment logic, working with
bpf_progs. This makes attachment logic a bit more straightforward and
prepares code for bpf_xdp_link inclusion, which will share the common logic.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions