common/mlx5: add getter functions on Windows
authorOphir Munk <ophirmu@nvidia.com>
Mon, 28 Dec 2020 09:54:28 +0000 (11:54 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:07 +0000 (16:03 +0100)
commit86576a644e1c02e1c2d375afecb983e0adc08905
tree0d32ac1f92463984b465c12ca6777ee6b4f453bd
parente961c8e31e9660876b16adca596dafe419aa5d1b
common/mlx5: add getter functions on Windows

Add file mlx5/windows/mlx5_common_os.h the equivalent of Linux file
mlx5/linux/mlx5_common_os.h. It contains getters functions
mlx5_os_get_dev_device_name, mlx5_os_get_ctx_device_name,
mlx5_os_get_ctx_device_path, mlx5_os_get_umem_id,
mlx5_os_get_devx_channel_fd.

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