common/mlx5: add init for external lib on Windows
authorOphir Munk <ophirmu@nvidia.com>
Mon, 28 Dec 2020 09:54:25 +0000 (11:54 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:07 +0000 (16:03 +0100)
commite11fe027f6597998a54a1fe3f1e7462db5b283f5
tree70f0abadec172e1b8f043cba45ba2ade941eb949
parentf0a0a3bbef95621c5151b2558d3d8516638a8f60
common/mlx5: add init for external lib on Windows

Add function mlx5_glue_constructor() as an initialization routine for
run-time dependency on external lib.  Currently the routine has an empty
body. It is used for compatibility with Linux.

Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/windows/meson.build
drivers/common/mlx5/windows/mlx5_common_os.c [new file with mode: 0644]