rxrpc: Allow a delay to be injected into packet reception
authorDavid Howells <dhowells@redhat.com>
Mon, 17 Oct 2022 07:54:57 +0000 (08:54 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 31 Jan 2023 16:38:09 +0000 (16:38 +0000)
commitaf094824f20b454ee23b7b5a860b3ba58f4e6938
tree10093f83719001b3305ae729270f69470158ad45
parent223f59016fa2b6d01814dc53ace1c146857ba236
rxrpc: Allow a delay to be injected into packet reception

If CONFIG_AF_RXRPC_DEBUG_RX_DELAY=y, then a delay is injected between
packets and errors being received and them being made available to the
processing code, thereby allowing the RTT to be artificially increased.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
net/rxrpc/Kconfig
net/rxrpc/ar-internal.h
net/rxrpc/io_thread.c
net/rxrpc/local_object.c
net/rxrpc/misc.c
net/rxrpc/sysctl.c