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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux