net/mlx5: Align flow steering allocation namespace to common style
authorLeon Romanovsky <leonro@nvidia.com>
Wed, 6 Apr 2022 08:25:47 +0000 (11:25 +0300)
committerLeon Romanovsky <leonro@nvidia.com>
Sat, 9 Apr 2022 05:25:07 +0000 (08:25 +0300)
commita6a9eaf14222434ba1bdfcdaa2c5a27dbd126972
tree472a7d83ce17ed8da5b4939b015462be276849e5
parent2451da081a343e079d9f5a7b063fcdf0bc439aa8
net/mlx5: Align flow steering allocation namespace to common style

Flow steering is a low level internal driver API, as such it relies on
the callers to check if namespace is supported and not rely on some
compilation flag.

Link: https://lore.kernel.org/r/cfb411a8a9ed2a1471810af254bdc0f03469f79c.1649232994.git.leonro@nvidia.com
Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c