net/mlx5: fix link speed bitmasks
authorEdward Makarov <makarov@kraftway.ru>
Fri, 10 Nov 2017 14:18:04 +0000 (14:18 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 11 Nov 2017 14:54:16 +0000 (15:54 +0100)
The constant ETHTOOL_LINK_MODE_1000baseT_Full_BIT and the others like
that in mlx5_link_update_unlocked_gs must be bit masks but unfortunately
they are bit numbers. This commit fixes the issue.

Fixes: 188408719888 ("net/mlx5: fix support for newer link speeds")
Cc: stable@dpdk.org
Signed-off-by: Edward Makarov <makarov@kraftway.ru>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>

No differences found