summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-05-02 20:39:32 +0200
committerChristian Breunig <christian@breunig.cc>2026-05-02 20:39:32 +0200
commitda774721c95eb9380690542b74d7f568a972d86a (patch)
treea54b80f52d4b45534f44d7ea801d550a50edd6e3
parent733a9f65d4e159f1539280e05ce3d6bcf5b499d7 (diff)
downloadvyos-1x-da774721c95eb9380690542b74d7f568a972d86a.tar.gz
vyos-1x-da774721c95eb9380690542b74d7f568a972d86a.zip
smoketest: T8147: disable adaptive_rx|tx for virtio drivers
Kernel 6.18 exposes support for adaptive_rx interrupt coalescing - but if set via ethtool, it still is in disabled state. $ sudo ethtool -C eth2 adaptive-rx on $ sudo ethtool -c eth2 Coalesce parameters for eth2: Adaptive RX: off TX: n/a Disable testcase for virtio modules.
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_ethernet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_ethernet.py b/smoketest/scripts/cli/test_interfaces_ethernet.py
index 7e0da2079..06253cf9e 100755
--- a/smoketest/scripts/cli/test_interfaces_ethernet.py
+++ b/smoketest/scripts/cli/test_interfaces_ethernet.py
@@ -234,8 +234,8 @@ class EthernetInterfaceTest(BasicInterfaceTest.TestCase):
# To find out the supported features
supported_rx_usecs = ethtool.check_coalesce('rx_usecs')
supported_tx_usecs = ethtool.check_coalesce('tx_usecs')
- supported_adaptive_rx = ethtool.check_coalesce('adaptive_rx')
- supported_adaptive_tx = ethtool.check_coalesce('adaptive_tx')
+ supported_adaptive_rx = ethtool.check_coalesce('adaptive_rx') and not is_virtio
+ supported_adaptive_tx = ethtool.check_coalesce('adaptive_tx') and not is_virtio
# Disabled adaptive modes and set custom values
if supported_rx_usecs: