From patchwork Fri May 13 07:31:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akhil Goyal X-Patchwork-Id: 111105 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 681E7A00C3; Fri, 13 May 2022 09:32:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0568A40E64; Fri, 13 May 2022 09:32:12 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 1A9C440DDE for ; Fri, 13 May 2022 09:32:10 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24D5up0B007758; Fri, 13 May 2022 00:32:10 -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=XI3uK35Y7OlBz4o4mqIz+Rbq1VXv5yWqNvPDDrmbZno=; b=Z33DOY7iPm5CeHFy3rvhGy5Fy5HzTds3xw8mi5oK0mVXBCrOYdOlGlXDKlYTAaSCN9AD XY9q2QrFsZTDHyiReArtWtA3Mn9ust3ToTa2Ya0eZgVheN8QwoEcY9MPlkq+acWwcZoc D7VxhmgTKoTqaDmkJG0Nq38GJsFGPJMCA9/126JACjYykY7g+7LKp9QMePLjhundUu52 trGmyT/FKwuoQ1AtQzKdqfipZcVZIa9LPZKzsTjvPG9ukQP59Q6faXoBIkZCsubCWADB e9eSzBQbwFM93+erP7oivpIC7fuAQRyVk7doC0ZVUonSSGvCXazXlSzmnPrXdaDa+dzy Yg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3g0yqwmy90-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 13 May 2022 00:32:09 -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; Fri, 13 May 2022 00:32:08 -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; Fri, 13 May 2022 00:32:08 -0700 Received: from localhost.localdomain (unknown [10.28.48.55]) by maili.marvell.com (Postfix) with ESMTP id 2CF8B3F7063; Fri, 13 May 2022 00:32:04 -0700 (PDT) From: Akhil Goyal To: CC: , , , , , , , , , , Akhil Goyal Subject: [PATCH v6 0/7] app/test: add inline IPsec and reassembly cases Date: Fri, 13 May 2022 13:01:54 +0530 Message-ID: <20220513073201.2320812-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220427151054.2536675-1-gakhil@marvell.com> References: <20220427151054.2536675-1-gakhil@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: E-e6xc5AkwFCa7r-pzAjbMiD1F9QGnyx X-Proofpoint-GUID: E-e6xc5AkwFCa7r-pzAjbMiD1F9QGnyx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-13_02,2022-05-12_01,2022-02-23_01 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 IP reassembly offload was added in last release. The test app for unit testing IP reassembly of inline inbound IPsec flows is added in this patchset. For testing IP reassembly, base inline IPsec is also added. The app is enhanced in v4 to handle more functional unit test cases for inline IPsec similar to Lookaside IPsec. The functions from Lookaside more are reused to verify functional cases. Changes in v6: - Addressed comments from Anoob. changes in v5: - removed soft/hard expiry patches which are deferred for next release - skipped tests if no port is added. - added release notes. Changes in v4: - rebased over next-crypto - updated app to take benefit from Lookaside protocol test functions. - Added more functional cases - Added soft and hard expiry event subtypes in ethdev for testing SA soft and hard pkt/byte expiry events. - reassembly cases are squashed in a single patch Changes in v3: - incorporated latest ethdev changes for reassembly. - skipped build on windows as it needs rte_ipsec lib which is not compiled on windows. changes in v2: - added IPsec burst mode case - updated as per the latest ethdev changes. Akhil Goyal (6): app/test: add unit cases for inline IPsec offload test/security: add inline inbound IPsec cases test/security: add combined mode inline IPsec cases test/security: add inline IPsec reassembly cases test/security: add more inline IPsec functional cases test/security: add ESN and anti-replay cases for inline Vamsi Attunuru (1): test/security: add inline IPsec IPv6 flow label cases MAINTAINERS | 2 +- app/test/meson.build | 1 + app/test/test_cryptodev_security_ipsec.c | 35 +- app/test/test_cryptodev_security_ipsec.h | 10 + app/test/test_security_inline_proto.c | 2382 +++++++++++++++++ app/test/test_security_inline_proto_vectors.h | 704 +++++ doc/guides/rel_notes/release_22_07.rst | 5 + 7 files changed, 3137 insertions(+), 2 deletions(-) create mode 100644 app/test/test_security_inline_proto.c create mode 100644 app/test/test_security_inline_proto_vectors.h