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)
commitbc2a7b5c6b379d0f6e685b29fe04d2f7310c693d
tree0e54a61896cd872edf9ca57d218a995857cb5768
parent7846665d3504812acaebf920d1141851379a7f37
net/mlx5e: Fix feature check per profile

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

Fixes: 6c72cb05d4b8 ("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