Thread (15 messages) 15 messages, 3 authors, 2026-01-13

Re: [PATCH net-next v2 4/6] selftests: drv-net: gro: improve feature config

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-01-10 17:43:59
Also in: linux-kselftest

On Fri,  9 Jan 2026 16:51:19 -0800 Jakub Kicinski wrote:
     try:
         # Disable TSO for local tests
         cfg.require_nsim()  # will raise KsftXfailEx if not running on nsim
 
-        cmd(f"ethtool -K {cfg.ifname} gro on tso off")
-        cmd(f"ethtool -K {cfg.remote_ifname} gro on tso off", host=cfg.remote)
+        _set_ethtool_feat(cfg.remote_ifname, cfg.remote_feat, {"tso": False},
+                          host=cfg.remote)
     except KsftXfailEx:
         pass
Looks like I haven't re-tested on netdevsim, this needs to spell out
tcp-segmentation-offload :S
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help