[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c4504c95-7b18-1574-1a16-b26bbcd924b7@gmail.com>
Date: Wed, 13 Oct 2021 08:10:02 -0600
From: David Ahern <dsahern@...il.com>
To: Daniel Borkmann <daniel@...earbox.net>,
Ido Schimmel <idosch@...sch.org>
Cc: davem@...emloft.net, kuba@...nel.org, roopa@...dia.com,
dsahern@...nel.org, m@...bda.lt, john.fastabend@...il.com,
netdev@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH net-next 4/4] net, neigh: Add NTF_MANAGED flag for managed
neighbor entries
On 10/13/21 3:26 AM, Daniel Borkmann wrote:
>>> a control plane inserts the L3 (without L2) entries manually into the
>>> neighbor table and lets the kernel do the neighbor resolution either
>>> on the gateway or on the backend directly in case the latter resides
>>> in the same L2. This avoids to deal with L2 in the control plane and
>>> to rebuild what the kernel already does best anyway.
>>
>> Are you using 'fib_multipath_use_neigh' sysctl to avoid going through
>> failed nexthops? Looking at how the bpf_fib_lookup() helper is
>> implemented, seems that you can benefit from it in XDP
>
> Thanks for the pointer, we don't use it yet, but that's a great idea!
you should not have to do anything (beyond setting it if you have
control over that level).
Powered by blists - more mailing lists