On 2/17/23 12:34 PM, Daniel Borkmann wrote:
On 2/17/23 7:12 PM, Martin KaFai Lau wrote:
[...]
include/uapi/linux/bpf.h | 1 +
net/core/filter.c | 39 ++++++++++++++++++++++------------
tools/include/uapi/linux/bpf.h | 1 +
3 files changed, 28 insertions(+), 13 deletions(-)
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
index 1503f61336b6..6c1956e36c97 100644
--- a/include/uapi/linux/bpf.h
+++ b/include/uapi/linux/bpf.h
@@ -6750,6 +6750,7 @@ struct bpf_raw_tracepoint_args {
enum {
BPF_FIB_LOOKUP_DIRECT = (1U << 0),
BPF_FIB_LOOKUP_OUTPUT = (1U << 1),
+ BPF_FIB_LOOKUP_SKIP_NEIGH = (1U << 2),
Sry, just noticed this now, but this would also need a uapi helper comment
to describe the new BPF_FIB_LOOKUP_SKIP_NEIGH flag.
ah. right. will respin shortly.