[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20070522.160437.48528737.davem@davemloft.net>
Date: Tue, 22 May 2007 16:04:37 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xma@...ibm.com
Cc: ak@...e.de, herbert@...dor.apana.org.au, krkumar2@...ibm.com,
netdev@...r.kernel.org, netdev-owner@...r.kernel.org,
rdreier@...co.com
Subject: Re: [RFC] New driver API to speed up small packets xmits
From: Shirley Ma <xma@...ibm.com>
Date: Tue, 22 May 2007 15:58:05 -0700
> Sorry for the confusion. I am thinking to avoid copy in skb_segment() for
> GSO. The way could be in tcp_sendmsg() to allocate small discontiguous
> buffers (equal = MTU) instead of allocating pages.
The SKB splitting algorithm in TCP's transmit engine depends upon the
skb_shared_info() array being splittable at arbitrary points with only
page counts to manage. This is the only way I found to make SKB
splitting at transmit time extremely inexpensive.
SACK block processing needs to perform these kinds of splits
at well, so it really really has to be cheap.
The invariant is that every TCP TSO packet must have it's header
at skb->data and all of it's data in the paged skb_shared_info().
-
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