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 523ADA0A0C; Thu, 15 Apr 2021 08:26:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D755F162025; Thu, 15 Apr 2021 08:26:12 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 7FFD8162023 for ; Thu, 15 Apr 2021 08:26:11 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13F6PHjx029948; Wed, 14 Apr 2021 23:26:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=naDb9B571Y1gMPhx9XeCLVNg/wLnhvikY0xjgWwyPp4=; b=Nk5w2wP1Z6Jf3jDt15n25tAw8yqbbsJQ+74MUUY7SepLi0UkO9ZNmk49fj+OIU+I+9zU 8AnkxXjtq/Oa2YRh9heWORVldsdQbsfHDr8OXJM06CD/FmnhOY9wkt6dQoAKtZtdk4eX 4vopADXpvxPX+mvSzjtVyyun8BOyVB2iB/opXLGKOi8RrazbblkaL1Mx1Z357TMWMjk8 AmyKwI0pXnJr9gW5YnCcBHOk5yMvZhb6/LRUktP648T5x7iqIjSpOP4OTuF7WQAWo+Jf 2QbYpcNoyiK/jr+dRbjrsTbes+J6gyy+buxtrSQBo0cNg25PyctctzjW+a4zijWOOQyB fQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 37wqtm4jsk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 14 Apr 2021 23:26:10 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 14 Apr 2021 23:26:08 -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; Wed, 14 Apr 2021 23:26:08 -0700 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id 87A023F703F; Wed, 14 Apr 2021 23:26:05 -0700 (PDT) From: Tejasree Kondoj To: Akhil Goyal , Radu Nicolau CC: Tejasree Kondoj , Anoob Joseph , Ankur Dwivedi , Jerin Jacob , Konstantin Ananyev , Olivier Matz , Date: Thu, 15 Apr 2021 12:52:02 +0530 Message-ID: <20210415072205.1439-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: BkIZJpJK_aTb5igDINchBWLvOEBiGo96 X-Proofpoint-GUID: BkIZJpJK_aTb5igDINchBWLvOEBiGo96 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-15_02:2021-04-15, 2021-04-15 signatures=0 Subject: [dpdk-dev] [PATCH v4 0/3] add lookaside IPsec UDP encapsulation and transport mode 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" This series adds lookaside IPsec UDP encapsulation and transport mode support. The functionality has been tested with ipsec-secgw application running in lookaside protocol offload mode. v4: * Fixed ESP_IN_UDP macro and moved it to ipsec-secgw application v3: * Supported UDP encapsulation for IPv6 packets * Fixed if condition v2: * Supported per SA UDP encapsulation in ipsec-secgw * Added new packet type for UDP-ESP packets in mbuf Tejasree Kondoj (3): crypto/octeontx2: add UDP encapsulation support examples/ipsec-secgw: add UDP encapsulation support crypto/octeontx2: support lookaside IPv4 transport mode doc/guides/cryptodevs/octeontx2.rst | 2 + doc/guides/rel_notes/release_21_05.rst | 9 ++ doc/guides/sample_app_ug/ipsec_secgw.rst | 15 +- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 7 +- drivers/crypto/octeontx2/otx2_cryptodev_sec.c | 145 +++++++++--------- drivers/crypto/octeontx2/otx2_cryptodev_sec.h | 4 +- drivers/crypto/octeontx2/otx2_ipsec_po.h | 6 + drivers/crypto/octeontx2/otx2_ipsec_po_ops.h | 8 +- examples/ipsec-secgw/ipsec-secgw.c | 49 +++++- examples/ipsec-secgw/ipsec-secgw.h | 3 + examples/ipsec-secgw/ipsec.c | 10 ++ examples/ipsec-secgw/ipsec.h | 2 + examples/ipsec-secgw/sa.c | 18 +++ examples/ipsec-secgw/sad.h | 7 +- 14 files changed, 195 insertions(+), 90 deletions(-) -- 2.27.0