From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CAE3F4234B; Tue, 10 Oct 2023 12:02:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 788FB40297; Tue, 10 Oct 2023 12:02:29 +0200 (CEST) Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) by mails.dpdk.org (Postfix) with ESMTP id 5848A40278 for ; Tue, 10 Oct 2023 12:02:28 +0200 (CEST) Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-9b96c3b4be4so927047166b.1 for ; Tue, 10 Oct 2023 03:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696932148; x=1697536948; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QjVs7atX5FugqNik1ja45f/HehN2Fg0JUKgr2vgwX8M=; b=fnhcoxFAk7z99sAE0/diHD++zMwTRl2hhWWw3Hqy0FL/rZibUwI/sI07HPE8doZtMg Fx8GeVBizk8ugolEsNOnEY6yIQWiHB0Y2HARwEXoFxGq/3t5mzsBMtLSB/w3NoLMIVkL 4CfbH41vomqxGiukFRncebYuOivVxSY6qwNhljbcoAHGw4xnrOfxFtQEyGwWFg7U5o09 X+yFuZi2an/1WQ8K5WVNOdFNLboBwbN2TDLeGqTcygszz7mgdvRR55wj4p5CRwbRxkDv pJ+H0hKIeTi+BzV8EQL4aEXoxh3PqIVnhgeK7b/6NrOZmbHJ1pBIrYXjDIlRKPoWjk9n Gq2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696932148; x=1697536948; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QjVs7atX5FugqNik1ja45f/HehN2Fg0JUKgr2vgwX8M=; b=JwCYZpG6GwSHfqsgTsDceooGanN+0wt7BZTsD4oTab0PEm1ZH8hN+XYpHhmK+uW64s fPOZma8bfftHib4ohtrZkdOUSjPqrNJprRZnL8VcYnFtYo1y47jHLYcBKc6nkMvvy2i2 rHApl9rSARdDh911hW91lhbJ+zgevqfP1eetvQM+ter9CwkEzNaQPZVIHCUw1USrp7+H gkf13TT2N31pWbM+ocJPwZwLaOppXYd0tNjv46xf35sRVJdL/+zMFrsOKIRZKACCDAxy /GRbRuoVji+shc+VHR2MBXP2Km+RlAlw4oGnBKD40s8XgdcYqSedUp3Ch96iVD67ZLOC S/8Q== X-Gm-Message-State: AOJu0Ywm3Gf1I7c1PNedT8Errlzlitl4kMMJANN9IjUMc8f320+lZhyA eidqkhwBTpCiO+Sd5KFEKsDi1SlXi8I= X-Google-Smtp-Source: AGHT+IGMQNvimh24bkj2czu+FlfqAOy9J6BOg7Zgeyp+MN3CSdsOnUtbuHdbG9XbYJBwP1lNqcO7DQ== X-Received: by 2002:a17:906:2da:b0:9ae:74d1:4b45 with SMTP id 26-20020a17090602da00b009ae74d14b45mr17489210ejk.65.1696932147722; Tue, 10 Oct 2023 03:02:27 -0700 (PDT) Received: from localhost.localdomain ([176.41.31.9]) by smtp.gmail.com with ESMTPSA id rn18-20020a170906d93200b0098ec690e6d7sm8181391ejb.73.2023.10.10.03.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 03:02:27 -0700 (PDT) From: Levend Sayar To: eagostini@nvidia.com Cc: dev@dpdk.org, Levend Sayar Subject: [PATCH] gpu/cuda: add PCI device ID for NVIDIA TU102GL [Quadro RTX 6000/8000] Date: Tue, 10 Oct 2023 13:02:14 +0300 Message-Id: <20231010100214.33484-1-levendsayar@gmail.com> X-Mailer: git-send-email 2.39.3 (Apple Git-145) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org PCI device ID is added for NVIDIA TU102GL [Quadro RTX 6000/8000] GPU card. Signed-off-by: Levend Sayar --- drivers/gpu/cuda/cuda.c | 4 ++++ drivers/gpu/cuda/devices.h | 1 + 2 files changed, 5 insertions(+) diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c index a552aabeb8..00133696d7 100644 --- a/drivers/gpu/cuda/cuda.c +++ b/drivers/gpu/cuda/cuda.c @@ -203,6 +203,10 @@ static const struct rte_pci_id pci_id_cuda_map[] = { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, NVIDIA_GPU_QUADRO_RTX_8000) }, + { + RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, + NVIDIA_GPU_QUADRO_RTX_8000_2) + }, { RTE_PCI_DEVICE(NVIDIA_GPU_VENDOR_ID, NVIDIA_GPU_QUADRO_RTX_A4000) diff --git a/drivers/gpu/cuda/devices.h b/drivers/gpu/cuda/devices.h index e6502910f3..94e4ee218c 100644 --- a/drivers/gpu/cuda/devices.h +++ b/drivers/gpu/cuda/devices.h @@ -54,6 +54,7 @@ #define NVIDIA_GPU_QUADRO_RTX_5000 (0x1eb0) #define NVIDIA_GPU_QUADRO_RTX_6000 (0x13d9) #define NVIDIA_GPU_QUADRO_RTX_8000 (0x13d8) +#define NVIDIA_GPU_QUADRO_RTX_8000_2 (0x1e30) #define NVIDIA_GPU_QUADRO_RTX_A4000 (0x24b0) #define NVIDIA_GPU_QUADRO_RTX_A6000 (0x2230) #define NVIDIA_GPU_QUADRO_RTX_A5000 (0x2231) -- 2.39.3 (Apple Git-145)