summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2025-01-21 15:39:50 +0000
committerMark Johnston <markj@FreeBSD.org>2025-02-07 14:46:53 +0000
commit028323d616496e6244934917975835f326f82b00 (patch)
tree3048d98a32be7d6b1454255bf0ae22b39e5ee232 /lib/libc
parent618afeb7f3751ffb93a3d7ebbace4ec07b3e90cb (diff)
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/setfib.213
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/libc/sys/setfib.2 b/lib/libc/sys/setfib.2
index 32e2f64910cb..57e83c0d1adb 100644
--- a/lib/libc/sys/setfib.2
+++ b/lib/libc/sys/setfib.2
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd March 19, 2012
+.Dd January 10, 2025
.Dt SETFIB 2
.Os
.Sh NAME
@@ -55,15 +55,20 @@ The system maximum is set in the kernel configuration file with
.Pp
or in
.Pa /boot/loader.conf
+or
+.Pa /etc/sysctl.conf
with
.Pp
.Dl net.fibs= Ns Qq Em N
.Pp
where
.Em N
-is an integer.
-This maximum is capped at 65536 due to the implementation storing
-the fib number in a 16-bit field in the
+is an integer smaller than 65536.
+Note that the number of FIBs may be increased after booting, but cannot be
+reduced.
+.Pp
+The maximum of 65536 is due to the implementation storing
+the FIB number in a 16-bit field in the
.Xr mbuf 9
packet header, however it is not suggested that one use such a large number
as memory is allocated for every FIB regardless of whether it is used, and