[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d32b1c26-c401-1d07-bd8c-b71989b81ba6@linux.dev>
Date: Fri, 17 Feb 2023 12:34:56 -0800
From: Martin KaFai Lau <martin.lau@...ux.dev>
To: Daniel Borkmann <daniel@...earbox.net>, bpf@...r.kernel.org
Cc: 'Alexei Starovoitov ' <ast@...nel.org>,
'Andrii Nakryiko ' <andrii@...nel.org>,
netdev@...r.kernel.org, kernel-team@...a.com
Subject: Re: [PATCH v2 bpf-next 1/2] bpf: Add BPF_FIB_LOOKUP_SKIP_NEIGH for
bpf_fib_lookup
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.
Powered by blists - more mailing lists