[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080803.012319.78025424.davem@davemloft.net>
Date: Sun, 03 Aug 2008 01:23:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: buytenh@...tstofly.org, netdev@...r.kernel.org,
akarkare@...vell.com, nico@....org
Subject: Re: using software TSO on non-TSO capable netdevices
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 31 Jul 2008 20:59:03 +0800
> On Thu, Jul 31, 2008 at 02:37:31PM +0200, Lennert Buytenhek wrote:
> >
> > Like this?
>
> Yes that ought to do the trick.
>
> > From: Lennert Buytenhek <buytenh@...tstofly.org>
> > Subject: [NET] use software GSO for SG+CSUM capable netdevices
> >
> > If a netdevice does not support hardware GSO, allowing the stack to
> > use GSO anyway and then splitting the GSO skb into MSS-sized pieces
> > as it is handed to the netdevice for transmitting is likely still
> > a win as far as throughput and/or CPU usage are concerned, since it
> > reduces the number of trips through the output path.
> >
> > This patch enables the use of GSO on any netdevice that supports SG.
> > If a GSO skb is then sent to a netdevice that supports SG but does not
> > support hardware GSO, net/core/dev.c:dev_hard_start_xmit() will take
> > care of doing the necessary GSO segmentation in software.
> >
> > Signed-off-by: Lennert Buytenhek <buytenh@...vell.com>
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, thanks everyone!
--
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