diff options
author | luigi <luigi@FreeBSD.org> | 2012-04-13 16:03:07 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2012-04-13 16:03:07 +0000 |
commit | 39cda1ca4325c5b7ed65df26537fc6176664b0e7 (patch) | |
tree | 6df9197348ba0a60d72f07d20731dcaf1dbfbb31 /sys/net/netmap_user.h | |
parent | 9780a82bfd79651ab52a185ece1816f12c7acacb (diff) | |
download | FreeBSD-src-39cda1ca4325c5b7ed65df26537fc6176664b0e7.zip FreeBSD-src-39cda1ca4325c5b7ed65df26537fc6176664b0e7.tar.gz |
A bit of cleanup in the names of fields of netmap-related structures.
Use the name 'ring' instead of 'queue' in all fields.
Bump NETMAP_API.
Diffstat (limited to 'sys/net/netmap_user.h')
-rw-r--r-- | sys/net/netmap_user.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/netmap_user.h b/sys/net/netmap_user.h index 4efdec3..743ec32 100644 --- a/sys/net/netmap_user.h +++ b/sys/net/netmap_user.h @@ -70,7 +70,7 @@ #define NETMAP_RXRING(nifp, index) \ ((struct netmap_ring *)((char *)(nifp) + \ - (nifp)->ring_ofs[index + (nifp)->ni_tx_queues+1] ) ) + (nifp)->ring_ofs[index + (nifp)->ni_tx_rings + 1] ) ) #define NETMAP_BUF(ring, index) \ ((char *)(ring) + (ring)->buf_ofs + ((index)*(ring)->nr_buf_size)) |