Skip to content

Commit 2aeb71b

Browse files
kuba-mooPaolo Abeni
authored andcommitted
selftests: drv-net: add PSP responder
PSP tests need the remote system to support PSP, and some PSP capable application to exchange data with. Create a simple PSP responder app which we can build and deploy to the remote host. The tests themselves can be written in Python but for ease of deploying the responder is in C (using C YNL). Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Daniel Zahka <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Willem de Bruijn <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
1 parent 8a5f956 commit 2aeb71b

File tree

3 files changed

+493
-0
lines changed

3 files changed

+493
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
napi_id_helper
3+
psp_responder

tools/testing/selftests/drivers/net/Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,13 @@ TEST_PROGS := \
2727
xdp.py \
2828
# end of TEST_PROGS
2929

30+
# YNL files, must be before "include ..lib.mk"
31+
YNL_GEN_FILES := psp_responder
32+
TEST_GEN_FILES += $(YNL_GEN_FILES)
33+
3034
include ../../lib.mk
35+
36+
# YNL build
37+
YNL_GENS := psp
38+
39+
include ../../net/ynl.mk

0 commit comments

Comments
 (0)