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

Ferruh Yigit ferruh.yigit at intel.com
Thu Feb 2 11:18:03 CET 2017


On 2/2/2017 8:20 AM, Nélio Laranjeiro wrote:
> 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?

My bad Nelio,

I converted back to original, please check.

> 
> Regards,
> 



More information about the dev mailing list