summaryrefslogtreecommitdiffstats
path: root/sys/net/netmap_user.h
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2013-05-30 13:41:19 +0000
committerluigi <luigi@FreeBSD.org>2013-05-30 13:41:19 +0000
commit93cb261dd8dc721ae8ea515803443a2a18122021 (patch)
tree9771755edaf1e6cf332fe1921e99a09c591852ec /sys/net/netmap_user.h
parent82476a4f6ba0d931ce49e344c8113472b91925b3 (diff)
downloadFreeBSD-src-93cb261dd8dc721ae8ea515803443a2a18122021.zip
FreeBSD-src-93cb261dd8dc721ae8ea515803443a2a18122021.tar.gz
clarify usage of NETMAP_BUF
Diffstat (limited to 'sys/net/netmap_user.h')
-rw-r--r--sys/net/netmap_user.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/netmap_user.h b/sys/net/netmap_user.h
index 75f211e..fcb5cb3 100644
--- a/sys/net/netmap_user.h
+++ b/sys/net/netmap_user.h
@@ -51,8 +51,8 @@
* ring->slot[i] gives us the i-th slot (we can access
* directly plen, flags, bufindex)
*
- * char *buf = NETMAP_BUF(ring, index) returns a pointer to
- * the i-th buffer
+ * char *buf = NETMAP_BUF(ring, x) returns a pointer to
+ * the buffer numbered x
*
* Since rings are circular, we have macros to compute the next index
* i = NETMAP_RING_NEXT(ring, i);
OpenPOWER on IntegriCloud