Skip to content

Commit ac98b31

Browse files
nak3kuba-moo
authored andcommitted
selftests/net: call sendmmsg via udpgso_bench.sh
Currently, sendmmsg is implemented in udpgso_bench_tx.c, but it is not called by any test script. This patch adds a test for sendmmsg in udpgso_bench.sh. This allows for basic API testing and benchmarking comparisons with GSO. Signed-off-by: Kenjiro Nakayama <[email protected]> Reviewed-by: Hangbin Liu <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 5204ccb commit ac98b31

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/testing/selftests/net/udpgso_bench.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ run_udp() {
9292
echo "udp"
9393
run_in_netns ${args}
9494

95+
echo "udp sendmmsg"
96+
run_in_netns ${args} -m
97+
9598
echo "udp gso"
9699
run_in_netns ${args} -S 0
97100

0 commit comments

Comments
 (0)