We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de379df commit c3da585Copy full SHA for c3da585
tools/testing/selftests/drivers/net/hw/rss_ctx.py
@@ -260,7 +260,12 @@ def test_rss_queue_reconfigure(cfg, main_ctx=True):
260
# change the table to target queues 0 and 2
261
ethtool(f"-X {cfg.ifname} {ctx_ref} weight 1 0 1 0")
262
# ntuple rule therefore targets queues 1 and 3
263
- ntuple2 = ethtool_create(cfg, "-N", flow)
+ try:
264
+ ntuple2 = ethtool_create(cfg, "-N", flow)
265
+ except CmdExitFailure:
266
+ ksft_pr("Driver does not support rss + queue offset")
267
+ return
268
+
269
defer(ethtool, f"-N {cfg.ifname} delete {ntuple2}")
270
# should replace existing filter
271
ksft_eq(ntuple, ntuple2)
0 commit comments