diff options
author | Eric Dumazet <edumazet@google.com> | 2015-06-11 09:15:16 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-11 16:33:11 -0700 |
commit | 51466a7545b73b7ad7bcfb33410d2823ccfaa501 (patch) | |
tree | f12fe132349a599b567efc45a092bbf2f591ea3d /include/net/mac802154.h | |
parent | a7eea416cb08a514f94c0ca5ff30c18783fab054 (diff) | |
download | op-kernel-dev-51466a7545b73b7ad7bcfb33410d2823ccfaa501.zip op-kernel-dev-51466a7545b73b7ad7bcfb33410d2823ccfaa501.tar.gz |
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 'include/net/mac802154.h')
0 files changed, 0 insertions, 0 deletions