Date: Thu, 30 May 2013 13:41:19 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251138 - head/sys/net Message-ID: <201305301341.r4UDfJeC000339@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305301341.r4UDfJeC000339>