summaryrefslogtreecommitdiff
path: root/lib/div64.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-06-11 19:15:16 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-12 02:33:11 +0300
commit51466a7545b73b7ad7bcfb33410d2823ccfaa501 (patch)
treef12fe132349a599b567efc45a092bbf2f591ea3d /lib/div64.c
parenta7eea416cb08a514f94c0ca5ff30c18783fab054 (diff)
downloadlinux-51466a7545b73b7ad7bcfb33410d2823ccfaa501.tar.xz
tcp: fill shinfo->gso_type at last moment
Our goal is to touch skb_shinfo(skb) only when absolutely needed, to avoid two cache line misses in TCP output path for last skb that is considered but not sent because of various conditions (cwnd, tso defer, receiver window, TSQ...) A packet is GSO only when skb_shinfo(skb)->gso_size is not zero. We can set skb_shinfo(skb)->gso_type to sk->sk_gso_type even for non GSO packets. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/div64.c')
0 files changed, 0 insertions, 0 deletions