net/mlx5: fix ethtool link setting call order
authorShahaf Shuler <shahafs@mellanox.com>
Tue, 1 May 2018 09:58:48 +0000 (12:58 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:48 +0000 (22:31 +0100)
commit7d2e32f76cfccdbc565738a9bfb9ca4512e7f238
treeeb1dcdbd40151e19fe2fae23f0d07ecfca75892f
parent088aed4b892e5e401af7fc5607c1eeaff563ebd1
net/mlx5: fix ethtool link setting call order

According to ethtool_link_setting API recommendation ETHTOOL_GLINKSETTINGS
should be called before ETHTOOL_GSET as the later one deprecated.

Fixes: f47ba80080ab ("net/mlx5: remove kernel version check")

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_ethdev.c