]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix feature check per profile
authorAya Levin <ayal@nvidia.com>
Tue, 21 Dec 2021 13:16:32 +0000 (15:16 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 7 Jan 2022 00:22:54 +0000 (16:22 -0800)
commit694effb36536d42e759aa109d04b4c88aa51077c
tree0e54a61896cd872edf9ca57d218a995857cb5768
parent4de20ad0f77c4fe63ab2ce7035edceafddfe4878
net/mlx5e: Fix feature check per profile

Remove redundant space when constructing the feature's enum. Validate
against the indented enum value.

Fixes: c6b8e1836242 ("net/mlx5e: Use bitmap field for profile features")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h