Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] nic_basic_tests: Add selftest for doing basic tests of NIC driver
@ 2024-09-17  2:34 Mohan Prasad J
  2024-09-17  2:34 ` [PATCH net-next v2 1/3] selftests: nic_basic_tests: Add selftest file for basic tests of NIC Mohan Prasad J
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Mohan Prasad J @ 2024-09-17  2:34 UTC (permalink / raw)
  To: netdev, davem, kuba, andrew
  Cc: edumazet, pabeni, shuah, mohan.prasad, linux-kernel,
	linux-kselftest, horms, brett.creeley, rosenp, UNGLinuxDriver,
	willemb

The series of patches are for doing basic tests of NIC driver.
Test comprises checks for auto-negotiation, speed,
duplex state and throughput between local NIC and partner.
Tools such as ethtool, iperf3 are used.

Signed-off-by: Mohan Prasad J <mohan.prasad@microchip.com>
---
Changes in v2:
- Changed the hardcoded implementation of speed, duplex states,
  throughput to generic values, in order to support all type
  of NIC drivers.
- Test executes based on the supported link modes between local
  NIC driver and partner.
- Instead of lan743x directory, selftest file is now placed in
  /selftests/drivers/net/hw.
---
Mohan Prasad J (3):
  selftests: nic_basic_tests: Add selftest file for basic tests of NIC
  selftests: nic_basic_tests: Add selftest case for speed and duplex
    state checks
  selftests: nic_basic_tests: Add selftest case for throughput check

 .../testing/selftests/drivers/net/hw/Makefile |   1 +
 .../drivers/net/hw/nic_basic_tests.py         | 230 ++++++++++++++++++
 2 files changed, 231 insertions(+)
 create mode 100644 tools/testing/selftests/drivers/net/hw/nic_basic_tests.py

-- 
2.43.0


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

end of thread, other threads:[~2024-09-20  4:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-17  2:34 [PATCH net-next v2 0/3] nic_basic_tests: Add selftest for doing basic tests of NIC driver Mohan Prasad J
2024-09-17  2:34 ` [PATCH net-next v2 1/3] selftests: nic_basic_tests: Add selftest file for basic tests of NIC Mohan Prasad J
2024-09-17 15:35   ` Andrew Lunn
2024-09-18 10:30     ` Mohan.Prasad
2024-09-18 12:05       ` Andrew Lunn
2024-09-19 10:44         ` Mohan.Prasad
2024-09-19 14:51           ` Andrew Lunn
2024-09-17 15:48   ` Andrew Lunn
2024-09-18 10:32     ` Mohan.Prasad
2024-09-18 12:11       ` Andrew Lunn
2024-09-17 15:56   ` Andrew Lunn
2024-09-18 10:35     ` Mohan.Prasad
2024-09-17  2:34 ` [PATCH net-next v2 2/3] selftests: nic_basic_tests: Add selftest case for speed and duplex state checks Mohan Prasad J
2024-09-18 12:38   ` Willem de Bruijn
2024-09-20  4:56     ` Mohan.Prasad
2024-09-17  2:34 ` [PATCH net-next v2 3/3] selftests: nic_basic_tests: Add selftest case for throughput check Mohan Prasad J

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