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

Ferruh Yigit ferruh.yigit at intel.com
Wed Feb 1 19:31:17 CET 2017


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")



More information about the dev mailing list