diff options
author | David Howells <dhowells@redhat.com> | 2024-05-03 18:07:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-17 13:14:54 +0300 |
commit | f6b03d2ac01c24cb8ad75a28f30a698390b19484 (patch) | |
tree | 808e4196e6bf9cb10fbf633a30591aea924fe2ee /Documentation/power | |
parent | eeabc5da3751e8e8b7559cac5d3800da6c194786 (diff) | |
download | linux-f6b03d2ac01c24cb8ad75a28f30a698390b19484.tar.xz |
rxrpc: Only transmit one ACK per jumbo packet received
[ Upstream commit 012b7206918dcc5a4dcf1432b3e643114c95957e ]
Only generate one ACK packet for all the subpackets in a jumbo packet. If
we would like to generate more than one ACK, we prioritise them base on
their reason code, in the order, highest first:
OutOfSeq > NoSpace > ExceedsWin > Duplicate > Requested > Delay > Idle
For the first four, we reference the lowest offending subpacket; for the
last three, the highest.
This reduces the number of ACKs we end up transmitting to one per UDP
packet transmitted to reduce network loading and packet parsing.
Fixes: 5d7edbc9231e ("rxrpc: Get rid of the Rx ring")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Reviewed-by: Jeffrey Altman <jaltman@auristor.com <mailto:jaltman@auristor.com>>
Link: https://lore.kernel.org/r/20240503150749.1001323-3-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/power')
0 files changed, 0 insertions, 0 deletions