]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netmap: add a tunable for the maximum number of VALE switches
authorVincenzo Maffione <vmaffione@FreeBSD.org>
Sun, 6 Mar 2022 17:28:44 +0000 (17:28 +0000)
committerVincenzo Maffione <vmaffione@FreeBSD.org>
Sun, 20 Mar 2022 09:00:50 +0000 (09:00 +0000)
commitddb842e2ad6355f29c04387cb0f144344c859f98
treec660b60b6404394f3ccda3fd8388df2fa9fa12eb
parentf6138d93b5115ff560b24200d1ea002cdc46bb64
netmap: add a tunable for the maximum number of VALE switches

The new dev.netmap.max_bridges sysctl tunable can be set in
loader.conf(5) to change the default maximum number of VALE
switches that can be created. Current defaults is 8.

MFC after: 2 weeks

(cherry picked from commit dd6ab49a9aebb5fbb85973d9a859d24daa5e2165)
share/man/man4/netmap.4
share/man/man4/vale.4
sys/dev/netmap/netmap_bdg.c
sys/dev/netmap/netmap_kern.h
sys/dev/netmap/netmap_vale.c