The latest net-next kernels have removed the UFO feature, which results in older ethtool reporting the following error:
Cannot get device udp-fragmentation-offload settings: Operation not supported Currently, we rely on no errors being reported, and if there is an error then a failure is reported. However, in this case we can safely ignore the stderr output. We still check the return code so if something is truly fatal, a failure will still be reported; otherwise, we will not fail the test due to the above. Signed-off-by: Joe Stringer <[email protected]> --- tests/system-userspace-macros.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system-userspace-macros.at b/tests/system-userspace-macros.at index 6e3d46861a57..3fc4ef91f5d3 100644 --- a/tests/system-userspace-macros.at +++ b/tests/system-userspace-macros.at @@ -55,7 +55,7 @@ $1";/netdev_linux.*obtaining netdev stats via vport failed/d # This is a workaround, and should be removed when offloads are properly # supported in netdev-linux. m4_define([CONFIGURE_VETH_OFFLOADS], - [AT_CHECK([ethtool -K $1 tx off], [0], [ignore])] + [AT_CHECK([ethtool -K $1 tx off], [0], [ignore], [ignore])] ) # CHECK_CONNTRACK() -- 2.11.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
