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

Mohan Prasad J posted 3 patches 1 year, 3 months ago
MAINTAINERS                                   |   2 +
tools/testing/selftests/Makefile              |   2 +-
.../drivers/net/hw/microchip/lan743x/Makefile |   7 ++
.../net/hw/microchip/lan743x/lan743x.py       | 117 ++++++++++++++++++
.../hw/microchip/lan743x/lib/py/__init__.py   |  16 +++
5 files changed, 143 insertions(+), 1 deletion(-)
create mode 100644 tools/testing/selftests/drivers/net/hw/microchip/lan743x/Makefile
create mode 100755 tools/testing/selftests/drivers/net/hw/microchip/lan743x/lan743x.py
create mode 100644 tools/testing/selftests/drivers/net/hw/microchip/lan743x/lib/py/__init__.py
[PATCH net-next 0/3] lan743x: This series of patches are for lan743x driver testing
Posted by Mohan Prasad J 1 year, 3 months ago
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 <mohan.prasad@microchip.com>

Mohan Prasad J (3):
  selftests: lan743x: Add testfile for lan743x network driver
  selftests: lan743x: Add testcase to check speed and duplex state of
    lan743x
  selftests: lan743x: Add testcase to check throughput of lan743x

 MAINTAINERS                                   |   2 +
 tools/testing/selftests/Makefile              |   2 +-
 .../drivers/net/hw/microchip/lan743x/Makefile |   7 ++
 .../net/hw/microchip/lan743x/lan743x.py       | 117 ++++++++++++++++++
 .../hw/microchip/lan743x/lib/py/__init__.py   |  16 +++
 5 files changed, 143 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/drivers/net/hw/microchip/lan743x/Makefile
 create mode 100755 tools/testing/selftests/drivers/net/hw/microchip/lan743x/lan743x.py
 create mode 100644 tools/testing/selftests/drivers/net/hw/microchip/lan743x/lib/py/__init__.py

-- 
2.43.0
Re: [PATCH net-next 0/3] lan743x: This series of patches are for lan743x driver testing
Posted by Andrew Lunn 1 year, 3 months ago
On Wed, Sep 04, 2024 at 03:45:46AM +0530, Mohan Prasad J wrote:
> 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.

What is specific to lan743x? Why won't the autoneg test work for any
interface which says it supports autoneg? Is duplex somehow special on
the lan743x?

Where possible, please try to make these tests generic, usable on any
NIC. Or clearly document why they cannot be generic.

	Andrew