]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49b5c5eb494b8d3e605071bc40f00066c7fb9afc
tree472a7d83ce17ed8da5b4939b015462be276849e5
parenta2f37a41c4bbd31f4859af9d38a0c9091eeb43ac
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