common/mlx5: remove memory region dependency on Verbs
authorOphir Munk <ophirmu@mellanox.com>
Tue, 16 Jun 2020 09:44:43 +0000 (09:44 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 17 Jun 2020 14:32:01 +0000 (16:32 +0200)
commit56d2067735d9ed4a3ee35ff5481c170413b9e763
treebe170efc933d44b39ccc2e3522c0b959c2641348
parentff7079a3a867c6c136bcfe311ff55d48400020ab
common/mlx5: remove memory region dependency on Verbs

Replace 'struct ibv_mr *' (in 'struct mlx5_mr') with a new 'struct
mlx5_pmd_mr'.  The new struct contains the required MR field: lkey,
addr, len and is independent of ibv.

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