]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f21f1b7067d3a149783bbc76d04167f27e7f90a
treee877f4394ceee48fecb0d2ccadc8c9c2d775d11e
parent802ef0abfb0ed3460ec4f6aece49bd85ac742df1
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/core/mlx5_vdpa_ifc.h [deleted file]
drivers/vdpa/mlx5/net/main.c
drivers/vdpa/mlx5/net/mlx5_vnet.c
include/linux/mlx5/mlx5_ifc_vdpa.h [new file with mode: 0644]