net/mlx5: fix inconsistent link status query
authorGowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Tue, 25 Jul 2017 13:38:07 +0000 (19:08 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commitef09a7fc762073d9980b93bbd6fcf83e6e6b4abf
tree8ea6c114e1c3575b1775ba19af1f32525b53a662
parenteb41bf795f3d5be665a0d52ae568d7df7fa8341c
net/mlx5: fix inconsistent link status query

ETHTOOL_GLINKSETTINGS ioctl call in mlx5 pmd returns inconsistent
link status due to which any application relying on it would not
function correctly.

Fixes: 188408719888 ("net/mlx5: fix support for newer link speeds")
Cc: stable@dpdk.org
Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_ethdev.c