Skip to contentSkip to conversation

crypto/mlx5: add virtual function device ID

PATCH Applied Suanming Mou 3 participants 5 messages Mar 1, 2024 – Mar 4, 2024 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto/mlx5: add virtual function device ID

This adds the virtual function device ID to the list of supported NVIDIA devices that run the MLX5 compress PMD.

---
 drivers/crypto/mlx5/mlx5_crypto.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/crypto/mlx5/mlx5_crypto.c +4 -0
index 4bac723c8b..26bd4087da 100644
@@ -465,6 +465,10 @@ static const struct rte_pci_id mlx5_crypto_pci_id_map[] = {
 			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 					PCI_DEVICE_ID_MELLANOX_BLUEFIELD3)
 		},
+		{
+			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+					PCI_DEVICE_ID_MELLANOX_CONNECTXVF)
+		},
 		{
 			.vendor_id = 0
 		}
Signature · 1 line
2.34.1
#1 lore raw

The Community CI Testing Lab had an infra failure this morning and some patches including yours were affected with false failures. The issue is now resolved and we are rerunning the tests in question for all patches submitted today.

Quoted 30 lines · Suanming Mou

This adds the virtual function device ID to the list of supported NVIDIA devices that run the MLX5 compress PMD.

---
 drivers/crypto/mlx5/mlx5_crypto.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/crypto/mlx5/mlx5_crypto.c +4 -0
index 4bac723c8b..26bd4087da 100644
@@ -465,6 +465,10 @@ static const struct rte_pci_id
 mlx5_crypto_pci_id_map[] = {
                        RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
                                        PCI_DEVICE_ID_MELLANOX_BLUEFIELD3)
                },
+               {
+                       RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+                                       PCI_DEVICE_ID_MELLANOX_CONNECTXVF)
+               },
                {
                        .vendor_id = 0
                }

--
2.34.1

#2 lore raw
In reply to Suanming Mou
Quoted 4 lines

Subject: [EXTERNAL] [PATCH] crypto/mlx5: add virtual function device ID

This adds the virtual function device ID to the list of supported NVIDIA devices that run the MLX5 compress PMD.

Compress PMD or crypto PMD?

Quoted 28 lines
---
 drivers/crypto/mlx5/mlx5_crypto.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/crypto/mlx5/mlx5_crypto.c +4 -0
index 4bac723c8b..26bd4087da 100644
@@ -465,6 +465,10 @@ static const struct rte_pci_id mlx5_crypto_pci_id_map[]
 = {
 			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 
 	PCI_DEVICE_ID_MELLANOX_BLUEFIELD3)
 		},
+		{
+			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+
 	PCI_DEVICE_ID_MELLANOX_CONNECTXVF)
+		},
drivers/crypto/mlx5/mlx5_crypto.c +0 -1
 		{
 			.vendor_id = 0
 		}
--

2.34.1

#3 lore raw
Quoted 10 lines

-----Original Message-----
From: Akhil Goyal <[email protected]>
Sent: Monday, March 4, 2024 3:24 PM
To: Suanming Mou <[email protected]>; Matan Azrad <[email protected]>
Cc: [email protected]
Subject: RE: [EXTERNAL] [PATCH] crypto/mlx5: add virtual function device ID

Quoted 7 lines
Quoted 5 lines

Subject: [EXTERNAL] [PATCH] crypto/mlx5: add virtual function device ID

This adds the virtual function device ID to the list of supported NVIDIA devices that run the MLX5 compress PMD.

Compress PMD or crypto PMD?

Sorry, it should be crypto.

Quoted 29 lines
Quoted 29 lines
---
 drivers/crypto/mlx5/mlx5_crypto.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/crypto/mlx5/mlx5_crypto.c +4 -0
index 4bac723c8b..26bd4087da 100644
@@ -465,6 +465,10 @@ static const struct rte_pci_id
 mlx5_crypto_pci_id_map[] = {
 			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 
 	PCI_DEVICE_ID_MELLANOX_BLUEFIELD3)
 		},
+		{
+			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+
 	PCI_DEVICE_ID_MELLANOX_CONNECTXVF)
+		},
drivers/crypto/mlx5/mlx5_crypto.c +0 -1
 		{
 			.vendor_id = 0
 		}
--

2.34.1

Applied
#4 lore raw
Quoted 11 lines
Quoted 9 lines

Subject: RE: [EXTERNAL] [PATCH] crypto/mlx5: add virtual function device ID

Quoted 5 lines

Subject: [EXTERNAL] [PATCH] crypto/mlx5: add virtual function device ID

This adds the virtual function device ID to the list of supported NVIDIA devices that run the MLX5 compress PMD.

Compress PMD or crypto PMD?

Sorry, it should be crypto.

Applied to dpdk-next-crypto with the above change. Thanks.