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 28550A0579; Thu, 8 Apr 2021 09:53:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E880F1410CF; Thu, 8 Apr 2021 09:53:58 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id EF7661410CC for ; Thu, 8 Apr 2021 09:53:56 +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 1387pHYO008220; Thu, 8 Apr 2021 00:53:56 -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=rzpzEnDSaBPPqthkU2wz8Axa7xjGxJuX9ki6UzmSWoI=; b=aQKOr7y2YRaby6ptt6VClDERwpjtwPJrQ/wYo/2NR6/yUYQ2uyWKKDht7f/akesnpQsv ji+q1UdPXnoT//FVtI4Kl0SfTFP/Ma7uLmtazD95iwTBpChoeUV8XQwL7KCKVmPZa/Jp uwyjm8eMG7+RowUvpgiSbsSEyAYrilo6sWbmum2NU5Zq96ntLsfFm7f6YL7zK4PqNRVo IP+RY72upxCYRY/NIwEC1EVyYaDgvKUwD81bOAflRiwz2vUvqaVxPfxv435+3S3c0aGm VyAVzcee+gEMCEL7QRtU76dVlGzlnemumqUPN3hA0NstgEIhPhiQHax9H3sOcBUdxxxX Sg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 37swewg2c5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 08 Apr 2021 00:53:56 -0700 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.2; Thu, 8 Apr 2021 00:53:54 -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.2 via Frontend Transport; Thu, 8 Apr 2021 00:53:54 -0700 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id 5030A5C690F; Thu, 8 Apr 2021 00:21:06 -0700 (PDT) From: Tejasree Kondoj To: Akhil Goyal , Radu Nicolau CC: Tejasree Kondoj , Anoob Joseph , Ankur Dwivedi , Jerin Jacob , Date: Thu, 8 Apr 2021 13:47:16 +0530 Message-ID: <20210408081720.23314-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: WvajAwLWATJIjBpmH1CNNh1bHlKhWUoZ X-Proofpoint-GUID: WvajAwLWATJIjBpmH1CNNh1bHlKhWUoZ X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-08_02:2021-04-08, 2021-04-08 signatures=0 Subject: [dpdk-dev] [PATCH v3 0/4] 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. 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 (4): crypto/octeontx2: add UDP encapsulation support mbuf: add packet type for UDP-ESP tunnel packets 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 | 14 ++ 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 | 2 + examples/ipsec-secgw/ipsec.c | 9 ++ examples/ipsec-secgw/ipsec.h | 2 + examples/ipsec-secgw/sa.c | 18 +++ examples/ipsec-secgw/sad.h | 6 +- lib/librte_mbuf/rte_mbuf_ptype.h | 21 +++ 15 files changed, 218 insertions(+), 90 deletions(-) -- 2.27.0