tcp: consume incoming buffers instead of reusing 33/15733/12
authorFlorin Coras <fcoras@cisco.com>
Mon, 5 Nov 2018 23:57:21 +0000 (15:57 -0800)
committerDamjan Marion <dmarion@me.com>
Wed, 7 Nov 2018 13:26:12 +0000 (13:26 +0000)
Instead of reusing buffers for acking, consume all buffers and program
output for (dup)ack generation. This implicitly fixes the drop counters
that were artificially inflated by both data and feedback traffic.

Moreover, the patch also significantly reduces the ack traffic as we now
only generate an ack per frame, unless duplicate acks need to be sent.

Because of the reduced feedback traffic, a sender's rx path and a
receiver's tx path are now significantly less loaded. In particular, a
sender can overwhelm a 40Gbps NIC and generate tx drop bursts for low
rtts. Consequently, tx pacing is now enforced by default.

Change-Id: I619c29a8945bf26c093f8f9e197e3c6d5d43868e
Signed-off-by: Florin Coras <fcoras@cisco.com>

No differences found