common/mlx5: wrap event channel functions per OS
authorTal Shnaiderman <talshn@nvidia.com>
Mon, 28 Dec 2020 09:54:19 +0000 (11:54 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:07 +0000 (16:03 +0100)
commit981746264ebc4e5b5e26f5859d809c19a4a217d5
tree93b13c1de6019542c1c93e8bb87752f5098ed4fc
parent9b7d7440e82b8cd9d77b9e3abeb87530799baeb4
common/mlx5: wrap event channel functions per OS

Wrap the API to create/destroy event channel and to subscribe an event
with OS calls. In Linux those calls are implemented by glue functions
while in Windows they are not supported.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/linux/mlx5_common_os.h
drivers/net/mlx5/mlx5_devx.c
drivers/net/mlx5/mlx5_txpp.c
drivers/vdpa/mlx5/mlx5_vdpa_event.c