From owner-freebsd-questions@FreeBSD.ORG Tue Feb 21 08:02:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 953F91065673 for ; Tue, 21 Feb 2012 08:02:11 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 108BA8FC0A for ; Tue, 21 Feb 2012 08:02:10 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q1L822gM035435 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 21 Feb 2012 08:02:02 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.3 smtp.infracaninophile.co.uk q1L822gM035435 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1329811322; bh=4zFp6QOJbwUWOjB9YrsHOQnt1TddWgst5mmliMypeI0=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=cHJPnHRBP9LKcw+Dv87JbN53MbXVjp1eFzHhym1Uhb7pj7nvIFUhY31XRnvwQepxK DbTFB55hR7r4RCpYBW6f0e246xy/Lfk0vetraA094lveA75c/FMpgDCTjNK/t/zIEX MoyfjmdVRi7eZ2ypK8PaZvF+lkyTGRIpy4JyOnIo= Message-ID: <4F434F71.9010004@infracaninophile.co.uk> Date: Tue, 21 Feb 2012 08:01:53 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.3.5 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig27DD0A891555D3FC6DD26C4A" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: netmap support in default kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 08:02:11 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig27DD0A891555D3FC6DD26C4A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 20/02/2012 23:00, Tim Stewart wrote: > I just heard about netmap > today and it seems like > it's not baked into the default FreeBSD kernel at > the moment. >=20 > Are there plans to integrate netmap into the default FreeBSD kernel? >=20 > 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*' =2E/sys/net/netmap_user.h =2E/sys/net/netmap.h =2E/sys/dev/netmap =2E/sys/dev/netmap/ixgbe_netmap.h =2E/sys/dev/netmap/if_em_netmap.h =2E/sys/dev/netmap/netmap.c =2E/sys/dev/netmap/if_igb_netmap.h =2E/sys/dev/netmap/netmap_kern.h =2E/sys/dev/netmap/if_lem_netmap.h =2E/sys/dev/netmap/if_re_netmap.h =2E/tools/tools/netmap =2E/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 --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig27DD0A891555D3FC6DD26C4A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9DT3kACgkQ8Mjk52CukIxvqgCdEZVXhWsu1lH3abGZf027x8Cq 0QgAn2kt1Mz1+1Apr4SlBkq+2GXMge5O =KQdC -----END PGP SIGNATURE----- --------------enig27DD0A891555D3FC6DD26C4A--