summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-08-18 11:00:48 +0000
committermav <mav@FreeBSD.org>2016-08-18 11:00:48 +0000
commit34021ec4cfdc1efab0b6d2172e4a675968811223 (patch)
tree7c266d8510e91a36f2aebf3b3699e1ca49679ebe /share
parentff85ec9e3290e5987486a2088a2dcbcd4d6024b5 (diff)
downloadFreeBSD-src-34021ec4cfdc1efab0b6d2172e4a675968811223.zip
FreeBSD-src-34021ec4cfdc1efab0b6d2172e4a675968811223.tar.gz
MFC r303494: Once more refactor KPI between ntb_transport(4) and if_ntb(4).
New design allows to attach multiple consumers to ntb_transport(4) instance. Previous design obtained from Linux theoretically allowed that, but was not practically usable (Linux also has only one consumer driver now).
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/if_ntb.47
-rw-r--r--share/man/man4/ntb_transport.415
2 files changed, 15 insertions, 7 deletions
diff --git a/share/man/man4/if_ntb.4 b/share/man/man4/if_ntb.4
index 2f363dc..6f52d77 100644
--- a/share/man/man4/if_ntb.4
+++ b/share/man/man4/if_ntb.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 10, 2016
+.Dd July 29, 2016
.Dt IF_NTB 4
.Os
.Sh NAME
@@ -49,7 +49,7 @@ The following tunables are settable from the
.Bl -ohang
.It Va hw.if_ntb.num_queues
Number of transport queues to use per interface.
-Default is 1.
+Default is unlimited.
.El
.Sh DESCRIPTION
The
@@ -84,3 +84,6 @@ Later improvements were done by
.An Conrad E. Meyer Aq Mt cem@FreeBSD.org
and
.An Alexander Motin Aq Mt mav@FreeBSD.org .
+.Sh BUGS
+Linux supports only one queue per interface, so manual configuration
+may be required for compatibility.
diff --git a/share/man/man4/ntb_transport.4 b/share/man/man4/ntb_transport.4
index 33800c4..43b412c 100644
--- a/share/man/man4/ntb_transport.4
+++ b/share/man/man4/ntb_transport.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 10, 2016
+.Dd July 29, 2016
.Dt NTB_TRANSPORT 4
.Os
.Sh NAME
@@ -44,10 +44,15 @@ The following tunables are settable from the
.It Va hw.ntb_transport.debug_level
Driver debug level.
The default value is 0, higher means more verbose.
-.It Va hw.ntb_transport.max_num_clients
-Number of bidirectional queues to setup.
-The default value is 0, that means one queue per available memory window.
-Maximal number is limited by number of doorbells.
+.It Va hint.ntb_transport. Ns Ar X Ns Va .config
+Configures queues allocation for consumer devices, separated by commas.
+Each device can be configured as: "<name>[:<queues>]", where:
+.Va name
+is a name of the driver which should attach the device (empty means any),
+.Va queues
+is a number of queues to allocate (empty means automatic),
+The default configuration is empty string, which means single device
+with one queue per memory window allowing any driver attachment.
.El
.Sh DESCRIPTION
The
OpenPOWER on IntegriCloud