TAP version 13 1..1 # timeout set to 180 # selftests: drivers/net: hds.py # TAP version 13 # 1..13 # ok 1 hds.get_hds # ok 2 hds.get_hds_thresh # ok 3 hds.set_hds_disable # SKIP disabling of HDS not supported by the device # ok 4 hds.set_hds_enable # SKIP disabling of HDS not supported by the device # ok 5 hds.set_hds_thresh_random # ok 6 hds.set_hds_thresh_zero # ok 7 hds.set_hds_thresh_max # ok 8 hds.set_hds_thresh_gt # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/ksft.py", line 338, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/125/drivers/net/./hds.py", line 253, in set_xdp # # Exception| _xdp_onoff(cfg) # # Exception| ~~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/125/drivers/net/./hds.py", line 26, in _xdp_onoff # # Exception| ip("link set dev %s xdp obj %s sec xdp" % # # Exception| ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| (cfg.ifname, prog)) # # Exception| ^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/utils.py", line 238, in ip # # Exception| return tool('ip', args, json=json, host=host) # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/utils.py", line 225, in tool # # Exception| cmd_obj = cmd(cmd_str, ns=ns, host=host) # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/utils.py", line 91, in __init__ # # Exception| self.process(terminate=False, fail=fail, timeout=timeout) # # Exception| ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/utils.py", line 117, in process # # Exception| raise CmdExitFailure("Command failed", self) # # Exception| net.lib.py.utils.CmdExitFailure: Command failed # # Exception| CMD: ip link set dev ens9np0 xdp obj /srv/hw-worker/tests/125/net/lib/xdp_dummy.bpf.o sec xdp # # Exception| EXIT: 2 # # Exception| STDERR: Error: Native and generic XDP can't be active at the same time. # # Exception| # not ok 9 hds.set_xdp # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/ksft.py", line 338, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/125/drivers/net/./hds.py", line 263, in enabled_set_xdp # # Exception| netnl.rings_set({'header': {'dev-index': cfg.ifindex}, # # Exception| ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| 'tcp-data-split': 'enabled'}) # # Exception| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/125/net/lib/ynl/pyynl/lib/ynl.py", line 1385, in _op # # Exception| return self._ops(ops)[0] # # Exception| ~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/125/net/lib/ynl/pyynl/lib/ynl.py", line 1342, in _ops # # Exception| raise NlError(nl_msg) # # Exception| net.lib.ynl.pyynl.lib.ynl.NlError: Netlink error: tcp-data-split can not be enabled with single buffer XDP: Invalid argument {'bad-attr': '.tcp-data-split'} # # Exception| # not ok 10 hds.enabled_set_xdp # ok 11 hds.ioctl # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/ksft.py", line 338, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/125/drivers/net/./hds.py", line 291, in ioctl_set_xdp # # Exception| _xdp_onoff(cfg) # # Exception| ~~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/125/drivers/net/./hds.py", line 26, in _xdp_onoff # # Exception| ip("link set dev %s xdp obj %s sec xdp" % # # Exception| ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| (cfg.ifname, prog)) # # Exception| ^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/utils.py", line 238, in ip # # Exception| return tool('ip', args, json=json, host=host) # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/utils.py", line 225, in tool # # Exception| cmd_obj = cmd(cmd_str, ns=ns, host=host) # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/utils.py", line 91, in __init__ # # Exception| self.process(terminate=False, fail=fail, timeout=timeout) # # Exception| ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/utils.py", line 117, in process # # Exception| raise CmdExitFailure("Command failed", self) # # Exception| net.lib.py.utils.CmdExitFailure: Command failed # # Exception| CMD: ip link set dev ens9np0 xdp obj /srv/hw-worker/tests/125/net/lib/xdp_dummy.bpf.o sec xdp # # Exception| EXIT: 2 # # Exception| STDERR: Error: Native and generic XDP can't be active at the same time. # # Exception| # not ok 12 hds.ioctl_set_xdp # # Exception| Traceback (most recent call last): # # Exception| File "/srv/hw-worker/tests/125/net/lib/py/ksft.py", line 338, in ksft_run # # Exception| func(*args) # # Exception| ~~~~^^^^^^^ # # Exception| File "/srv/hw-worker/tests/125/drivers/net/./hds.py", line 301, in ioctl_enabled_set_xdp # # Exception| netnl.rings_set({'header': {'dev-index': cfg.ifindex}, # # Exception| ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| 'tcp-data-split': 'enabled'}) # # Exception| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # # Exception| File "/srv/hw-worker/tests/125/net/lib/ynl/pyynl/lib/ynl.py", line 1385, in _op # # Exception| return self._ops(ops)[0] # # Exception| ~~~~~~~~~^^^^^ # # Exception| File "/srv/hw-worker/tests/125/net/lib/ynl/pyynl/lib/ynl.py", line 1342, in _ops # # Exception| raise NlError(nl_msg) # # Exception| net.lib.ynl.pyynl.lib.ynl.NlError: Netlink error: tcp-data-split can not be enabled with single buffer XDP: Invalid argument {'bad-attr': '.tcp-data-split'} # # Exception| # not ok 13 hds.ioctl_enabled_set_xdp # # Totals: pass:7 fail:4 xfail:0 xpass:0 skip:2 error:0 not ok 1 selftests: drivers/net: hds.py # exit=1