rxrpc: Implement an in-kernel rxperf server for testing purposes
authorDavid Howells <dhowells@redhat.com>
Thu, 3 Nov 2022 22:27:52 +0000 (22:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 1 Dec 2022 13:36:37 +0000 (13:36 +0000)
commit75bfdbf2fca372e2709bcaa43e8cf1147766ae96
tree438100ef5bb5b174b623c72eef8df01842edc7ee
parent84924aac08a43169811b4814c67994a9154a6a82
rxrpc: Implement an in-kernel rxperf server for testing purposes

Implement an in-kernel rxperf server to allow kernel-based rxrpc services
to be tested directly, unlike with AFS where they're accessed by the
fileserver when the latter decides it wants to.

This is implemented as a module that, if loaded, opens UDP port 7009
(afs3-rmtsys) and listens on it for incoming calls.  Calls can be generated
using the rxperf command shipped with OpenAFS, for example.

Changes
=======
ver #2)
 - Use min_t() instead of min().

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
cc: Jakub Kicinski <kuba@kernel.org>
include/net/af_rxrpc.h
net/rxrpc/Kconfig
net/rxrpc/Makefile
net/rxrpc/rxperf.c [new file with mode: 0644]
net/rxrpc/server_key.c