[v2] compress/mlx5: add Bluefield-3 device ID

Message ID 20221121141246.21143-1-rasland@nvidia.com (mailing list archive)
State Accepted, archived
Headers
Series [v2] compress/mlx5: add Bluefield-3 device ID |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/github-robot: build success github build: passed
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS

Commit Message

Raslan Darawsheh Nov. 21, 2022, 2:12 p.m. UTC
  This adds the Bluefield-3 device ids to the list of
supported NVIDIA devices that run the MLX5 compress PMDs.
The devices is still in development stage.

Signed-off-by: Raslan Darawsheh <rasland@nvidia.com>
---
v2: update commit msg to mention the device is actually still in
development stage.

---
 drivers/compress/mlx5/mlx5_compress.c | 4 ++++
 1 file changed, 4 insertions(+)
  

Comments

Thomas Monjalon Nov. 21, 2022, 7:44 p.m. UTC | #1
21/11/2022 15:12, Raslan Darawsheh:
> This adds the Bluefield-3 device ids to the list of
> supported NVIDIA devices that run the MLX5 compress PMDs.
> The devices is still in development stage.
> 
> Signed-off-by: Raslan Darawsheh <rasland@nvidia.com>

Applied, thanks.
  

Patch

diff --git a/drivers/compress/mlx5/mlx5_compress.c b/drivers/compress/mlx5/mlx5_compress.c
index 3d2c45fcee..fb2bda9745 100644
--- a/drivers/compress/mlx5/mlx5_compress.c
+++ b/drivers/compress/mlx5/mlx5_compress.c
@@ -790,6 +790,10 @@  static const struct rte_pci_id mlx5_compress_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_CONNECTX7BF)
+	},
 	{
 		.vendor_id = 0
 	}