Support the MLX5 crypto driver on Windows OS by moving the driver's control path communication with the Kernel to be OS agnostic. --- Depends-on: patch 98796 ("cryptodev: build on Windows") --- Tal Shnaiderman (10): common/mlx5: add DV enums to Windows defs file common/mlx5: add an agnostic OS function to open device context common/mlx5: move pdn getter to common driver common/mlx5: add memory region OS agnostic functions for Linux crypto/mlx5: replace UNIX functions with EAL functions crypto/mlx5: use OS agnostic functions for UMEM operations crypto/mlx5: use OS agnostic functions for PD operations crypto/mlx5: use OS agnostic functions for Verbs operations crypto/mlx5: fix size of UMR WQE crypto/mlx5: support on Windows
drivers/common/mlx5/linux/mlx5_common_os.c | 98 +++++++++++++++++++ drivers/common/mlx5/mlx5_common.h | 17 ++++ drivers/common/mlx5/version.map | 5 +- drivers/common/mlx5/windows/mlx5_common_os.c | 141 ++++++++++++++++++++++++++- drivers/common/mlx5/windows/mlx5_common_os.h | 8 +- drivers/common/mlx5/windows/mlx5_win_defs.h | 12 +++ drivers/crypto/aesni_gcm/meson.build | 6 ++ drivers/crypto/aesni_mb/meson.build | 6 ++ drivers/crypto/armv8/meson.build | 6 ++ drivers/crypto/bcmfs/meson.build | 6 ++ drivers/crypto/ccp/meson.build | 1 + drivers/crypto/kasumi/meson.build | 6 ++ drivers/crypto/meson.build | 3 - drivers/crypto/mlx5/meson.build | 4 +- drivers/crypto/mlx5/mlx5_crypto.c | 80 ++++++++------- drivers/crypto/mlx5/mlx5_crypto.h | 6 +- drivers/crypto/mvsam/meson.build | 6 ++ drivers/crypto/null/meson.build | 6 ++ drivers/crypto/octeontx/meson.build | 6 ++ drivers/crypto/openssl/meson.build | 6 ++ drivers/crypto/qat/meson.build | 6 ++ drivers/crypto/scheduler/meson.build | 6 ++ drivers/crypto/snow3g/meson.build | 6 ++ drivers/crypto/virtio/meson.build | 6 ++ drivers/crypto/zuc/meson.build | 6 ++ drivers/net/mlx5/linux/mlx5_os.c | 35 ------- drivers/net/mlx5/mlx5.h | 1 - drivers/net/mlx5/windows/mlx5_os.c | 85 +--------------- 28 files changed, 402 insertions(+), 178 deletions(-) -- 2.16.1.windows.4