From owner-freebsd-current@FreeBSD.ORG Wed Jan 2 03:42:11 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DA5B16A420 for ; Wed, 2 Jan 2008 03:42:11 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 3865113C459 for ; Wed, 2 Jan 2008 03:42:11 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so9195429waf.3 for ; Tue, 01 Jan 2008 19:42:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:subject:message-id:reply-to:mime-version:content-type:content-disposition:user-agent; bh=oiBk4uAURGwIn5pzTVM/l13aWtClpgm/0AGDhi4mApM=; b=cRtn9gouW7p2TB8ko/ozQoCj2PcRJc80142kZFWwWdGeM7mOoamFX1B8CRDiaDrfxn9DPTqC8Lgn//fFnepRVMKW4naFHBRSdn7LOl0KQQTcLj9dUj7LkTD2aw9lzTiAx/Rkmt2bZ9Z3fPMg4ipnuhsReY+2T49DhHyBdmmEK/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:reply-to:mime-version:content-type:content-disposition:user-agent; b=oJU30GUk9bjetMxnYvTglIR6tcN+SjDBWo4j+w3Y9dTPOXRavr4gjXCRW5bfqRldeSw0WkXfZNcAmMHTxbl4AxLWEXrr6rB8r2oMYruX7PYsrRdkH3fUJSkYw/NgpeExNqNEH1lHK5ZeOdjrnabvZrPL2dZdnQDOxxLsxMxPxXc= Received: by 10.114.156.1 with SMTP id d1mr5885647wae.120.1199245330929; Tue, 01 Jan 2008 19:42:10 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id j21sm5753122wah.8.2008.01.01.19.42.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Jan 2008 19:42:09 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m023ddDP028339 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Jan 2008 12:39:39 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m023ddb1028338 for freebsd-current@freebsd.org; Wed, 2 Jan 2008 12:39:39 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 2 Jan 2008 12:39:39 +0900 From: Pyun YongHyeon To: freebsd-current@freebsd.org Message-ID: <20080102033939.GB27551@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: CFT: sf(4) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2008 03:42:11 -0000 Hi, I had been using the following overhauled sf(4) for serveral months without issues. It would be really great sf(4) users can test the driver and report back how it works on his/her box. Basically the driver does the following thing. - bus_dma(9) conversion and endianness support : Now sf(4) should work on all architectures that FreeBSD runs. - Performance optimization : switch to type 2 Tx descriptor and removed lots of PCI register access. Rx alignment fixup is only called on strict-alignment architectures so i386/amd64 would get instant Rx performance boost. - AIC-6915 supports Rx/Tx checksum offload as well as hardware VLAN tag insertion/stripping if firmware is loaded into frame processor. Unfortunately the firmware is not available under BSD license so these additional hardware accelerations are not available yet on FreeBSD. :-( - Code cleanup & misc bug fixes. You can find the latest sf(4) code at the following URL. http://people.freebsd.org/~yongari/sf/if_sf.c http://people.freebsd.org/~yongari/sf/if_sfreg.h Thanks. -- Regards, Pyun YongHyeon