Re: netmap support in default kernel

2012-02-21 Thread Matthew Seaman
On 20/02/2012 23:00, Tim Stewart wrote:
 I just heard about netmap
 http://queue.acm.org/detail.cfm?id=2103536today 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@... or freebsd-net@...

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


netmap support in default kernel

2012-02-20 Thread Tim Stewart
Hi,

I just heard about netmap
http://queue.acm.org/detail.cfm?id=2103536today 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?

Thanks.

Tim Stewart
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org