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

Yuanhan Liu yuanhan.liu at linux.intel.com
Thu Feb 16 05:40:02 CET 2017


On Wed, Feb 15, 2017 at 10:07:11AM +0200, Shahaf Shuler wrote:
> [ backported from upstream commit 3a49ffe38a9508c57343719e5272e585c8dbd96c ]
> 
> Trying to query the link status through the new ETHTOOL_GLINKSETTINGS
> ioctl available since Linux 4.5 was always failing due to a kernel bug
> fixed since version 4.9.
> 
> This commit also addresses a common issue where the headers version used
> at compile time differs from that of the kernel on the target system, by
> always defining missing symbols and moving the kernel version check at run
> time.
> 
> 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: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
> ---
> strangely i didn't had any conflicts. please let me know if you are encounter one.

My scripts first run "git format-patch", do some edits (like adding the
original commit info), then run "git am" to apply it. It failed.

I then tried "git cherry-pick" just now, as you stated, yes, it works.
Rerun "git am -3" shows that the conflict could be auto resolved.

So anyway, thanks for the backport! It's been queued to my local 16.11
branch, and it will be pushed to dpdk.org this Sat. if I got no
objections.

	--yliu


More information about the stable mailing list