svn commit: r257765 - head/share/man/man4

Luigi Rizzo luigi at FreeBSD.org
Wed Nov 6 21:42:58 UTC 2013


Author: luigi
Date: Wed Nov  6 21:42:58 2013
New Revision: 257765
URL: http://svnweb.freebsd.org/changeset/base/257765

Log:
  the number of slots used by a packet is NS_RFRAGS() not ns_cnt

Modified:
  head/share/man/man4/netmap.4

Modified: head/share/man/man4/netmap.4
==============================================================================
--- head/share/man/man4/netmap.4	Wed Nov  6 21:00:18 2013	(r257764)
+++ head/share/man/man4/netmap.4	Wed Nov  6 21:42:58 2013	(r257765)
@@ -346,13 +346,12 @@ indicates that the packet continues with
 the last buffer in a packet must have the flag clear.
 The maximum length of a chain is 64 buffers.
 .Em This is only supported on virtual ports
-.It ns_ctr
-on receive rings, contains the number of remaining buffers
+.It NS_RFRAGS(slot)
+on receive rings, returns the number of remaining buffers
 in a packet, including this one.
 Slots with a value greater than 1 also have NS_MOREFRAG set.
 The length refers to the individual buffer, there is no
-field for the total length
-XXX maybe put it in the ptr field ?
+field for the total length.
 .Pp
 On transmit rings, if NS_DST is set, it is passed to the lookup
 function, which can use it e.g. as the index of the destination


More information about the svn-src-head mailing list