vdpa/mlx5: Make hardware definitions visible to all mlx5 devices
authorLeon Romanovsky <leonro@nvidia.com>
Tue, 6 Oct 2020 09:34:25 +0000 (12:34 +0300)
committerLeon Romanovsky <leonro@nvidia.com>
Fri, 4 Dec 2020 12:46:56 +0000 (14:46 +0200)
commit0aae392bea4da1a2a9f2e22683c0fa751dc07333
treee877f4394ceee48fecb0d2ccadc8c9c2d775d11e
parent17a7612b99e66d2539341ab4f888f970c2c7f76d
vdpa/mlx5: Make hardware definitions visible to all mlx5 devices

Move mlx5_vdpa IFC header file to the general include folder, so
mlx5_core will be able to reuse it to check if VDPA is supported
prior to creating an auxiliary device.

As part of this move, update the header file name to mlx5 general
naming scheme.

Reviewed-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/vdpa/mlx5/net/main.c
drivers/vdpa/mlx5/net/mlx5_vnet.c
include/linux/mlx5/mlx5_ifc_vdpa.h [moved from drivers/vdpa/mlx5/core/mlx5_vdpa_ifc.h with 96% similarity]