net/mlx5: prepare MR prototypes for DevX
authorOphir Munk <ophirmu@nvidia.com>
Mon, 28 Dec 2020 09:54:31 +0000 (11:54 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:07 +0000 (16:03 +0100)
commitdb12615b42ffe0902fc60b397a5892a80c8db2e6
tree1d0591e072660e63bd647ab6432b9ec182bd5290
parent1969ee4244057b9957787ad41fd884be253e05c1
net/mlx5: prepare MR prototypes for DevX

Currently MR operations are Verbs based. This commit updates MR
operations prototypes such that DevX MR operations callbacks can be used
as well.  Rename 'struct mlx5_verbs_ops' as 'struct mlx5_mr_ops' and
move it to shared file mlx5.h.

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