bpf: Remove location field in tcx_link
authorTao Chen <chen.dylane@linux.dev>
Thu, 10 Jul 2025 03:20:35 +0000 (11:20 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 11 Jul 2025 18:00:57 +0000 (11:00 -0700)
commit6e816e1c052b453a93aeb8b57ede9acde58c458d
tree461dff8fc1e09c5db05bb8751fa698fa3623e60b
parent33f69f736570d9ca4d54e241a42da26ea1b3d13a
bpf: Remove location field in tcx_link

Use attach_type in bpf_link to replace the location filed, and
remove location field in tcx_link.

Signed-off-by: Tao Chen <chen.dylane@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20250710032038.888700-5-chen.dylane@linux.dev
include/net/tcx.h
kernel/bpf/tcx.c