net/mlx5: support device removed query on Windows
authorTal Shnaiderman <talshn@nvidia.com>
Mon, 28 Dec 2020 12:32:41 +0000 (14:32 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:08 +0000 (16:03 +0100)
commit165e5d07ce8880f47d2d4428c9537cf04d4ae87b
treed12cec956937158aa6bd80df2f3c84fd7e1be654
parent49c797f8ab605b5b7752222fbee3c497a8ddaf3b
net/mlx5: support device removed query on Windows

This commit implements mlx5_is_removed() API. A new glue call
'init_shutdown_event' is added to support the new API.

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