[dpdk-dev] [PATCH] net/mlx5: fix use of bit numbers instead of masks

Nelio Laranjeiro nelio.laranjeiro at 6wind.com
Fri Nov 10 15:49:37 CET 2017


On Fri, Nov 10, 2017 at 02:18:04PM +0000, Edward Makarov wrote:
> 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: nelio.laranjeiro at 6wind.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Edward Makarov <makarov at kraftway.ru>

Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>

Indeed, nice catch.

Thanks,

-- 
Nélio Laranjeiro
6WIND


More information about the dev mailing list