summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2017-05-24 20:29:20 +0000
committernp <np@FreeBSD.org>2017-05-24 20:29:20 +0000
commit84ef5bd68b51d3c8b674cb8c831bf5422f51ab99 (patch)
tree2d3f1acac091e6c953e47a871f460a794fd21a94 /share
parent8d078584f5b85fa2fa0849949551f80c5c8ce216 (diff)
downloadFreeBSD-src-84ef5bd68b51d3c8b674cb8c831bf5422f51ab99.zip
FreeBSD-src-84ef5bd68b51d3c8b674cb8c831bf5422f51ab99.tar.gz
MFC r313318:
cxgbe(4): Allow tunables that control the number of queues to be set to '-n' to tell the driver to create _up to_ 'n' queues if enough cores are available. For example, setting hw.cxgbe.nrxq10g="-32" will result in 16 queues if the system has 16 cores, 32 if it has 32. There is no change in the default number of queues of any type. Sponsored by: Chelsio Communications
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/cxgbe.44
1 files changed, 4 insertions, 0 deletions
diff --git a/share/man/man4/cxgbe.4 b/share/man/man4/cxgbe.4
index a4800e1..403127e 100644
--- a/share/man/man4/cxgbe.4
+++ b/share/man/man4/cxgbe.4
@@ -168,6 +168,10 @@ Tunables can be set at the
.Xr loader 8
prompt before booting the kernel or stored in
.Xr loader.conf 5 .
+There are multiple tunables that control the number of queues of various
+types.
+A negative value for such a tunable instructs the driver to create
+up to that many queues if there are enough CPU cores available.
.Bl -tag -width indent
.It Va hw.cxgbe.ntxq10g
Number of tx queues used for a 10Gb or higher-speed port.
OpenPOWER on IntegriCloud