selftests/bpf: Bring test_offload.py back to life
authorStanislav Fomichev <sdf@google.com>
Tue, 6 Dec 2022 23:27:39 +0000 (15:27 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 8 Dec 2022 23:25:59 +0000 (15:25 -0800)
commite60db051a4a70bff151eb59774c64af3a0266794
treea8e685b86d92a31c7ce178c3fc087c97fadab839
parentc2cc0ce72a5ed3e01705e14221d97e96ed7a37b8
selftests/bpf: Bring test_offload.py back to life

Bpftool has new extra libbpf_det_bind probing map we need to exclude.
Also skip trying to load netdevsim modules if it's already loaded (builtin).

v2:
- drop iproute2->bpftool changes (Toke)

Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20221206232739.2504890-1-sdf@google.com
tools/testing/selftests/bpf/test_offload.py