Skip to content

nic_basic_tests: Add selftest for doing basic tests of NIC driver

Mohan Prasad J linux-kselftest lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 12 repliesIn review

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3selftests: nic_basic_tests: Add selftest file for basic tests of NICtools/testing/selftests/drivers/net/hw/Makefile tools/testing/selftests/drivers/net/hw/nic_basic_tests.py+146 -010 replies
2/3selftests: nic_basic_tests: Add selftest case for speed and duplex state checkstools/testing/selftests/drivers/net/hw/nic_basic_tests.py+46 -02 replies
3/3selftests: nic_basic_tests: Add selftest case for throughput checktools/testing/selftests/drivers/net/hw/nic_basic_tests.py+39 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/3] nic_basic_tests: Add selftest for doing basic tests of NIC driver

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.

---
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
Signature · 1 line
2.43.0