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: sta...@dpdk.org >> >> Signed-off-by: Shahaf Shuler <shah...@mellanox.com>
> Acked-by: Nelio Laranjeiro <nelio.laranje...@6wind.com> Applied to dpdk-next-net/master, thanks. (Updated kernel version check to: "+#if KERNEL_VERSION(4, 9, 0) < LINUX_VERSION_CODE")