Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2014 12:53:42 +0100
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Mark Delany <c2h@romeo.emu.st>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: Minor nits with netmap(4) manpage
Message-ID:  <CA%2BhQ2%2Bhm269dvD=byvrQS7Dezb6avpNin0dnVYsBGNxN5m8pxg@mail.gmail.com>
In-Reply-To: <20140319111638.94222.qmail@f5-external.bushwire.net>
References:  <20140319111638.94222.qmail@f5-external.bushwire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
thanks for the suggestions we'll integrate them

cheers
luigi


On Wed, Mar 19, 2014 at 12:16 PM, Mark Delany <c2h@romeo.emu.st> wrote:

> (Luigi's page suggests posting here.)
>
> Very recent freebsd10 (r263256)
>
> 1) the manpage says "SEE TRANSPARENT MODE" but no such section
>    exists.
>
> 2) the manpage refers to NR_RING_NIC_SW when I think it means
>    NR_REG_NIC_SW.
>
> 3) No mention is made of access control. I think earlier documentation
>    suggested that you had to run as root, but now it appears to work
>    for any user that has rw access to /dev/netmap. Obvious I guess but
>    just mentioning that access is controlled by the file system, not
>    your uid.
>
> 4) epoll/kqueue has conflicting information. An early para says
>    "... and standard OS mechanisms such as select(2), poll(2),
>    epoll(2), kqueue(2)."
>
>    But a later para says "epoll(2) and kqueue(2) are not supported on
>    netmap file descriptors.".
>
>
> On the matter of transparent mode, it seems that all an application
> has to do to have a packet proceed up into the host stack is set
> NS_FORWARD in the ring flags. That's a super-nice feature as is netmap
> in general.
>
>
> Mark.
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



-- 
-----------------------------------------+-------------------------------
 Prof. Luigi RIZZO, rizzo@iet.unipi.it  . Dip. di Ing. dell'Informazione
 http://www.iet.unipi.it/~luigi/        . Universita` di Pisa
 TEL      +39-050-2211611               . via Diotisalvi 2
 Mobile   +39-338-6809875               . 56122 PISA (Italy)
-----------------------------------------+-------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BhQ2%2Bhm269dvD=byvrQS7Dezb6avpNin0dnVYsBGNxN5m8pxg>