From owner-freebsd-current@FreeBSD.ORG Thu Oct 30 06:09: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 215661065687 for ; Thu, 30 Oct 2008 06:09:11 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id DD3B68FC22 for ; Thu, 30 Oct 2008 06:09:10 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so389538rvf.43 for ; Wed, 29 Oct 2008 23:09:10 -0700 (PDT) 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:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=oA+Dq640ma23exWsyB6k6eDlL3S2gDi8fTZeDGINOGc=; b=MuiKOHXeLd0gfcute3GkeAHQluu1wXPLpBHE82QfDIyXQX0qC8J90S8GAIe40YShZ0 6Hsd8rLS/hrngNHDiV2gA/nyOK9tjoOeKVDsXSLJ+tbkqUUjsanXh1xaeOalFzup1AFA WqUOenBws+WRcQwWXKyW6nLBz7guQ3AD9741k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=HucYjJcv3mi69c/23Z/5GM32a9J2QIcbBqpw7mrW6gAaTdV5kJix5IoI1jWBA35JoL weL/bAyGMY7Ix8lk/vaNx+n3KzgjhLHBqn5ECGtDbRh5VlPbmxf8aWcDo2/Pa32rf+MZ wzbR5fs4kPdsCNDvuaAqtzmhhkvGYpvCfmaPo= Received: by 10.141.43.5 with SMTP id v5mr5412080rvj.216.1225346950394; Wed, 29 Oct 2008 23:09:10 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id f21sm2476800rvb.5.2008.10.29.23.09.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 29 Oct 2008 23:09:09 -0700 (PDT) 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 m9U678jT079855 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 30 Oct 2008 15:07:08 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m9U678ax079854; Thu, 30 Oct 2008 15:07:08 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 30 Oct 2008 15:07:08 +0900 From: Pyun YongHyeon To: Christian Brueffer Message-ID: <20081030060708.GC78796@cdnetworks.co.kr> References: <20081030040637.GA78796@cdnetworks.co.kr> <20081030055821.GA1228@haakonia.hitnet.RWTH-Aachen.DE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081030055821.GA1228@haakonia.hitnet.RWTH-Aachen.DE> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@FreeBSD.org Subject: Re: Call for testers: Atheros AR8121(L1E)/AR8113/AR8114(L2E) ethernet 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: Thu, 30 Oct 2008 06:09:11 -0000 On Thu, Oct 30, 2008 at 06:58:21AM +0100, Christian Brueffer wrote: > On Thu, Oct 30, 2008 at 01:06:37PM +0900, Pyun YongHyeon wrote: > > > > Hi, > > > > I had been working on writing a driver for Atheros AR8121(L1E), > > AR8113/AR8114(L2E) ethernet controllers since Jeremy Chadwick sent > > the hardware to me. I think it's feature complete state and time > > for more testing for stability or some edge cases. I guess AR81xx > > is commonly found on newer Asus EeePC or P5Q series of Asus > > motherboard. If you have AR81xx controller would you give it spin > > and let me know how it goes? You can get the latest driver at the > > following URL. > > http://people.freebsd.org/~yongari/ate/if_ate.c > > http://people.freebsd.org/~yongari/ate/if_atereg.h > > http://people.freebsd.org/~yongari/ate/if_atevar.h > > http://people.freebsd.org/~yongari/ate/Makefile > > or > > http://people.freebsd.org/~yongari/ate/ate.20081030.tar.gz > > The driver should build without problems on CURRENT, stable/7. > > > > ATM the driver supports the following hardware features. > > - TSO > > - Rx TCP/UDP/IP checksum offload > > - VLAN tag insertion/stripping > > - Jumbo frame > > - WOL > > It seems that hardware supports Tx checksum offload but I couldn't > > make it work for TCP segments. Only short TCP segments seem to work > > so I disabled Tx checksum offload. > > Note, the hardware does not support descriptor based DMA on Rx side > > so driver have to copy recevied frames to pass them to upper stack > > so it will consume a lot of CPU cycles if you push the hardware to > > the limit. > > > > Great work! The driver could use a different name though, there's > already an ate(4) for arm, see src/sys/arm/at91/if_ate.c. > Ah... You're right. It's getting harder to name a driver these days. Thanks for pointing out! -- Regards, Pyun YongHyeon