[v2,3/4] crypto/mlx5: add Bluefield-3 and ConnectX-7 device IDs

Message ID 20230216140415.2730446-4-rasland@nvidia.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series support NVIDIA Bluefield-3 device |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Raslan Darawsheh Feb. 16, 2023, 2:04 p.m. UTC
  This adds the Bluefield-3 and ConnectX-7 device IDs to the
list of supported NVIDIA devices that run the MLX5 compress PMD.
The BlueField-3 device is still in development stage.

Signed-off-by: Raslan Darawsheh <rasland@nvidia.com>
---
 drivers/crypto/mlx5/mlx5_crypto.c | 8 ++++++++
 1 file changed, 8 insertions(+)
  

Patch

diff --git a/drivers/crypto/mlx5/mlx5_crypto.c b/drivers/crypto/mlx5/mlx5_crypto.c
index 2988642857..5267f48c1e 100644
--- a/drivers/crypto/mlx5/mlx5_crypto.c
+++ b/drivers/crypto/mlx5/mlx5_crypto.c
@@ -994,6 +994,14 @@  static const struct rte_pci_id mlx5_crypto_pci_id_map[] = {
 			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 					PCI_DEVICE_ID_MELLANOX_BLUEFIELD2)
 		},
+		{
+			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+					PCI_DEVICE_ID_MELLANOX_CONNECTX7)
+		},
+		{
+			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+					PCI_DEVICE_ID_MELLANOX_BLUEFIELD3)
+		},
 		{
 			.vendor_id = 0
 		}