net/mlx5: wrap adjust flow priority per OS
authorOphir Munk <ophirmu@nvidia.com>
Mon, 28 Dec 2020 12:32:48 +0000 (14:32 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:08 +0000 (16:03 +0100)
commitc604d92af757cc9061794dd27974eaa36d66d992
tree7aae36c7cfb8b75e6718a5c4cf3668543c591873
parente7252614cdffb356cb2458b03ce90f4d6c884ed9
net/mlx5: wrap adjust flow priority per OS

mlx5_flow_adjust_priority() is used to adjust priorities according to
priorities levels. It is Verbs based and it is called from shared code
(mlx5_flow_dv.c). Therefore, wrap it in an OS API.

Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/linux/mlx5_flow_os.h
drivers/net/mlx5/mlx5_flow_dv.c