net/mlx5: wrap glue alloc/dealloc PD per OS
authorOphir Munk <ophirmu@nvidia.com>
Mon, 28 Dec 2020 09:54:13 +0000 (11:54 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:07 +0000 (16:03 +0100)
commit1cb210abddfaa2f00f0a804ce41b7a81e6093945
treec139542509e348972cb3b8bf1095f2723700d4c5
parent9b9890e20dc4541fd06bc5666e5fb8a507dfb3e9
net/mlx5: wrap glue alloc/dealloc PD per OS

Wrap glue calls alloc_pd() and dealloc_pd() with generic OS calls.  In
Linux - protection domain allocations are implemented by Verbs glue API
while in Windows it is by DevX API.

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