bpftool: Stop supporting BPF offload-enabled feature probing
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 2 Feb 2022 22:59:12 +0000 (14:59 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 3 Feb 2022 15:32:25 +0000 (16:32 +0100)
commit1a56c18e6c2e4e7482ac9e1a4ffe1770841dd6bd
tree9f31e84bf1de7a35de72aead07776d6950cee38d
parenta5dd9589f0ababa9ca645d96cfaa8161d45dcb74
bpftool: Stop supporting BPF offload-enabled feature probing

libbpf 1.0 is not going to support passing ifindex to BPF
prog/map/helper feature probing APIs. Remove the support for BPF offload
feature probing.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20220202225916.3313522-3-andrii@kernel.org
tools/bpf/bpftool/feature.c