Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2020 13:05:09 -0700
From:      Julian Elischer <julian@freebsd.org>
To:        "Alexander V. Chernikov" <melifaro@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r364465 - in head/sys: conf net net/route
Message-ID:  <89fc3874-eead-7756-d53e-c4dbb64adece@freebsd.org>
In-Reply-To: <51571598049078@mail.yandex.ru>
References:  <202008212134.07LLYq3K071532@repo.freebsd.org> <c319ac6e-3b5e-58a5-1b80-087defd3c4e3@elischer.org> <51571598049078@mail.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/21/20 3:32 PM, Alexander V. Chernikov wrote:
> 21.08.2020, 23:21, "Julian Elischer" <julian@elischer.org>:
>> On 8/21/20 2:34 PM, Alexander V. Chernikov wrote:
>>>   Author: melifaro
>>>   Date: Fri Aug 21 21:34:52 2020
>>>   New Revision: 364465
>>>   URL: https://svnweb.freebsd.org/changeset/base/364465
>>>
>>>   Log:
>>>      Make net.fibs growable.
>>>
>>>      Allow to dynamically grow the amount of fibs in each vnet.
>>>
>>>      This change alters current behavior. Currently, if one defines
>>>       ROUTETABLES > 1 in the kernel config, each vnet will be created
>>>       with the number of fibs defined in the kernel config.
>>>       After this commit vnets will be created with fibs=1.
>>>
>>>      Dynamic net.fibs is not compatible with net.add_addr_allfibs.
>>>       The plan is to deprecate the latter and make
>>>       net.add_addr_allfibs=0 default behaviour.
>> For a while, setting it to 1 should be very noisy.
> You mean that kernel should print warning when creating VNET && original net.fibs value is > 1 ?
doing what you will soon be unable to do should warn you that
you need to get ready to change your software to do it another way.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89fc3874-eead-7756-d53e-c4dbb64adece>