Minor nits with netmap(4) manpage

Luigi Rizzo rizzo at iet.unipi.it
Wed Mar 19 11:53:45 UTC 2014


thanks for the suggestions we'll integrate them

cheers
luigi


On Wed, Mar 19, 2014 at 12:16 PM, Mark Delany <c2h at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>



-- 
-----------------------------------------+-------------------------------
 Prof. Luigi RIZZO, rizzo at 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)
-----------------------------------------+-------------------------------


More information about the freebsd-net mailing list