option FIB_ALGO and dpdk_lpm4
Olivier Cochard-Labbé
olivier at freebsd.org
Wed Feb 24 10:50:36 UTC 2021
On Wed, Feb 24, 2021 at 1:22 AM Marek Zarychta <
zarychtam at plan-b.pwste.edu.pl> wrote:
>
> >
>
> Please let me ask only one final question. Does adding:
>
> net.route.algo.inet.algo=dpdk_lpm4
> net.route.algo.inet6.algo=dpdk_lpm6
>
> to /etc/sysctl.conf make any sense? I see that right FIB_ALGO is
> automatically picked up when the module is available.
>
>
>
My understanding is the network stack will switch to the optimum algorithm
regarding the number of routes installed.
cf "Automatic algorithm selection" chapter here:
https://reviews.freebsd.org/D27401
So you don't need to set this sysctl.
Regards,
Olivier
More information about the freebsd-net
mailing list