[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170919.152037.1699896657960145386.davem@davemloft.net>
Date: Tue, 19 Sep 2017 15:20:37 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, soheil@...gle.com, weiwan@...gle.com,
willemb@...gle.com
Subject: Re: [PATCH v2 net-next] net: sk_buff rbnode reorg
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 19 Sep 2017 05:14:24 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> skb->rbnode shares space with skb->next, skb->prev and skb->tstamp
>
> Current uses (TCP receive ofo queue and netem) need to save/restore
> tstamp, while skb->dev is either NULL (TCP) or a constant for a given
> queue (netem).
>
> Since we plan using an RB tree for TCP retransmit queue to speedup SACK
> processing with large BDP, this patch exchanges skb->dev and
> skb->tstamp.
>
> This saves some overhead in both TCP and netem.
>
> v2: removes the swtstamp field from struct tcp_skb_cb
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Looks great, applied, thanks Eric.
Powered by blists - more mailing lists