Date: Sun, 19 Jul 2015 17:54:43 +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: r285695 - head/sys/dev/netmap Message-ID: <201507191754.t6JHsh48090650@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: luigi Date: Sun Jul 19 17:54:42 2015 New Revision: 285695 URL: https://svnweb.freebsd.org/changeset/base/285695 Log: small documentation update Modified: head/sys/dev/netmap/netmap_kern.h Modified: head/sys/dev/netmap/netmap_kern.h ============================================================================== --- head/sys/dev/netmap/netmap_kern.h Sun Jul 19 16:55:47 2015 (r285694) +++ head/sys/dev/netmap/netmap_kern.h Sun Jul 19 17:54:42 2015 (r285695) @@ -503,8 +503,9 @@ struct netmap_adapter { * that cannot be changed */ #define NAF_NATIVE 16 /* the adapter is native. - * Virtual ports (vale, pipe, monitor...) - * should never use this flag. + * Virtual ports (non persistent vale ports, + * pipes, monitors...) should never use + * this flag. */ #define NAF_NETMAP_ON 32 /* netmap is active (either native or * emulated). Where possible (e.g. FreeBSD) @@ -1483,7 +1484,7 @@ PNMB(struct netmap_adapter *na, struct n * * np_refs counts the number of references to the structure: one for the fd, * plus (on FreeBSD) one for each active mmap which we track ourselves - * (they are not unmapped on close(), unlike linux). + * (linux automatically tracks them, but FreeBSD does not). * np_refs is protected by NMG_LOCK. * * Read access to the structure is lock free, because ni_nifp once set
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507191754.t6JHsh48090650>