summaryrefslogtreecommitdiffstats
path: root/sys/dev/netmap/netmap.c
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2012-08-08 15:27:01 +0000
committeremaste <emaste@FreeBSD.org>2012-08-08 15:27:01 +0000
commit362c57c03e75b648ec4f2e8788c222d75311e7f5 (patch)
tree3df6fba7233d82302d67fb95e2307ce462b28243 /sys/dev/netmap/netmap.c
parent0e7adfb29195537f62b3aad4f7e0134d2c2a9fc2 (diff)
downloadFreeBSD-src-362c57c03e75b648ec4f2e8788c222d75311e7f5.zip
FreeBSD-src-362c57c03e75b648ec4f2e8788c222d75311e7f5.tar.gz
Clarify comments about number of tx / rx rings
Diffstat (limited to 'sys/dev/netmap/netmap.c')
-rw-r--r--sys/dev/netmap/netmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/netmap/netmap.c b/sys/dev/netmap/netmap.c
index cbf6852..145fba1 100644
--- a/sys/dev/netmap/netmap.c
+++ b/sys/dev/netmap/netmap.c
@@ -1282,7 +1282,8 @@ netmap_lock_wrapper(struct ifnet *dev, int what, u_int queueid)
* kring N+1 is only used for the selinfo for all queues.
* Return 0 on success, ENOMEM otherwise.
*
- * na->num_tx_rings can be set for cards with different tx/rx setups
+ * By default the receive and transmit adapter ring counts are both initialized * to num_queues. na->num_tx_rings can be set for cards with different tx/rx
+ * setups.
*/
int
netmap_attach(struct netmap_adapter *na, int num_queues)
OpenPOWER on IntegriCloud