diff options
author | David S. Miller <davem@davemloft.net> | 2017-08-30 11:20:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-30 11:20:09 -0700 |
commit | 2c667d40a67a6a49343a75437b5e49d301a07a53 (patch) | |
tree | a4635a632732b39ef560a8f72eb3a81d04f01605 /include/linux | |
parent | 0da93d2ebb5d198a4601bd5ad7695f3c6fd36062 (diff) | |
parent | 31770e34e43d6c8dee129bfee77e56c34e61f0e5 (diff) |
Merge branch 'tcp-readd-hp'
Florian Westphal says:
====================
tcp: re-add header prediction
Eric reported a performance regression caused by header prediction
removal.
We now call tcp_ack() much more frequently, for some workloads
this brings in enough cache line misses to become noticeable.
We could possibly still kill HP provided we find a different
way to suppress unneeded tcp_ack, but given we're late in
the cycle it seems preferable to revert.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/tcp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index 267164a1d559..4aa40ef02d32 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h @@ -148,6 +148,12 @@ struct tcp_sock { u16 gso_segs; /* Max number of segs per GSO packet */ /* + * Header prediction flags + * 0x5?10 << 16 + snd_wnd in net byte order + */ + __be32 pred_flags; + +/* * RFC793 variables by their proper names. This means you can * read the code and the spec side by side (and laugh ...) * See RFC793 and RFC1122. The RFC writes these in capitals. |