On Tue, Sep 19, 2017 at 8:14 AM, Eric Dumazet <[email protected]> wrote: > From: Eric Dumazet <[email protected]> > > 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 <[email protected]> > Cc: Soheil Hassas Yeganeh <[email protected]> > Cc: Wei Wang <[email protected]> > Cc: Willem de Bruijn <[email protected]>
Acked-by: Soheil Hassas Yeganeh <[email protected]> Very nice!
