[PATCH net-next v4 2/3] selftests: nic_link_layer: Add selftest case for speed and duplex states

2024-11-14 Thread Mohan Prasad J
Add selftest case for testing the speed and duplex state of local NIC driver and the partner based on the supported link modes obtained from the ethtool. Speed and duplex states are varied and verified using ethtool. Signed-off-by: Mohan Prasad J --- .../drivers/net/hw/nic_link_layer.py

[PATCH net-next v4 3/3] selftests: nic_performance: Add selftest for performance of NIC driver

2024-11-14 Thread Mohan Prasad J
Prasad J --- .../testing/selftests/drivers/net/hw/Makefile | 1 + .../drivers/net/hw/nic_performance.py | 137 ++ .../selftests/drivers/net/lib/py/load.py | 20 ++- 3 files changed, 157 insertions(+), 1 deletion(-) create mode 100644 tools/testing/selftests/drivers/net

[PATCH net-next v4 1/3] selftests: nic_link_layer: Add link layer selftest for NIC driver

2024-11-14 Thread Mohan Prasad J
Add selftest file for the link layer tests of a NIC driver. Test for auto-negotiation is added. Add LinkConfig class for changing link layer configs. Selftest makes use of ksft modules and ethtool. Include selftest file in the Makefile. Signed-off-by: Mohan Prasad J --- .../testing/selftests

[PATCH net-next v4 0/3] selftests: Add selftest for link layer and performance testing

2024-11-14 Thread Mohan Prasad J
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 --- Changes in v4: - Type hints are added for

[PATCH net-next v3 3/3] selftests: nic_performance: Add selftest for performance of NIC driver

2024-10-16 Thread Mohan Prasad J
Add selftest case to check the send and receive throughput. Supported link modes between local NIC driver and partner are varied. Then send and receive throughput is captured and verified. Test uses iperf3 tool. Signed-off-by: Mohan Prasad J --- .../testing/selftests/drivers/net/hw/Makefile

[PATCH net-next v3 1/3] selftests: nic_link_layer: Add link layer selftest for NIC driver

2024-10-16 Thread Mohan Prasad J
Add selftest file for the link layer tests of a NIC driver. Test for auto-negotiation is added. Add LinkConfig class for changing link layer configs. Selftest makes use of ksft modules and ethtool. Include selftest file in the Makefile. Signed-off-by: Mohan Prasad J --- .../testing/selftests

[PATCH net-next v3 2/3] selftests: nic_link_layer: Add selftest case for speed and duplex states

2024-10-16 Thread Mohan Prasad J
Add selftest case for testing the speed and duplex state of local NIC driver and the partner based on the supported link modes obtained from the ethtool. Speed and duplex states are varied and verified using ethtool. Signed-off-by: Mohan Prasad J --- .../drivers/net/hw/nic_link_layer.py

[PATCH net-next v3 0/3] selftests: Add selftest for link layer and performance testing

2024-10-16 Thread Mohan Prasad J
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 --- Changes in v3: - LinkConfig class is included in

[PATCH net-next v2 3/3] selftests: nic_basic_tests: Add selftest case for throughput check

2024-09-17 Thread Mohan Prasad J
Add selftest case to check the send and receive throughput. Supported link modes between local NIC driver and partner are varied. Then send and receive throughput is captured and verified. Test uses iperf3 tool. Signed-off-by: Mohan Prasad J --- .../drivers/net/hw/nic_basic_tests.py

[PATCH net-next v2 2/3] selftests: nic_basic_tests: Add selftest case for speed and duplex state checks

2024-09-17 Thread Mohan Prasad J
Add selftest case for testing the speed and duplex state of local NIC driver and the partner based on the supported link modes obtained from the ethtool. Speed and duplex states are varied and verified using ethtool. Signed-off-by: Mohan Prasad J --- .../drivers/net/hw/nic_basic_tests.py

[PATCH net-next v2 1/3] selftests: nic_basic_tests: Add selftest file for basic tests of NIC

2024-09-17 Thread Mohan Prasad J
Add selftest file to test basic features of a NIC driver. Tests for link modes, auto-negotiation are placed. Selftest makes use of ksft modules and ethtool. Add selftest file in the Makefile. Signed-off-by: Mohan Prasad J --- .../testing/selftests/drivers/net/hw/Makefile | 1 + .../drivers

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

2024-09-17 Thread Mohan Prasad J
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 --- Changes in v2: - Changed the hardcoded

[PATCH net-next 3/3] selftests: lan743x: Add testcase to check throughput of lan743x

2024-09-03 Thread Mohan Prasad J
Add testcase to check TCP throughput of lan743x network driver. Test uses iperf3 to do performance testing of the driver. TCP data at different speeds is sent, received and verified. Signed-off-by: Mohan Prasad J --- .../net/hw/microchip/lan743x/lan743x.py | 33 +++ 1 file

[PATCH net-next 2/3] selftests: lan743x: Add testcase to check speed and duplex state of lan743x

2024-09-03 Thread Mohan Prasad J
Add testcase for checking speed and duplex states for lan743x network driver. Testcase comprises of varying the network speed and duplex state to 10/100/1000Mbps and half/full via ethtool. Signed-off-by: Mohan Prasad J --- .../net/hw/microchip/lan743x/lan743x.py | 33

[PATCH net-next 1/3] selftests: lan743x: Add testfile for lan743x network driver

2024-09-03 Thread Mohan Prasad J
list. Signed-off-by: Mohan Prasad J --- MAINTAINERS | 2 + tools/testing/selftests/Makefile | 2 +- .../drivers/net/hw/microchip/lan743x/Makefile | 7 +++ .../net/hw/microchip/lan743x/lan743x.py | 51 +++ .../hw/microchip

[PATCH net-next 0/3] lan743x: This series of patches are for lan743x driver testing

2024-09-03 Thread Mohan Prasad J
This series of patches are for testing the lan743x network driver. Testing comprises autonegotiation, speed, duplex and throughput checks. Tools such as ethtool, iperf3 are used in the testing process. Performance test is done for TCP streams at different speeds. Signed-off-by: Mohan Prasad J