From owner-freebsd-current@FreeBSD.ORG Tue Feb 24 06:37:10 2015 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C41575E7; Tue, 24 Feb 2015 06:37:10 +0000 (UTC) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id 889A6381; Tue, 24 Feb 2015 06:37:09 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 0C3787300A; Tue, 24 Feb 2015 07:36:00 +0100 (CET) Date: Tue, 24 Feb 2015 07:36:00 +0100 From: Luigi Rizzo To: net@freebsd.org, current@freebsd.org Subject: netmap support for the Intel 40G card in head Message-ID: <20150224063600.GA72100@onelab2.iet.unipi.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 06:37:10 -0000 Thanks to Jack Vogel who made available some hardware, I have been able to implement native netmap support for the Intel "ixl" driver, aka xl710, the 40G card. I have committed the code to 'head', and the same works in stable/10 where it will land soon. Testers welcome. I have seen 32 Mpps on tx, 24 Mpps on rx with two ports on the same card connected to each other. This is our second 40G device for which we have native netmap support, which makes FreeBSD quite unique. cheers luigi Date: Tue, 24 Feb 2015 06:20:51 +0000 (UTC) From: Luigi Rizzo Subject: svn commit: r279232 - in head/sys/dev: ixl netmap To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Author: luigi Date: Tue Feb 24 06:20:50 2015 New Revision: 279232 URL: https://svnweb.freebsd.org/changeset/base/279232 Log: Add native netmap support to ixl. Preliminary tests indicate 32 Mpps on tx, 24 Mpps on rx with source and receiver on two different ports of the same 40G card. Optimizations are likely possible. The code follows closely the one for ixgbe so i do not expect stability issues. Hardware kindly supplied by Intel. Reviewed by: Jack Vogel MFC after: 1 week Added: head/sys/dev/netmap/if_ixl_netmap.h (contents, props changed) Modified: head/sys/dev/ixl/if_ixl.c head/sys/dev/ixl/ixl_txrx.c