[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1434039319-31309-1-git-send-email-edumazet@google.com>
Date: Thu, 11 Jun 2015 09:15:14 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: "David S. Miller" <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Neal Cardwell <ncardwell@...gle.com>,
Yuchung Cheng <ycheng@...gle.com>,
Eric Dumazet <edumazet@...gle.com>,
Eric Dumazet <edumazet@...il.com>
Subject: [PATCH net-next 0/5] tcp: defer shinfo->gso_size|type settings
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists