public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6.6.y 0/4] Fix missing net_helper.sh for net/udpgro_fwd.sh test
@ 2024-05-29 15:15 Po-Hsu Lin
  2024-05-29 15:16 ` [PATCH 6.6.y 1/4] selftests/net: synchronize udpgro tests' tx and rx connection Po-Hsu Lin
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Po-Hsu Lin @ 2024-05-29 15:15 UTC (permalink / raw)
  To: stable; +Cc: gregkh, po-hsu.lin

Since upstream commit 4acffb66 "selftests: net: explicitly wait for
listener ready", the net_helper.sh from commit 3bdd9fd2 "selftests/net:
synchronize udpgro tests' tx and rx connection" will be needed.

Otherwise selftests/net/udpgro_fwd.sh will complain about:
$ sudo ./udpgro_fwd.sh
./udpgro_fwd.sh: line 4: net_helper.sh: No such file or directory
IPv4
No GRO   ./udpgro_fwd.sh: line 134: wait_local_port_listen: command not found

Patch "selftests/net: synchronize udpgro tests' tx and rx connection" adds
the missing net_helper.sh. Context adjustment is needed for applying this
patch, as the BPF_FILE is different in 6.6.y

Patch "selftests: net: Remove executable bits from library scripts" fixes
the script permission.

Patch "selftests: net: included needed helper in the install targets" and
"selftests: net: List helper scripts in TEST_FILES Makefile variable" will
add this helper to the Makefile and fix the installation, lib.sh needs to
be ignored for them.

Benjamin Poirier (2):
  selftests: net: Remove executable bits from library scripts
  selftests: net: List helper scripts in TEST_FILES Makefile variable

Lucas Karpinski (1):
  selftests/net: synchronize udpgro tests' tx and rx connection

Paolo Abeni (1):
  selftests: net: included needed helper in the install targets

 tools/testing/selftests/net/Makefile          |  4 ++--
 tools/testing/selftests/net/net_helper.sh     | 22 ++++++++++++++++++++++
 tools/testing/selftests/net/setup_loopback.sh |  0
 tools/testing/selftests/net/udpgro.sh         | 13 ++++++-------
 tools/testing/selftests/net/udpgro_bench.sh   |  5 +++--
 tools/testing/selftests/net/udpgro_frglist.sh |  5 +++--
 6 files changed, 36 insertions(+), 13 deletions(-)
 create mode 100644 tools/testing/selftests/net/net_helper.sh
 mode change 100755 => 100644 tools/testing/selftests/net/setup_loopback.sh

-- 
2.7.4


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-12 13:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-29 15:15 [PATCH 6.6.y 0/4] Fix missing net_helper.sh for net/udpgro_fwd.sh test Po-Hsu Lin
2024-05-29 15:16 ` [PATCH 6.6.y 1/4] selftests/net: synchronize udpgro tests' tx and rx connection Po-Hsu Lin
2024-05-29 15:16 ` [PATCH 6.6.y 2/4] selftests: net: Remove executable bits from library scripts Po-Hsu Lin
2024-05-29 15:16 ` [PATCH 6.6.y 3/4] selftests: net: included needed helper in the install targets Po-Hsu Lin
2024-05-29 15:16 ` [PATCH 6.6.y 4/4] selftests: net: List helper scripts in TEST_FILES Makefile variable Po-Hsu Lin
2024-06-12 13:44 ` [PATCH 6.6.y 0/4] Fix missing net_helper.sh for net/udpgro_fwd.sh test Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox