aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2024-12-04 07:46:52 +0000
committerJakub Kicinski <kuba@kernel.org>2024-12-09 13:48:29 -0800
commitdcdff0d8e3b61033b28c72926997d458949fcc05 (patch)
treef5e12c4ec0010236fbdbdbb1223276f9531e981a /net/lapb/lapb_in.c
parentrxrpc: Use the new rxrpc_tx_queue struct to more efficiently process ACKs (diff)
downloadlinux-dcdff0d8e3b61033b28c72926997d458949fcc05.tar.gz
linux-dcdff0d8e3b61033b28c72926997d458949fcc05.zip
rxrpc: Store the DATA serial in the txqueue and use this in RTT calc
Store the serial number set on a DATA packet at the point of transmission in the rxrpc_txqueue struct and when an ACK is received, match the reference number in the ACK by trawling the txqueue rather than sharing an RTT table with ACK RTT. This can be done as part of Tx queue rotation. This means we have a lot more RTT samples available and is faster to search with all the serial numbers packed together into a few cachelines rather than being hung off different txbufs. Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org Link: https://patch.msgid.link/20241204074710.990092-25-dhowells@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions