[<prev] [next>] [day] [month] [year] [list]
Message-ID: <adahcqdpz1p.fsf@cisco.com>
Date: Tue, 15 May 2007 14:17:06 -0700
From: Roland Dreier <rdreier@...co.com>
To: Shirley Ma <xma@...ibm.com>
Cc: David Miller <davem@...emloft.net>, ak@...e.de,
krkumar2@...ibm.com, netdev@...r.kernel.org,
netdev-owner@...r.kernel.org
Subject: Re: [RFC] New driver API to speed up small packets xmits
> I thought to enable GSO, device driver actually does nothing rather
> than enabling the flag. GSO moved TCP offloading to interface layer before
> device xmit. It's a different idea with multiple packets per xmit. GSO
> still queue the packet one bye one in QDISC and xmit one bye one. The
> multiple packets per xmit will xmit N packets when N packets in QDISC
> queue. Please corrent me if wrong.
Current use of GSO does segmentation just above the netdevice driver.
However there's nothing that prevents it from being used to push
segmentation into the driver -- as I described, just set NETIF_F_GSO_SOFTWARE
and do skb_gso_segment() within the driver.
As Michael Chan pointed out, tg3.c already does this to work around a
rare bug in the HW TSO implementation. For IPoIB we could do it all
the time to get multiple send work requests from one call to the xmit
method.
- R.
-
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