From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AC5DFA04C8; Fri, 18 Sep 2020 13:11:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 656E81D9BB; Fri, 18 Sep 2020 13:11:05 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 565E21D96D for ; Fri, 18 Sep 2020 13:11:03 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08IB5bPO022735; Fri, 18 Sep 2020 04:11:02 -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=rfTliMkGxwegrwmgwWSHPq5IKooKhTu0dTyCJVHEg5w=; b=T0mrafltoRPo/AR5LvyLtDI37Q9d10h6fdHiFE0AUjPMu6O/vnwT3K24r0ymBz8vmWgP ghle2SZBxMA84LwOqYL2yd57RsrPGWjoRikFqR8n+9I252wqdwJOtO6Z9ubefJUI/slV nh68PjBx14sat0Rwqf8dPVYhQDxMxQ0u6gMunksqbYSOAzOXAUJEo8PhXy4Sb3lR+M+m BEY0cYjsXPbGkl1Osx8ntcb4SnJApp83ydph9dr5gnXeqogNZAYjQlP7WektFqC183fl 85B4hBtNY+MmF3edDGU2DalbidYJtj1XbakhHujr283s40irAlEU4M1l8XBBh/Ivu0Ge Pg== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 33m73p439r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 18 Sep 2020 04:11:02 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 18 Sep 2020 04:11:00 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 18 Sep 2020 04:11:00 -0700 Received: from hyd1349.t110.caveonetworks.com (unknown [10.29.45.13]) by maili.marvell.com (Postfix) with ESMTP id 5A0903F703F; Fri, 18 Sep 2020 04:10:58 -0700 (PDT) From: Ankur Dwivedi To: CC: , , , , Ankur Dwivedi Date: Fri, 18 Sep 2020 16:39:41 +0530 Message-ID: <20200918110943.14553-1-adwivedi@marvell.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200903111836.6864-1-adwivedi@marvell.com> References: <20200903111836.6864-1-adwivedi@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-18_14:2020-09-16, 2020-09-18 signatures=0 Subject: [dpdk-dev] [PATCH v2 0/2] add anti replay support in OCTEON TX2 security X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Support for anti replay is added in OCTEON TX2 security PMD. The functionality has been tested with ipsec-secgw application running in inline protocol offload mode. v2: * In the "net/octeontx2: add replay check for inline inbound packets" patch, few local variables are explicitly initialized to zero which is not required. So removing the initialization in v2. Ankur Dwivedi (2): net/octeontx2: add anti replay support in security session net/octeontx2: add replay check for inline inbound packets .../crypto/octeontx2/otx2_ipsec_anti_replay.h | 208 ++++++++++++++++++ drivers/crypto/octeontx2/otx2_ipsec_fp.h | 29 ++- drivers/crypto/octeontx2/otx2_security.h | 3 + drivers/net/octeontx2/otx2_ethdev_sec.c | 42 ++++ drivers/net/octeontx2/otx2_rx.h | 7 + 5 files changed, 286 insertions(+), 3 deletions(-) create mode 100644 drivers/crypto/octeontx2/otx2_ipsec_anti_replay.h -- 2.28.0