Thread (4 messages) flat view 4 messages, 2 authors, 2023-02-17

Re: [PATCH v2 bpf-next 1/2] bpf: Add BPF_FIB_LOOKUP_SKIP_NEIGH for bpf_fib_lookup

From: Martin KaFai Lau <martin.lau@linux.dev>
Date: 2023-02-17 20:35:02
Also in: bpf

On 2/17/23 12:34 PM, Daniel Borkmann wrote:
On 2/17/23 7:12 PM, Martin KaFai Lau wrote:
[...]
quoted
  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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help