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 A425D45502; Thu, 27 Jun 2024 07:15:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 93F0440697; Thu, 27 Jun 2024 07:15:32 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 0957440696 for ; Thu, 27 Jun 2024 07:15:30 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45R2vmjQ001296; Wed, 26 Jun 2024 22:15:30 -0700 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=xYfVuYOaEhRNEoxZ7JIkcv5 2v5yCiT7wzviDrQbmKeM=; b=A3uTLW/E41FerrC2c2d0ewVMdvnmCVbUKaNenlH QPORQS7JxMQahcZIDLjsHkNUgWvsDXN++m1UgEJ00OMe2g4/gXHKfuksYUSTLYYI B+3PLBa5bPSynUjcrgA+TVAMOPAkk4pEzLZEPdd6aBcusU/9G+6wlTT2Zr2mdu6W VQ+nRJgar+39kdRBX2t4X+W+0ZamM+wsbJ0ywuiyKOXPIAl5SQUrnVB5ZCu7uesz 7fckjCxD2luyH+FcB7Z05hH8RSr6lhcg0x9hcNAvaLWF4E5FBy1ZMFBfvhzZUR5I S/Jb2sMpRePYj4YVtsnGRIiAQ/QtRt6XupFCPTffy+3esbA== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 400yrt0bd1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Jun 2024 22:15:29 -0700 (PDT) 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; Wed, 26 Jun 2024 22:15:28 -0700 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; Wed, 26 Jun 2024 22:15:28 -0700 Received: from localhost.localdomain (unknown [10.28.36.177]) by maili.marvell.com (Postfix) with ESMTP id 239A03F7071; Wed, 26 Jun 2024 22:15:25 -0700 (PDT) From: Aakash Sasidharan To: Jerin Jacob CC: , , , , , Subject: [PATCH] app/eventdev: increase default queue depth for cryptodev Date: Thu, 27 Jun 2024 10:45:24 +0530 Message-ID: <20240627051524.1682347-1-asasidharan@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: m5huU-HlGAD3J6QMu_6QvrL1KCx7s38c X-Proofpoint-ORIG-GUID: m5huU-HlGAD3J6QMu_6QvrL1KCx7s38c X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-27_02,2024-06-25_01,2024-05-17_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 With crypto adapter, larger queue depths are desirable since same queue could be used from multiple cores at the same time. With devices that are capable of doing large bursts, larger queues would help in multi core management of same queue. Increase default queue depth in cryptodev to cater to such use cases. Signed-off-by: Aakash Sasidharan --- app/test-eventdev/test_perf_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c index db0f9c1f3b..66d22cd559 100644 --- a/app/test-eventdev/test_perf_common.c +++ b/app/test-eventdev/test_perf_common.c @@ -6,7 +6,7 @@ #include "test_perf_common.h" -#define NB_CRYPTODEV_DESCRIPTORS 1024 +#define NB_CRYPTODEV_DESCRIPTORS 4096 #define DATA_SIZE 512 #define IV_OFFSET (sizeof(struct rte_crypto_op) + \ sizeof(struct rte_crypto_sym_op) + \ -- 2.25.1