From: Herbert Xu Subject: Re: [0/5] [NET]: Add TSO support Date: Thu, 29 Jun 2006 23:26:09 +1000 Message-ID: <20060629132608.GA22343@gondor.apana.org.au> References: <20060627120240.GA748@gondor.apana.org.au> <4ce42ba97df34accef8d150fbbe251f4@cl.cam.ac.uk> <20060628140239.GA9248@gondor.apana.org.au> <20060629002020.GA16348@gondor.apana.org.au> <390960d535dacfea77754357cf9cc55e@cl.cam.ac.uk> <20060629094045.GA20816@gondor.apana.org.au> <20060629124614.GA21911@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org On Thu, Jun 29, 2006 at 02:20:21PM +0100, Keir Fraser wrote: > > If you can recalculate it, why is the field required at all (both in > the skbuff and in the netif_tx_extra)? You previously said it was > needed because it can't be recalculated (until you get to the > segmentation code, which may be very late in packet processing). It can't be recalculated in general (i.e., in netback). However, within each protocol module it can be recalculated. > We could calculate gso_segs for TCPv4 in netback, which is all we care > about right now. I'd rather not add protocol-specific knowledge to netback. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt