]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: offload: rename the ifindex field
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 20 Nov 2017 23:21:53 +0000 (15:21 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 20 Nov 2017 23:37:35 +0000 (00:37 +0100)
commit74bf29cd5fb971e17212a8e8f3441f1ede7c8036
tree72cb4ecf1587efe24184c61c215e1ad4fd86adb6
parente5e8c21a71ffacaf7b3aa1cb8e779d595a8c7128
bpf: offload: rename the ifindex field

bpf_target_prog seems long and clunky, rename it to prog_ifindex.
We don't want to call this field just ifindex, because maps
may need a similar field in the future and bpf_attr members for
programs and maps are unnamed.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/uapi/linux/bpf.h
kernel/bpf/offload.c
kernel/bpf/syscall.c
tools/include/uapi/linux/bpf.h