mbox series

[net-next,0/1] selftests: net: Add support for testing SO_RCVMARK and SO_RCVPRIORITY

Message ID 20250129143601.16035-1-annaemesenyiri@gmail.com (mailing list archive)
Headers show
Series selftests: net: Add support for testing SO_RCVMARK and SO_RCVPRIORITY | expand

Message

Anna Nyiri Jan. 29, 2025, 2:36 p.m. UTC
After submitting the patch implementing the SO_RCVPRIORITY socket option
(https://lore.kernel.org/netdev/20241213084457.45120-5-annaemesenyiri@gmail.com),
it was requested to include a test for the functionality. As a first step, write 
a test that also validates the SO_RCVMARK value, since no existing test covers  
it. If this combined test is not suitable, I will provide a standalone
test specifically for SO_RCVPRIORITY and submit it separately.

Anna Emese Nyiri (1):
  add support for testing SO_RCVMARK and SO_RCVPRIORITY

 tools/testing/selftests/net/Makefile          |   1 +
 tools/testing/selftests/net/so_rcv_listener.c | 147 ++++++++++++++++++
 tools/testing/selftests/net/test_so_rcv.sh    |  56 +++++++
 3 files changed, 204 insertions(+)
 create mode 100644 tools/testing/selftests/net/so_rcv_listener.c
 create mode 100755 tools/testing/selftests/net/test_so_rcv.sh