[PATCH 4/9] gpu/cuda: add new Hopper GPU IDs

Gregory Etelson
2025-09-15T14:43:36Z

From: Elena Agostini <eagostini@nvidia.com>

Add a new NVIDIA Hopper GPU IDs.

Signed-off-by: Elena Agostini <eagostini@nvidia.com>
---
drivers/gpu/cuda/cuda.c | 8 ++++++++
drivers/gpu/cuda/devices.h | 2 ++
2 files changed, 10 insertions(+)

diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c
index 21c4fe9bef..9eb748dd2e 100644
--- a/drivers/gpu/cuda/cuda.c
+++ b/drivers/gpu/cuda/cuda.c
@@ -255,6 +255,14 @@ static const struct rte_pci_id pci_id_cuda_map[] = {
RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
NVIDIA_GPU_HOPPER_GRACE)
},
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_GPU_H100_GH1_DEVICE_ID)
+ },
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_GPU_H100_GH3_DEVICE_ID)
+ },
{
.device_id = 0
}
diff --git a/drivers/gpu/cuda/devices.h b/drivers/gpu/cuda/devices.h
index 5d9c7616f2..9f93132217 100644
--- a/drivers/gpu/cuda/devices.h
+++ b/drivers/gpu/cuda/devices.h
@@ -69,5 +69,7 @@
#define NVIDIA_GPU_T4 (0x1eb8)

#define NVIDIA_GPU_HOPPER_GRACE (0x2342)
+#define NVIDIA_GPU_H100_GH1_DEVICE_ID (0x2342)
+#define NVIDIA_GPU_H100_GH3_DEVICE_ID (0x237e)

#endif /* CUDA_DEVICES_H */
--
2.48.1