netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] net: selftest: Introduce netconsole torture test
@ 2025-09-04 18:00 Breno Leitao
  2025-09-04 18:00 ` [PATCH net-next v2 1/2] selftest: netcons: refactor target creation Breno Leitao
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Breno Leitao @ 2025-09-04 18:00 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Shuah Khan
  Cc: linux-kernel, netdev, linux-kselftest, asantostc, efault, calvin,
	kernel-team, Breno Leitao

Create a netconsole test that puts a lot of pressure on the netconsole
list manipulation. Do it by creating dynamic targets and deleting
targets while messages are being sent. Also put interface down while the

In order to do it, refactor create_dynamic_target(), so it can be used to
create random targets in the torture test.

Signed-off-by: Breno Leitao <leitao@debian.org>
---
Changes in v2:
- Reuse the netconsole creation from lib_netcons.sh. Thus, refactoring
  the create_dynamic_target() (Jakub)
- Move the "wait" to after all the messages has been sent.
- Link to v1: https://lore.kernel.org/r/20250902-netconsole_torture-v1-1-03c6066598e9@debian.org

---
Breno Leitao (2):
      selftest: netcons: refactor target creation
      selftest: netcons: create a torture test

 tools/testing/selftests/drivers/net/Makefile       |   1 +
 .../selftests/drivers/net/lib/sh/lib_netcons.sh    |  30 +++--
 .../selftests/drivers/net/netcons_torture.sh       | 127 +++++++++++++++++++++
 3 files changed, 147 insertions(+), 11 deletions(-)
---
base-commit: 2fd4161d0d2547650d9559d57fc67b4e0a26a9e3
change-id: 20250902-netconsole_torture-8fc23f0aca99

Best regards,
--  
Breno Leitao <leitao@debian.org>


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

end of thread, other threads:[~2025-09-05 17:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-04 18:00 [PATCH net-next v2 0/2] net: selftest: Introduce netconsole torture test Breno Leitao
2025-09-04 18:00 ` [PATCH net-next v2 1/2] selftest: netcons: refactor target creation Breno Leitao
2025-09-04 18:00 ` [PATCH net-next v2 2/2] selftest: netcons: create a torture test Breno Leitao
2025-09-05 11:27   ` Andre Carvalho
2025-09-04 21:59 ` [PATCH net-next v2 0/2] net: selftest: Introduce netconsole " Jakub Kicinski
2025-09-05 17:27   ` Breno Leitao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).