From owner-freebsd-net@FreeBSD.ORG Wed Jan 25 08:03:57 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43E2016A41F for ; Wed, 25 Jan 2006 08:03:57 +0000 (GMT) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9097743D53 for ; Wed, 25 Jan 2006 08:03:55 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 99740 invoked from network); 25 Jan 2006 08:04:04 -0000 Received: from dotat.atdotat.at (HELO [62.48.0.47]) ([62.48.0.47]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 25 Jan 2006 08:04:04 -0000 Message-ID: <43D730EA.6070105@freebsd.org> Date: Wed, 25 Jan 2006 09:03:54 +0100 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: pyunyh@gmail.com References: <43D5FF19.7090903@freebsd.org> <20060125015511.GA11296@rndsoft.co.kr> In-Reply-To: <20060125015511.GA11296@rndsoft.co.kr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, net@freebsd.org Subject: Re: Marvell/SysKonnect YukonII source code available X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 08:03:57 -0000 Pyun YongHyeon wrote: > On Tue, Jan 24, 2006 at 11:19:05AM +0100, Andre Oppermann wrote: > > Marvell/SysKonnect made the source code to the YukonII chips available > > today under a BSD license: > > > > http://people.freebsd.org/~andre/mykbsd60x86-8.12.1.3-src.tgz > > > > I haven't tested the driver yet and I don't know if it available directly > > from the their website already. > > > > Many thanks to Gerald and Frank at SysKonnect for working with us and > > making this possible! > > > Yes, that's great news. > > Is there any chance to get a copy of data sheet for Yukon chips? If you are willing and able to sign a NDA for the 'physical' docs I think so. Using the obtained knowledge in a driver is not longer a problem as pretty much all of the information is available in the BSD licensed OSS driver too. It's just a bit harder to digest w/o the documentation. Ie. now that the driver is OSS there are no more trade secrets in the chip. > I've tried hard to make Rx TCP/UDP checksum offload work but > failed. ATM both Linux and OpenBSD use Rx IP checksum offload only > but this driver enabled Rx checksum offload for TCP/UDP. So I guess > there is somthing not listed in SK-NET Genesis data sheet. :-( Likely. > Quick reading the source shows that this driver has the following > issues. > 1. Incomplete bus_dma(9) support. The driver uses BUS_SPACE_MAXADDR > when it creates DMA tags which means its DMA supports any address > without limitations. However, I'm sure Rx/Tx descriptors should > reside in < 4GB. So the driver wouldn't work on systems with > 4GB > memory. > 2. Since the driver makes use of mbpool(9) it wouldn't work when > bounce buffers are involved. In fact, I think the use of mbpool(9) > is really bad as it lacks bus_dmamap_sync(9) operation. > 3. Lack of ALTQ support. > 4. The driver may not work on big-endian architectures. > 5. The driver may not work on architectures with strict-alignment. Yes, they haven't spent all the time to get up-to-date with FreeBSD. It seems most of their time is spent on OSX and Solaris drivers for new wired and wireless chips. > Btw, new sk(4) is availabe at the following URL. Due to lack of > documentation it doesn't support YukonII yet. > http://people.freebsd.org/~yongari/sk/if_sk.c > http://people.freebsd.org/~yongari/sk/if_skreg.h What's the differences to our current sk(4)? -- Andre