[RFC PATCH]: TCP + SACK + skb processing latency

2008-02-01 Thread Ilpo Järvinen
Hi all, Here's an attempt to reduce amount of skb cleanup work TCP with TSO has to do after SACKs have arrived. I'm not on very familiar grounds with TSOed skbs so there likely is much I just couldn't take into account. I probably should at least check some flag somewhere? (=NETIF_F_SG?).

Re: [RFC PATCH]: TCP + SACK + skb processing latency

2008-02-01 Thread Ilpo Järvinen
On Fri, 1 Feb 2008, Ilpo Järvinen wrote: @@ -1322,6 +1324,206 @@ static int tcp_sacktag_one(struct sk_buff *skb, struct sock *sk, return flag; } +/* Attempts to shift up to shiftlen worth of bytes from prev to skb. + * Returns number bytes shifted. + * + * TODO: in case the