common/mlx5: remove DevX dependency on Verbs and DV
authorOphir Munk <ophirmu@mellanox.com>
Thu, 7 May 2020 11:31:13 +0000 (11:31 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 May 2020 18:35:56 +0000 (20:35 +0200)
commite09d350eb5b08d7f1256aca0c3c7d415f61a5422
tree92ac59268d31db68cbf52de9c734d17524c2dc6a
parent64c563f8b1aa59d12b83884d815e1f8486099bde
common/mlx5: remove DevX dependency on Verbs and DV

File mlx5_devx_cmds.c should contain pure DevX calls. It must be OS
agnostic and not include any references to ibv or dv structs (defined in
ibverbs and rdma-core linux libraries).  This commit replaces all ibv
and dv references with 'void *'.  Specifically, the following struct
were replaced:
1. struct ibv_context *
2. struct ibv_qp *
3. struct mlx5dv_devx_cmd_comp *

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h