aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2024-05-03 15:07:40 +0000
committerJakub Kicinski <[email protected]>2024-05-08 15:05:03 +0000
commit012b7206918dcc5a4dcf1432b3e643114c95957e (patch)
treebba2060366789be71f1fd4060289e9665a256d82 /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c
parentrxrpc: Fix congestion control algorithm (diff)
downloadkernel-012b7206918dcc5a4dcf1432b3e643114c95957e.tar.gz
kernel-012b7206918dcc5a4dcf1432b3e643114c95957e.zip
rxrpc: Only transmit one ACK per jumbo packet received
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 <[email protected]> cc: Marc Dionne <[email protected]> cc: [email protected] Reviewed-by: Jeffrey Altman <[email protected] <mailto:[email protected]>> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions