]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fb1804e684e9bdc14bd2c8f3c49864627faad41
tree756ccc0946ea3286cd4649937ec912fd20642434
parent025dad543f9b89141b0f75bc303ba8ce6a4e4c87
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