From patchwork Mon Jan 13 02:29:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanxiao Li X-Patchwork-Id: 149919 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 2958F46063; Mon, 13 Jan 2025 03:41:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7763240695; Mon, 13 Jan 2025 03:41:24 +0100 (CET) Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.40]) by mails.dpdk.org (Postfix) with ESMTP id D11E84066F for ; Mon, 13 Jan 2025 03:41:18 +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 mxhk.zte.com.cn (FangMail) with ESMTPS id 4YWc2g3rZ3z8R03x for ; Mon, 13 Jan 2025 10:41:15 +0800 (CST) Received: from szxlzmapp02.zte.com.cn ([10.5.231.79]) by mse-fl2.zte.com.cn with SMTP id 50D2epx6077064 for ; Mon, 13 Jan 2025 10:40:51 +0800 (+08) (envelope-from li.hanxiao@zte.com.cn) Received: from localhost.localdomain (unknown [192.168.6.15]) by smtp (Zmail) with SMTP; Wed, 13 Jan 2025 10:40:52 +0800 X-Zmail-TransId: 3e8167847d34002-87881 From: Hanxiao Li To: dev@dpdk.org Cc: Hanxiao Li Subject: [PATCH v24 01/13] config: add zsda device number Date: Mon, 13 Jan 2025 10:29:26 +0800 Message-ID: <20250113022943.2603401-2-li.hanxiao@zte.com.cn> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250113022943.2603401-1-li.hanxiao@zte.com.cn> References: <20250109104203.2404659-2-li.hanxiao@zte.com.cn> <20250113022943.2603401-1-li.hanxiao@zte.com.cn> MIME-Version: 1.0 X-MAIL: mse-fl2.zte.com.cn 50D2epx6077064 X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 67847D4B.000/4YWc2g3rZ3z8R03x 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