summaryrefslogtreecommitdiff
path: root/net/rxrpc/Kconfig
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-11-03 22:27:52 +0000
committerDavid Howells <dhowells@redhat.com>2022-12-01 13:36:37 +0000
commit75bfdbf2fca372e2709bcaa43e8cf1147766ae96 (patch)
tree438100ef5bb5b174b623c72eef8df01842edc7ee /net/rxrpc/Kconfig
parent84924aac08a43169811b4814c67994a9154a6a82 (diff)
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>
Diffstat (limited to 'net/rxrpc/Kconfig')
-rw-r--r--net/rxrpc/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/rxrpc/Kconfig b/net/rxrpc/Kconfig
index accd35c05577..7ae023b37a83 100644
--- a/net/rxrpc/Kconfig
+++ b/net/rxrpc/Kconfig
@@ -58,4 +58,11 @@ config RXKAD
See Documentation/networking/rxrpc.rst.
+config RXPERF
+ tristate "RxRPC test service"
+ help
+ Provide an rxperf service tester. This listens on UDP port 7009 for
+ incoming calls from the rxperf program (an example of which can be
+ found in OpenAFS).
+
endif