Re: [dpdk-stable] [PATCH v2] net/mlx5: fix link status query
From: Ferruh Yigit <hidden>
Date: 2017-02-02 10:18:03
From: Ferruh Yigit <hidden>
Date: 2017-02-02 10:18:03
On 2/2/2017 8:20 AM, Nélio Laranjeiro wrote:
On Wed, Feb 01, 2017 at 06:31:17PM +0000, Ferruh Yigit wrote:quoted
On 1/31/2017 3:42 PM, Nélio Laranjeiro wrote:quoted
On Tue, Jan 31, 2017 at 01:45:29PM +0200, Shahaf Shuler wrote:quoted
Trying to query the link status through new kernel ioctl API ETHTOOL_GLINKSETTINGS was always failing due to kernel bug. The bug was fixed on version 4.9 this patch uses the legacy ioctl API for lower kernels. Fixes: 188408719888 ("net/mlx5: fix support for newer link speeds") CC: stable@dpdk.org Signed-off-by: Shahaf Shuler <redacted>quoted
Acked-by: Nelio Laranjeiro <redacted>Applied to dpdk-next-net/master, thanks. (Updated kernel version check to: "+#if KERNEL_VERSION(4, 9, 0) < LINUX_VERSION_CODE")Ferruh, The issue is fixed in 4.9, so <= 4.9 is correct. Am I missing something?
My bad Nelio, I converted back to original, please check.
Regards,