Re: [PATCH net-next 4/4] net, neigh: Add NTF_MANAGED flag for managed neighbor entries
From: David Ahern <hidden>
Date: 2021-10-13 14:10:08
Also in:
netdev
From: David Ahern <hidden>
Date: 2021-10-13 14:10:08
Also in:
netdev
On 10/13/21 3:26 AM, Daniel Borkmann wrote:
quoted
quoted
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 XDPThanks 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).