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 2F91CA050A; Sat, 16 Apr 2022 21:25:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFF5640687; Sat, 16 Apr 2022 21:25:45 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 25B9A40685 for ; Sat, 16 Apr 2022 21:25:43 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23GIrJMp016143; Sat, 16 Apr 2022 12:25:43 -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=6qHxSqA7h8PLlEjUriSxFNSckwot7LPrqZ29i8C/ny0=; b=DdZz8RHfD+8Zj+ke8MR8NoufDjF0t8KEXVPLbjPpsEKG0NpjTK/B1pM6fWACrDAEweLb OQckPJI/4xZHoCxG5+KOc8BmxkIIkg7z/Q8r70SRrcjs5sAoVrUVUjvQwbKQtSh5caUw v1/S8K0tlTs6/yr+il+fp8fEKCmf3fY2xd5A4t2lN+TqGgmIW5bNvyiVLMVeE1hgvzmb Zps+ArsoW5i3HoCmbc/FnqFqU0d1mG0KX0FNuvSGBUtJ2/yEHXci1FI1xHkVxjqA1eFL GQWFZHxStIvCUyH1Y3Ae/xTNJZd+6VuG2jkLg/P/5Q/yxd/BEl/x6ZZKw0oPt2zD2UJX zg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3ffu5p90xv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 16 Apr 2022 12:25:43 -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; Sat, 16 Apr 2022 12:25:41 -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; Sat, 16 Apr 2022 12:25:41 -0700 Received: from localhost.localdomain (unknown [10.28.48.55]) by maili.marvell.com (Postfix) with ESMTP id 15A1E3F7076; Sat, 16 Apr 2022 12:25:37 -0700 (PDT) From: Akhil Goyal To: CC: , , , , , , , , , , Akhil Goyal Subject: [PATCH v4 00/10] app/test: add inline IPsec and reassembly cases Date: Sun, 17 Apr 2022 00:55:20 +0530 Message-ID: <20220416192530.173895-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220217172341.607360-1-gakhil@marvell.com> References: <20220217172341.607360-1-gakhil@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: QZDToMxoH_UKYfrmgzX6Ye4RMGpiWtiB X-Proofpoint-ORIG-GUID: QZDToMxoH_UKYfrmgzX6Ye4RMGpiWtiB 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-04-16_08,2022-04-15_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 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 (4): ethdev: add IPsec SA expiry event subtypes test/security: add inline IPsec SA soft expiry cases test/security: add inline IPsec SA hard expiry cases 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 | 12 + app/test/test_security_inline_proto.c | 2525 +++++++++++++++++ app/test/test_security_inline_proto_vectors.h | 710 +++++ lib/ethdev/rte_ethdev.h | 9 + 7 files changed, 3292 insertions(+), 2 deletions(-) create mode 100644 app/test/test_security_inline_proto.c create mode 100644 app/test/test_security_inline_proto_vectors.h -- 2.25.1