tcp: generate CA_EVENT_TX_START on data frames
authorNeal Cardwell <ncardwell@google.com>
Thu, 10 Sep 2015 04:54:37 +0000 (21:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2015 17:58:33 +0000 (10:58 -0700)
commit05c5a46d71f621df620fbabbd7758ee1b44575ad
tree748d299eb3c1e197b0f030daa52f5c87825ca7cd
parent32a844056fd43dda647e1c3c6b9983bdfa04d17d
tcp: generate CA_EVENT_TX_START on data frames

Issuing a CC TX_START event on control frames like pure ACK
is a waste of time, as a CC should not care.

Following patch needs this change, as we want CUBIC to properly track
idle time at a low cost, with a single TX_START being generated.

Yuchung might slightly refine the condition triggering TX_START
on a followup patch.

Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Cc: Jana Iyengar <jri@google.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: Sangtae Ha <sangtae.ha@gmail.com>
Cc: Lawrence Brakmo <lawrence@brakmo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c