summaryrefslogtreecommitdiffstats
path: root/sys/dev/netmap/netmap_kern.h
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_kern.h
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_kern.h')
-rw-r--r--sys/dev/netmap/netmap_kern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/netmap/netmap_kern.h b/sys/dev/netmap/netmap_kern.h
index ebd4f71..ec87b1c 100644
--- a/sys/dev/netmap/netmap_kern.h
+++ b/sys/dev/netmap/netmap_kern.h
@@ -144,8 +144,8 @@ struct netmap_adapter {
int separate_locks; /* set if the interface suports different
locks for rx, tx and core. */
- u_int num_rx_rings; /* number of tx/rx ring pairs */
- u_int num_tx_rings; // if nonzero, overrides num_rx_rings
+ u_int num_rx_rings; /* number of adapter receive rings */
+ u_int num_tx_rings; /* number of adapter transmit rings */
u_int num_tx_desc; /* number of descriptor in each queue */
u_int num_rx_desc;
OpenPOWER on IntegriCloud