Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 21:42:58 +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: r257765 - head/share/man/man4
Message-ID:  <201311062142.rA6Lgwuj057709@svn.freebsd.org>

index | next in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311062142.rA6Lgwuj057709>