From e76c71483a5600eb9ef8f1741c92fe1282bfd461 Mon Sep 17 00:00:00 2001 From: Ioana Ciornei Date: Mon, 30 Mar 2026 18:29:29 +0300 Subject: selftests: drivers: hw: test rmon counters only on first interface The selftests in drivers/net are slowly transitioning to being able to be used on systems with a single network interface. The first step for the ethtool_rmon.sh test is to only validate that the rmon counters are properly exported on the first interface supplied as an argument. Remove the rmon_histogram calls which intend to test also the rmon counters on the 2nd interface. This also removes the need for the remote system, which should be used only to inject traffic, to also support rmon counters. Signed-off-by: Ioana Ciornei Reviewed-by: Petr Machata Link: https://patch.msgid.link/20260330152933.2195885-6-ioana.ciornei@nxp.com Signed-off-by: Paolo Abeni --- tools/testing/selftests/drivers/net/hw/ethtool_rmon.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools/testing/selftests/drivers') diff --git a/tools/testing/selftests/drivers/net/hw/ethtool_rmon.sh b/tools/testing/selftests/drivers/net/hw/ethtool_rmon.sh index 13b3760e3a40..80e75b9b40fd 100755 --- a/tools/testing/selftests/drivers/net/hw/ethtool_rmon.sh +++ b/tools/testing/selftests/drivers/net/hw/ethtool_rmon.sh @@ -106,13 +106,11 @@ rmon_histogram() rmon_rx_histogram() { rmon_histogram "$h1" "$h2" rx - rmon_histogram "$h2" "$h1" rx } rmon_tx_histogram() { rmon_histogram "$h1" "$h2" tx - rmon_histogram "$h2" "$h1" tx } setup_prepare() -- cgit v1.2.3