We put shinfo->gso_segs in TCP_SKB_CB(skb) a while back for performance
reasons.
This was in commit cd7d8498c9a5 ("tcp: change tcp_skb_pcount() location")
This patch series complete the job for gso_size and gso_type, so that
we do not bring 2 extra cache lines in tcp write xmit fast path,
and making tcp_init_tso_segs() simpler and faster.
Eric Dumazet (5):
tcp: reserve tcp_skb_mss() to tcp stack
tcp: fill shinfo->gso_type at last moment
tcp: tcp_set_skb_tso_segs() no longer need struct sock parameter
tcp: fill shinfo->gso_size at last moment
tcp: remove obsolete check in tcp_set_skb_tso_segs()
include/net/tcp.h | 13 ++++++++-----
net/ipv4/tcp_input.c | 14 +++++---------
net/ipv4/tcp_offload.c | 4 ++--
net/ipv4/tcp_output.c | 49 +++++++++++++++++++------------------------------
4 files changed, 34 insertions(+), 46 deletions(-)
--
2.2.0.rc0.207.ga3a616c
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html