Re: [PATCH v2 net-next 3/8] tcp: use one bit in TCP_SKB_CB to mark ACK timestamps

2016-04-01 Thread Eric Dumazet
On Fri, 2016-04-01 at 11:04 -0400, Soheil Hassas Yeganeh wrote: > From: Soheil Hassas Yeganeh > > Currently, to avoid a cache line miss for accessing skb_shinfo, > tcp_ack_tstamp skips socket that do not have > SOF_TIMESTAMPING_TX_ACK bit set in sk_tsflags. This is > implemented based on an impli

[PATCH v2 net-next 3/8] tcp: use one bit in TCP_SKB_CB to mark ACK timestamps

2016-04-01 Thread Soheil Hassas Yeganeh
From: Soheil Hassas Yeganeh Currently, to avoid a cache line miss for accessing skb_shinfo, tcp_ack_tstamp skips socket that do not have SOF_TIMESTAMPING_TX_ACK bit set in sk_tsflags. This is implemented based on an implicit assumption that the SOF_TIMESTAMPING_TX_ACK is set via socket options fo