commit | f69ad292cfd13aa7ee00847320c6bb9ba2154e87 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Jun 11 09:15:18 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 11 16:33:11 2015 -0700 |
tree | 7158b39eda3c315797407b0d558f7d301196499e | |
parent | 5bbb432c896d23ce8f41f38e88dbd38982df99f9 [diff] |
tcp: fill shinfo->gso_size at last moment In commit cd7d8498c9a5 ("tcp: change tcp_skb_pcount() location") we stored gso_segs in a temporary cache hot location. This patch does the same for gso_size. This allows to save 2 cache line misses in tcp xmit path for the last packet that is considered but not sent because of various conditions (cwnd, tso defer, receiver window, TSQ...) Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>