[dpdk-dev] [dpdk-stable] [PATCH v2] net/mlx5: fix link status query

Nélio Laranjeiro nelio.laranjeiro at 6wind.com
Thu Feb 2 09:20:27 CET 2017


On Wed, Feb 01, 2017 at 06:31:17PM +0000, Ferruh Yigit wrote:
> On 1/31/2017 3:42 PM, Nélio Laranjeiro wrote:
> > On Tue, Jan 31, 2017 at 01:45:29PM +0200, Shahaf Shuler wrote:
> >> 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 at dpdk.org
> >>
> >> Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
> 
> > Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
> 
> 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?

Regards,

-- 
Nélio Laranjeiro
6WIND


More information about the dev mailing list