bpf: Implement BPF XDP link-specific introspection APIs
authorAndrii Nakryiko <andriin@fb.com>
Wed, 22 Jul 2020 06:45:59 +0000 (23:45 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 26 Jul 2020 03:37:02 +0000 (20:37 -0700)
commitc1931c9784ebb5787c0784c112fb8baa5e8455b3
tree756ccc0946ea3286cd4649937ec912fd20642434
parent026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74
bpf: Implement BPF XDP link-specific introspection APIs

Implement XDP link-specific show_fdinfo and link_info to emit ifindex.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200722064603.3350758-7-andriin@fb.com
include/uapi/linux/bpf.h
net/core/dev.c