svn commit: r251138 - head/sys/net

Luigi Rizzo luigi at FreeBSD.org
Thu May 30 13:41:20 UTC 2013


Author: luigi
Date: Thu May 30 13:41:19 2013
New Revision: 251138
URL: http://svnweb.freebsd.org/changeset/base/251138

Log:
  clarify usage of NETMAP_BUF

Modified:
  head/sys/net/netmap_user.h

Modified: head/sys/net/netmap_user.h
==============================================================================
--- head/sys/net/netmap_user.h	Thu May 30 13:11:56 2013	(r251137)
+++ head/sys/net/netmap_user.h	Thu May 30 13:41:19 2013	(r251138)
@@ -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);


More information about the svn-src-all mailing list