vdpa/mlx5: add ConnectX-6 LX device ID

Message ID 20220623090004.2027433-1-wisamm@nvidia.com (mailing list archive)
State Accepted, archived
Delegated to: Maxime Coquelin
Headers
Series vdpa/mlx5: add ConnectX-6 LX device ID |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/github-robot: build success github build: passed
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-abi-testing warning Testing issues

Commit Message

Wisam Monther June 23, 2022, 9 a.m. UTC
  This adds ConnectX-6 LX to the list of supported
Mellanox devices that run the MLX5 vdpa PMD.

Signed-off-by: Wisam Jaddo <wisamm@nvidia.com>
---
 drivers/vdpa/mlx5/mlx5_vdpa.c | 4 ++++
 1 file changed, 4 insertions(+)
  

Comments

Maxime Coquelin June 23, 2022, 11:42 a.m. UTC | #1
On 6/23/22 11:00, Wisam Jaddo wrote:
> This adds ConnectX-6 LX to the list of supported
> Mellanox devices that run the MLX5 vdpa PMD.
> 
> Signed-off-by: Wisam Jaddo <wisamm@nvidia.com>
> ---
>   drivers/vdpa/mlx5/mlx5_vdpa.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime
  
Maxime Coquelin July 1, 2022, 1:57 p.m. UTC | #2
On 6/23/22 11:00, Wisam Jaddo wrote:
> This adds ConnectX-6 LX to the list of supported
> Mellanox devices that run the MLX5 vdpa PMD.
> 
> Signed-off-by: Wisam Jaddo <wisamm@nvidia.com>
> ---
>   drivers/vdpa/mlx5/mlx5_vdpa.c | 4 ++++
>   1 file changed, 4 insertions(+)


Applied to dpdk-next-virtio/main.

Thanks,
Maxime
  

Patch

diff --git a/drivers/vdpa/mlx5/mlx5_vdpa.c b/drivers/vdpa/mlx5/mlx5_vdpa.c
index 76fa5d4299..c28d6e1f9d 100644
--- a/drivers/vdpa/mlx5/mlx5_vdpa.c
+++ b/drivers/vdpa/mlx5/mlx5_vdpa.c
@@ -743,6 +743,10 @@  static const struct rte_pci_id mlx5_vdpa_pci_id_map[] = {
 		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 				PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF)
 	},
+	{
+		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+				PCI_DEVICE_ID_MELLANOX_CONNECTX6LX)
+	},
 	{
 		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 				PCI_DEVICE_ID_MELLANOX_CONNECTX7)