From patchwork Thu Dec 21 12:35:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 135440 X-Patchwork-Delegate: thomas@monjalon.net 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 44B8243750; Thu, 21 Dec 2023 13:37:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B61AB42E8F; Thu, 21 Dec 2023 13:36:19 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 6F50E42E8B for ; Thu, 21 Dec 2023 13:36:18 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BLCVJZC019120 for ; Thu, 21 Dec 2023 04:36:17 -0800 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=V+W1ulhrCI5x/cFgjoUuInf9nze6tgb9YRdyTItuzak=; b=IVX NX7PK8gQLzwtaaBA7HdWOrpbwLEF7jpJxQ68chHpGZ3QGOH2brseSq18AjwXQT/l C0Gvu5fM3pLuZeGRNqN15uBZnQS7LtXMVIGLoRWnx+5cqVUFr0vy8tCsxTNHUQ27 97KB+ddJupQ7JiD6ufTExWn9BLp67VdNl8U5+4/rOik5v74kglt/w8gWVri9vITM zFGOOfywVfX8b6HDTN6vQeP2hV0jm6fXWhbcxVwl0uD0Wd4Iwmr7wFphH2id2VnE zSR0uuCZ2yowb2b9a/TgQyij7AJgPo+01g8f5AdFJ2R43ppAu1cgbMACTSKQWM3g jTwE6zmFAvuGJwij6dQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3v4nekg0hk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 21 Dec 2023 04:36:17 -0800 (PST) Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 21 Dec 2023 04:36:16 -0800 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.48 via Frontend Transport; Thu, 21 Dec 2023 04:36:16 -0800 Received: from BG-LT92004.corp.innovium.com (unknown [10.193.71.152]) by maili.marvell.com (Postfix) with ESMTP id 44E2E3F7079; Thu, 21 Dec 2023 04:36:12 -0800 (PST) From: Anoob Joseph To: Akhil Goyal CC: Vidya Sagar Velumuri , Jerin Jacob , Tejasree Kondoj , Subject: [PATCH 10/24] crypto/cnxk: enable Rx inject for 103 Date: Thu, 21 Dec 2023 18:05:31 +0530 Message-ID: <20231221123545.510-11-anoobj@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231221123545.510-1-anoobj@marvell.com> References: <20231221123545.510-1-anoobj@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: A1MZug0b848LkN1nJEdx3ibfSCwayHFB X-Proofpoint-ORIG-GUID: A1MZug0b848LkN1nJEdx3ibfSCwayHFB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 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: Vidya Sagar Velumuri Enable Rx inject feature for 103XX Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cnxk_cryptodev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev.c b/drivers/crypto/cnxk/cnxk_cryptodev.c index b1684e56a7..1eede2e59c 100644 --- a/drivers/crypto/cnxk/cnxk_cryptodev.c +++ b/drivers/crypto/cnxk/cnxk_cryptodev.c @@ -24,7 +24,7 @@ cnxk_cpt_default_ff_get(void) if (roc_model_is_cn10k()) ff |= RTE_CRYPTODEV_FF_SECURITY_INNER_CSUM | RTE_CRYPTODEV_FF_SYM_RAW_DP; - if (roc_model_is_cn10ka_b0()) + if (roc_model_is_cn10ka_b0() || roc_model_is_cn10kb()) ff |= RTE_CRYPTODEV_FF_SECURITY_RX_INJECT; return ff;