netmap support in default kernel

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Feb 21 08:02:11 UTC 2012


On 20/02/2012 23:00, Tim Stewart wrote:
> I just heard about netmap
> <http://queue.acm.org/detail.cfm?id=2103536>today and it seems like
> it's not baked into the default FreeBSD kernel at
> the moment.
> 
> Are there plans to integrate netmap into the default FreeBSD kernel?
> 
> If so, what is an estimated time line for its inclusion in the default
> kernel?

Given the performance figures quoted in that article, I certainly hope
so.  Actually, looking at the system sources:

worm:/usr/src:% find . -iname '*netmap*'
./sys/net/netmap_user.h
./sys/net/netmap.h
./sys/dev/netmap
./sys/dev/netmap/ixgbe_netmap.h
./sys/dev/netmap/if_em_netmap.h
./sys/dev/netmap/netmap.c
./sys/dev/netmap/if_igb_netmap.h
./sys/dev/netmap/netmap_kern.h
./sys/dev/netmap/if_lem_netmap.h
./sys/dev/netmap/if_re_netmap.h
./tools/tools/netmap
./share/man/man4/netmap.4

Looks like it's already available in stable/9, but not in versions
earlier than 9.x.  Closer inspection shows that would have to be
compiled into a custom kernel in order to be used.

Note that each different network adaptor needs special coding in order
to support netmap, so judging by the above, you'ld need any of ixgbe(4),
em(4), igb(4) or re(4).  Or whatever lem is -- doesn't have a man page,
but it seems to be some sort of variant on em(4).

On your specific question of when it might become part of a default
kernel, I can't say.  However, you might get a more knowledgeable answer
if you ask on freebsd-hackers at ... or freebsd-net at ...

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120221/a64be287/signature.pgp


More information about the freebsd-questions mailing list