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 47FC1460D4; Tue, 21 Jan 2025 15:37:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14ADA40280; Tue, 21 Jan 2025 15:37:47 +0100 (CET) Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id D363B4021F for ; Tue, 21 Jan 2025 15:37:45 +0100 (CET) Received: from pps.filterd (m0431384.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50LCLld5025042 for ; Tue, 21 Jan 2025 06:37:45 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=pfpt0220; bh=uQPqiqCHTy9ALdiNwCalS/D BMJbcOF801w/RERWEvS0=; b=b2HwXMGpPQFGKu7BH88sHNDQ4NYDwOWcMZP4sli x2Fjys6pG3s7FLXGzXUoyEH9xoX6THmLhGYdW03VQY2bTcjIfyczmQ5jPky++Tqq 0U2BC2crLZoy3wIT/lkKDEIV2uF56vz/TTw5XXH4QWIVGJTXyaxP2agVcmaWSLUS BytYwZ7uOEY3DxAMcq4XzeqOq20h3vx5w3QGAyt+Jma515cD54MB2mJXnsdOFqa3 MkJXzmrLVvMCrS6O4FgAOBEarbVnaDKmGxKShAS350exoZs/JvF+c+D1sFNQF0YS Dof9WbEoV7PJL9Sn63qLevzkQ0AW5AH2EMwAAUZuyv+0qqg== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 44abgj86yj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 21 Jan 2025 06:37:44 -0800 (PST) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 21 Jan 2025 06:37:39 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 21 Jan 2025 06:37:39 -0800 Received: from cavium-VAMSI-BM.. (unknown [10.28.36.156]) by maili.marvell.com (Postfix) with ESMTP id BFA2B3F70A6; Tue, 21 Jan 2025 06:37:37 -0800 (PST) From: Vamsi Krishna To: CC: , Vamsi Attunuru Subject: [PATCH v0 1/1] dma/cnxk: increase vchan count Date: Tue, 21 Jan 2025 20:07:31 +0530 Message-ID: <20250121143731.2170814-1-vattunuru@marvell.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: bEOICkZ51r7NspuWdIEEHgr28jqminbk X-Proofpoint-ORIG-GUID: bEOICkZ51r7NspuWdIEEHgr28jqminbk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-21_06,2025-01-21_02,2024-11-22_01 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 From: Vamsi Attunuru Increase vchan count to 128 to enable the DPDK applications to leverage the max number the vchan instances. Signed-off-by: Vamsi Attunuru --- drivers/dma/cnxk/cnxk_dmadev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/cnxk/cnxk_dmadev.h b/drivers/dma/cnxk/cnxk_dmadev.h index 39fd6afbe9..a95ce13f62 100644 --- a/drivers/dma/cnxk/cnxk_dmadev.h +++ b/drivers/dma/cnxk/cnxk_dmadev.h @@ -29,7 +29,7 @@ #define CNXK_DPI_MAX_DESC 32768 #define CNXK_DPI_MIN_DESC 2 #define CN10K_DPI_MAX_PRI 2 -#define CNXK_DPI_MAX_VCHANS_PER_QUEUE 4 +#define CNXK_DPI_MAX_VCHANS_PER_QUEUE 128 #define CNXK_DPI_QUEUE_BUF_SIZE 16256 #define CNXK_DPI_QUEUE_BUF_SIZE_V2 130944 #define CNXK_DPI_POOL_MAX_CACHE_SZ (16) -- 2.34.1