aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSoheil Hassas Yeganeh <[email protected]>2016-04-27 23:39:01 -0400
committerDavid S. Miller <[email protected]>2016-04-28 16:06:10 -0400
commit0a2cf20c3fb62ad4717276b5303bf831f7b29d54 (patch)
tree8ac718cd55a6ec72241c647e38856d904797a078 /tools/perf/scripts/python
parent863c1fd9814618eefba02218f8fadf8a430c2a17 (diff)
tcp: remove SKBTX_ACK_TSTAMP since it is redundant
The SKBTX_ACK_TSTAMP flag is set in skb_shinfo->tx_flags when the timestamp of the TCP acknowledgement should be reported on error queue. Since accessing skb_shinfo is likely to incur a cache-line miss at the time of receiving the ack, the txstamp_ack bit was added in tcp_skb_cb, which is set iff the SKBTX_ACK_TSTAMP flag is set for an skb. This makes SKBTX_ACK_TSTAMP flag redundant. Remove the SKBTX_ACK_TSTAMP and instead use the txstamp_ack bit everywhere. Note that this frees one bit in shinfo->tx_flags. Signed-off-by: Soheil Hassas Yeganeh <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Suggested-by: Willem de Bruijn <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions