]> git.proxmox.com Git - mirror_ovs.git/commit
system-userspace-macros: Fix ethtool with new kernels.
authorJoe Stringer <joe@ovn.org>
Wed, 26 Jul 2017 19:49:48 +0000 (12:49 -0700)
committerJoe Stringer <joe@ovn.org>
Wed, 26 Jul 2017 21:25:45 +0000 (14:25 -0700)
commit941d80b48aed94eaafcad5549296445d55b67e92
treebd8330909d83f9cdd7b9b16625b72bf73f5ebfc6
parent5b29422c718e2637f44eb04885e4ec8b6df72c5d
system-userspace-macros: Fix ethtool with new kernels.

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 <joe@ovn.org>
Acked-by: Andy Zhou <azhou@ovn.org>
tests/system-userspace-macros.at