From owner-svn-src-all@FreeBSD.ORG Tue May 18 17:14:25 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8E7A106564A; Tue, 18 May 2010 17:14:25 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 63F208FC1C; Tue, 18 May 2010 17:14:25 +0000 (UTC) Received: by pvg4 with SMTP id 4so6272pvg.13 for ; Tue, 18 May 2010 10:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=3Bzl2nxt3xX5+p3fd1qRfoXsoHq3yyxPE3gduKi69fo=; b=EIDhs14WxT/ogBBJBKLfDzvFs3GFWksdPwfODtg4UrCtm47Oqz3E4+7Dsgt2Ketc9X cMpcra1dlx1Rc9AIfSC4CS24frirpi/P3UWjCopw+ptcf05T3fVEhJjBZM8zBT9OtsJH OXCsDdKY05iecTenQQ09e7omCbtKyM/KyJ0As= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Tiq9ls/COe6irq2h4+oSKZtyUebJfhgZJyLpgyxiAnbQurbZV3SeEYXI/2ZvFTEmBV xDHtye5PemE8GsjyXeCNt35DC6NyhHmj1+sbxmMDTUoTMdHQRFDDmkbnk3oewdFdo4fM OUtoDHWta2FYM35+n9c5sdMnGGTh76wR8q5wI= Received: by 10.141.187.15 with SMTP id o15mr5243722rvp.174.1274202864550; Tue, 18 May 2010 10:14:24 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id b12sm5325824rvn.22.2010.05.18.10.14.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 May 2010 10:14:22 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 18 May 2010 10:13:15 -0700 From: Pyun YongHyeon Date: Tue, 18 May 2010 10:13:15 -0700 To: "Bjoern A. Zeeb" Message-ID: <20100518171315.GA5968@michelle.cdnetworks.com> References: <201005101714.o4AHEFuu015079@svn.freebsd.org> <20100518032628.S23815@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100518032628.S23815@maildrop.int.zabbadoz.net> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Pyun YongHyeon Subject: Re: svn commit: r207851 - head/sys/dev/sge X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 17:14:25 -0000 On Tue, May 18, 2010 at 03:27:33AM +0000, Bjoern A. Zeeb wrote: > On Mon, 10 May 2010, Pyun YongHyeon wrote: > > >Author: yongari > >Date: Mon May 10 17:14:14 2010 > >New Revision: 207851 > >URL: http://svn.freebsd.org/changeset/base/207851 > > > >Log: > > Implement TSO and TSO over VLAN. Increase number of allowed > > fragmentation of mbuf chain to 32 from 16 because TSO can send 64KB > > sized packet which in turn requires long list of mbuf chain. Due to > > lack of documentation, I'm not sure whether driver have to pull up > > ethernet/IP/TCP header with options to make controller work but > > driver have to parse TCP header to update pseudo TCP checksum > > anyway. The controller expects pseudo TCP checksum computed by > > upper stack and the checksum should follow the MS NDIS > > specification to make TSO work. > > > > Tested by: xclin cs dot nctu dot edu dot tw > > > This brings in INET as a dependency for the driver and fails on my > nooptions INET > nooptions INET6 > kernels (in_pseudo()). > AFAIK sge(4) is not the only driver that has INET dependency. I think we need IPv6 offloading framework(checksum offloading, TSO4 and TSO6) before removing INET dependency in various drivers. Most recent ethernet controllers support IPv6 offloading and FreeBSD still lacks these nice features. > /bz > > -- > Bjoern A. Zeeb (from 21) Micky Rosa: > But as we've all said, this game is about the past and the future, > and tonight we forget about the past. We just focus on the future.