[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081229.230703.265458431.davem@davemloft.net>
Date: Mon, 29 Dec 2008 23:07:03 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: netdev@...r.kernel.org
Subject: Re: [UNTESTED] gro: Add page frag support
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Mon, 29 Dec 2008 23:24:46 +1100
> On Sat, Dec 27, 2008 at 09:51:57AM +1100, Herbert Xu wrote:
> >
> > This patch is totally untested so please don't apply it. I need
> > to hack the e1000e driver to not make skbs before I can test it.
>
> OK I've tested it with a hacked e1000e driver, which indeed revealed
> a gaping hole in my design :) The pages interface needs to have some
> extra fields for the checksum information.
>
> Here's a patch that actually works.
>
> gro: Use gso_size to store MSS
>
> In order to allow GRO packets without frag_list at all, we need to
> store the MSS in the packet itself. The obvious place is gso_size.
> The only thing to watch out for is if the packet ends up not being
> GRO then we need to clear gso_size before pushing the packet into
> the stack.
...
> And the real thing.
This work looks great to me Herbert.
When you want me to apply this stuff, send them as two
seperate changes with updated commit messages.
Thanks a lot!
--
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