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 47BB3A0C4C; Thu, 2 Sep 2021 15:44:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C2F2F40141; Thu, 2 Sep 2021 15:44:19 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id E170740696 for ; Thu, 2 Sep 2021 15:44:17 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1825LHBp028347 for ; Thu, 2 Sep 2021 06:44:17 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=NzafTWgiJCCn9Ui7/pCgyxce8RdEqfUnl/fixgdnj1w=; b=EUr8HBRVD2V2xjJ+o1n2YoXlexxHPl6aJop4Z05luzFI8PX9cbGgwa4vIrxE7OsFQN4z WEy2H6TiRNZY65TExgPf2XLzzACRzm4cTE6o32vfWstOrjmDAQnv5MlVd+lFgZ2jGRge gxcb6JfwKnp/WK+Ce5ghCJxWuLzHqcT34lnppZ8t73vJEhxFFl4KKje4J8Gi5rUbGUbh DZhth2RfSyjTABcaFeE7EUMVXlmh0AV4i369HMfKgcmRMwrBHLUcwMbqzO6oDdxWSHbI Gw2Q2dwNTkzSWShezj54JVkizmkvUo5VWw5NDbP7MLpUZqehF959Quk2y3pCzdABtq7x dg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 3atrd2hs1c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 02 Sep 2021 06:44:17 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 2 Sep 2021 06:44:15 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Thu, 2 Sep 2021 06:44:15 -0700 Received: from hyd1409.caveonetworks.com.com (unknown [10.29.45.15]) by maili.marvell.com (Postfix) with ESMTP id EFE903F705F; Thu, 2 Sep 2021 06:44:12 -0700 (PDT) From: Archana Muniganti To: CC: Archana Muniganti , , , , , Date: Thu, 2 Sep 2021 19:12:53 +0530 Message-ID: <20210902134254.28373-8-marchana@marvell.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20210902134254.28373-1-marchana@marvell.com> References: <20210902134254.28373-1-marchana@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: IrIp0WfdehxGRTk9TqlfYoUB1BKRtGnV X-Proofpoint-ORIG-GUID: IrIp0WfdehxGRTk9TqlfYoUB1BKRtGnV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-02_04,2021-09-02_02,2020-04-07_01 Subject: [dpdk-dev] [PATCH 7/8] crypto/cnxk: update tailroom requirement 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 Sender: "dev" Update min tailroom to reflect IPsec additions. PMD crypto_cn9k & crypto_cn10k would have packet grow into tailroom post IPsec processing. Signed-off-by: Archana Muniganti --- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 2 +- drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c b/drivers/crypto/cnxk/cnxk_cryptodev_ops.c index 440dbc3adb..957c78063f 100644 --- a/drivers/crypto/cnxk/cnxk_cryptodev_ops.c +++ b/drivers/crypto/cnxk/cnxk_cryptodev_ops.c @@ -155,7 +155,7 @@ cnxk_cpt_dev_info_get(struct rte_cryptodev *dev, info->capabilities = cnxk_crypto_capabilities_get(vf); info->sym.max_nb_sessions = 0; info->min_mbuf_headroom_req = CNXK_CPT_MIN_HEADROOM_REQ; - info->min_mbuf_tailroom_req = 0; + info->min_mbuf_tailroom_req = CNXK_CPT_MIN_TAILROOM_REQ; } static void diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_ops.h b/drivers/crypto/cnxk/cnxk_cryptodev_ops.h index 0d02d44799..c5332dec53 100644 --- a/drivers/crypto/cnxk/cnxk_cryptodev_ops.h +++ b/drivers/crypto/cnxk/cnxk_cryptodev_ops.h @@ -11,6 +11,7 @@ #include "roc_api.h" #define CNXK_CPT_MIN_HEADROOM_REQ 24 +#define CNXK_CPT_MIN_TAILROOM_REQ 102 /* Default command timeout in seconds */ #define DEFAULT_COMMAND_TIMEOUT 4 -- 2.22.0