common/mlx5: add alloc/dealloc PD on Windows
authorTal Shnaiderman <talshn@nvidia.com>
Mon, 28 Dec 2020 09:54:29 +0000 (11:54 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:07 +0000 (16:03 +0100)
commit1552fb2871667be473bc541361a6689237a8b889
tree5f160d1f812188f3ac8383b4c5287baf92e5bf68
parent86576a644e1c02e1c2d375afecb983e0adc08905
common/mlx5: add alloc/dealloc PD on Windows

Implement Windows API mlx5_os_alloc_pd() and mlx5_os_dealloc_pd().
They are equivalent to the Linux implementation in [1].

[1] ("net/mlx5: wrap glue alloc/dealloc PD with OS calls")

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/rte_common_mlx5_exports.def
drivers/common/mlx5/windows/mlx5_common_os.c
drivers/common/mlx5/windows/mlx5_common_os.h
drivers/common/mlx5/windows/mlx5_win_ext.h