diff options
author | Luigi Rizzo <luigi@FreeBSD.org> | 2013-05-30 13:41:19 +0000 |
---|---|---|
committer | Luigi Rizzo <luigi@FreeBSD.org> | 2013-05-30 13:41:19 +0000 |
commit | 27892e02fb2b7cf237c01cf6b654223a436fde63 (patch) | |
tree | 9771755edaf1e6cf332fe1921e99a09c591852ec | |
parent | 2dc26832f742a325674e8285fad2decc587856fb (diff) | |
download | src-test2-27892e02fb2b7cf237c01cf6b654223a436fde63.tar.gz src-test2-27892e02fb2b7cf237c01cf6b654223a436fde63.zip |
Notes
-rw-r--r-- | sys/net/netmap_user.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/netmap_user.h b/sys/net/netmap_user.h index 75f211e333d1..fcb5cb3ea1c1 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); |