diff options
author | Martin KaFai Lau <martin.lau@kernel.org> | 2022-11-28 23:08:55 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-11-30 22:47:42 +0100 |
commit | 57d0863f1d2812da543ef49172f60d6aa14bedcf (patch) | |
tree | b3a83ac25ddf49cf5cc4a38e8c6293e10be661ab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 052c82dcdcbb6eb89d0967c309c010cd293076d0 (diff) |
selftests/bpf: Avoid pinning bpf prog in the tc_redirect_dtime test
This patch removes the need to pin prog in the tc_redirect_dtime
test by directly using the bpf_tc_hook_create() and bpf_tc_attach().
The clsact qdisc will go away together with the test netns, so
no need to do bpf_tc_hook_destroy().
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20221129070900.3142427-3-martin.lau@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions