common/mlx5: share VF check function
authorMichael Baum <michaelba@nvidia.com>
Mon, 14 Feb 2022 09:35:01 +0000 (11:35 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Mon, 21 Feb 2022 10:36:46 +0000 (11:36 +0100)
commitc4c3e8afefa8b7e7bc19073f9a159d50c75c8770
treee95230099be09bd943e909bc83aed33daea0511c
parent8f464810014ff46644218b81af3e1f59f87105d5
common/mlx5: share VF check function

The check if device is VF work for Linux as same as Windows.
This patch removes it to the function implemented in the folder shared
between the operating systems, removing the duplication.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_common.h
drivers/common/mlx5/mlx5_common_pci.c
drivers/common/mlx5/version.map
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/windows/mlx5_os.c