Re: [PATCH ethtool] ethtool: don't report UFO on kernels v4.14 and above
From: John W. Linville <hidden>
Date: 2019-01-18 18:45:17
From: John W. Linville <hidden>
Date: 2019-01-18 18:45:17
On Thu, Nov 29, 2018 at 04:36:53PM +0100, Ivan Vecera wrote:
Support for UDP fragmentation offloading was removed in kernel v4.14. The ethtool reports incorrectly its state on this and newer kernels: $ ethtool -k enp0s31f6 | grep udp-frag udp-fragmentation-offload: off It's look like that the feature is supported and disabled only. Instead of this behavior the status of UFO should not be reported on such kernels. As the UFO is only one feature that was removed from the ethtool I have decided after discussion with John to implement only simple check for this instead of implementing more generic solution like 'max_kernel_ver field in struct off_flag_def'. Cc: John W. Linville <redacted> Signed-off-by: Ivan Vecera <redacted>
Queued for next release. -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready.