diff options
| author | Tao Chen <chen.dylane@linux.dev> | 2025-07-10 11:20:35 +0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2025-07-11 11:00:57 -0700 |
| commit | 6e816e1c052b453a93aeb8b57ede9acde58c458d (patch) | |
| tree | 461dff8fc1e09c5db05bb8751fa698fa3623e60b /include/net | |
| parent | 33f69f736570d9ca4d54e241a42da26ea1b3d13a (diff) | |
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
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/tcx.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/tcx.h b/include/net/tcx.h index 5ce0ce9e0c02..23a61af13547 100644 --- a/include/net/tcx.h +++ b/include/net/tcx.h @@ -20,7 +20,6 @@ struct tcx_entry { struct tcx_link { struct bpf_link link; struct net_device *dev; - u32 location; }; static inline void tcx_set_ingress(struct sk_buff *skb, bool ingress) |
