From patchwork Thu Jan 9 10:42:03 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanxiao Li X-Patchwork-Id: 149760 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 24F7445F6A; Thu, 9 Jan 2025 11:52:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14C6640B94; Thu, 9 Jan 2025 11:52:36 +0100 (CET) Received: from mxct.zte.com.cn (mxct.zte.com.cn [183.62.165.209]) by mails.dpdk.org (Postfix) with ESMTP id 7BC0140B90 for ; Thu, 9 Jan 2025 11:52:34 +0100 (CET) Received: from mse-fl2.zte.com.cn (unknown [10.5.228.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxct.zte.com.cn (FangMail) with ESMTPS id 4YTM7K4b0lz501bt for ; Thu, 9 Jan 2025 18:52:29 +0800 (CST) Received: from szxl2zmapp06.zte.com.cn ([10.1.32.108]) by mse-fl2.zte.com.cn with SMTP id 509Aq1l1039749 for ; Thu, 9 Jan 2025 18:52:01 +0800 (+08) (envelope-from li.hanxiao@zte.com.cn) Received: from localhost.localdomain (unknown [192.168.6.15]) by smtp (Zmail) with SMTP; Sat, 9 Jan 2025 18:52:04 +0800 X-Zmail-TransId: 3e81677faa54002-53ac9 From: Hanxiao Li To: dev@dpdk.org Cc: Hanxiao Li Subject: [PATCH v23 01/13] config: add zsda device number Date: Thu, 9 Jan 2025 18:42:03 +0800 Message-ID: <20250109104203.2404659-2-li.hanxiao@zte.com.cn> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250109104203.2404659-1-li.hanxiao@zte.com.cn> References: <20241113022918.3228337-2-li.hanxiao@zte.com.cn> <20250109104203.2404659-1-li.hanxiao@zte.com.cn> MIME-Version: 1.0 X-MAIL: mse-fl2.zte.com.cn 509Aq1l1039749 X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 677FAA6D.000/4YTM7K4b0lz501bt 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 Add the number of zsda devices. Signed-off-by: Hanxiao Li --- config/rte_config.h | 4 ++++ 1 file changed, 4 insertions(+) -- 2.27.0 diff --git a/config/rte_config.h b/config/rte_config.h index 3734db6bdc..86897de75e 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -119,6 +119,10 @@ #define RTE_PMD_QAT_COMP_SGL_MAX_SEGMENTS 16 #define RTE_PMD_QAT_COMP_IM_BUFFER_SIZE 65536 +/* ZSDA device */ +/* Max. number of ZSDA devices which can be attached */ +#define RTE_PMD_ZSDA_MAX_PCI_DEVICES 256 + /* virtio crypto defines */ #define RTE_MAX_VIRTIO_CRYPTO 32