From: Cliff Burdick <cburdick@nvidia.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [PATCH] gpu: add support for rtx 6000 variant
Date: Fri, 29 Apr 2022 16:52:46 +0000 [thread overview]
Message-ID: <BYAPR12MB359134D71AB0F853DCB1E9F8ABFC9@BYAPR12MB3591.namprd12.prod.outlook.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1653 bytes --]
gpu: added second RTX 6000 device ID variant
Added second GPU PCI device ID for RTX 6000
Signed-off-by: Cliff Burdick <cburdick@nvidia.com<mailto:cburdick@nvidia.com>>
---
drivers/gpu/cuda/cuda.c | 6 +++++-
drivers/gpu/cuda/devices.h | 3 ++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c
index 5b8476ac20..d33e8e5116 100644
--- a/drivers/gpu/cuda/cuda.c
+++ b/drivers/gpu/cuda/cuda.c
@@ -197,8 +197,12 @@ static const struct rte_pci_id pci_id_cuda_map[] = {
},
{
RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
- NVIDIA_GPU_QUADRO_RTX_6000)
+ NVIDIA_GPU_QUADRO_RTX_6000_1)
},
+ {
+ RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
+ NVIDIA_GPU_QUADRO_RTX_6000_2)
+ },
{
RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID,
NVIDIA_GPU_QUADRO_RTX_8000)
diff --git a/drivers/gpu/cuda/devices.h b/drivers/gpu/cuda/devices.h
index e6502910f3..59933f0e49 100644
--- a/drivers/gpu/cuda/devices.h
+++ b/drivers/gpu/cuda/devices.h
@@ -52,7 +52,8 @@
#define NVIDIA_GPU_GV100_QUADRO_DEVICE_ID (0x1dba)
#define NVIDIA_GPU_QUADRO_RTX_4000 (0x1eb1)
#define NVIDIA_GPU_QUADRO_RTX_5000 (0x1eb0)
-#define NVIDIA_GPU_QUADRO_RTX_6000 (0x13d9)
+#define NVIDIA_GPU_QUADRO_RTX_6000_1 (0x13d9)
+#define NVIDIA_GPU_QUADRO_RTX_6000_2 (0x1e30)
#define NVIDIA_GPU_QUADRO_RTX_8000 (0x13d8)
#define NVIDIA_GPU_QUADRO_RTX_A4000 (0x24b0)
#define NVIDIA_GPU_QUADRO_RTX_A6000 (0x2230)
--
2.17.1
[-- Attachment #2: Type: text/html, Size: 6156 bytes --]
next reply other threads:[~2022-04-29 16:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-29 16:52 Cliff Burdick [this message]
2023-09-29 14:55 ` David Marchand
2023-10-05 12:50 ` Elena Agostini
2023-10-06 7:53 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BYAPR12MB359134D71AB0F853DCB1E9F8ABFC9@BYAPR12MB3591.namprd12.prod.outlook.com \
--to=cburdick@nvidia.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).