[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080812005033.GA18547@gondor.apana.org.au>
Date: Tue, 12 Aug 2008 08:50:33 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Andrew Gallatin <gallatin@...i.com>
Cc: netdev <netdev@...r.kernel.org>, Brice Goglin <brice@...i.com>
Subject: Re: LRO restructuring?
On Mon, Aug 11, 2008 at 09:30:33AM -0400, Andrew Gallatin wrote:
>
> For lro_receive_frags() based LRO, it would be ideal to locate the
> header in place in the frag via the mac_hdr argument to the
> get_frag_header() callback. Eg, I'm hoping that neither the driver
> nor the LRO module will need to allocate extra memory per frame and
> copy the headers to it in the common case when forwarding is
> not enabled. That would add quite a bit of overhead.
You don't have to save the whole thing, just save enough so we
can easily/exactly reconstruct it on output, i.e., save the lengths.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists