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 BDBA3A00BE; Mon, 25 Apr 2022 14:38:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6660841109; Mon, 25 Apr 2022 14:38:36 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 0DC6F40E78 for ; Mon, 25 Apr 2022 14:38:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650890314; x=1682426314; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=KB7IbfDbM2arVgm2YUG+MaiJr/00CWXjAOiWn6P7YM8=; b=EB04ydvCsAVqpRlMSNuLN5kQKp43n2CI0QK8rZrNwHKHdDuK7QMgvb0G VENmrXo6Dfuw86vsQ66KqLkk/V7NXdlzcLUXOM5wpDDebcPwir/v7pDVR Lz9ZNyt/JF+6x0txKeXItuAr54xzgZjscufxS7AUJn5CQ4VVXbd4iBtmc 86aCgezO+YuLA2YTA2/hGytgzDoIOLee8yhVrKH0Eeh8G2LRR9hmYFD6s qVmaAO936Dt9yMQoJoQT8mHDMgtqZk6x9E8bnzidBZiScIv6ywj1ycf/L 7XQ6BJdULsyvRXD0lFG3NajFdaa1Kx9rfrfAwrauFmVw5ZXqSVXdkxmnW Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10327"; a="245801272" X-IronPort-AV: E=Sophos;i="5.90,288,1643702400"; d="scan'208";a="245801272" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2022 05:38:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,288,1643702400"; d="scan'208";a="872654610" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga005.fm.intel.com with ESMTP; 25 Apr 2022 05:38:32 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 25 Apr 2022 05:38:31 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 25 Apr 2022 05:38:31 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.170) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 25 Apr 2022 05:38:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MgfC9oqCS8aDYChg89uCXeUjQZHxnQVQNmP3sIsqHhUmghHBuGbVFK1BCspiGeCk0nrFN10pRE0ZnY765zGJmH3g4T28r9HTuQys8BQf3nVuv04MCI35Wj+/Qf+c+jOuPMc/fftsbx1JR6dv73S99HPaw1HEWomTvtSCI5u3YpH7I9x7RAZMKmRnzXgmb8e4rKpvkgWnBGO+hlaY4fWOF8oTQNYGRpgXFkHFQszCrEf8RnhsROj/02/broh+TrB78bwe7Bf7nsu3KTOohtCMjwGDYz2X8s4fuXF8nrDyPpLA8VNLfiBhWsPy8MRN+Fp9LdUt18krREzOdQpxHHoBGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sHFuykUSr9x5c9b4TcysCsSScI4z3WyWoMy1t5fRsRI=; b=h5Mcna3mezurmTYjOmnoFROkZWvw2qJ/2+kJIC3EhZfgmY2iQjinJuVuwyDunTrivmVAX/BuyXLErWX2uKLBNqo5zG8m3roU0jP8asm06+a9pm02z7+XhHSy96DzPbd0Z8di4KG4FsTdOISq1VYsqYUIDIs9xaeKKoszOfpg/1Be428VBulqkc8P4qeLkJpUwc7D2qIyiALn2GvA2Bi5Mb10IEozODkUt5bM6lh1w+GV+A+H5Hp0FNjN4PoYEvhd30pcuGVKlj21aTc6/UQehse4vk1wkRZ85xg2WD57jf6jDzg7oeoO5GzPtdcBlTuSv8O72xq8yreTpiMrN+LfKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM4PR11MB5440.namprd11.prod.outlook.com (2603:10b6:5:39c::7) by CO1PR11MB5122.namprd11.prod.outlook.com (2603:10b6:303:95::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.13; Mon, 25 Apr 2022 12:38:30 +0000 Received: from DM4PR11MB5440.namprd11.prod.outlook.com ([fe80::90ce:1674:6850:fd10]) by DM4PR11MB5440.namprd11.prod.outlook.com ([fe80::90ce:1674:6850:fd10%6]) with mapi id 15.20.5186.021; Mon, 25 Apr 2022 12:38:30 +0000 From: "Poczatek, Jakub" To: Akhil Goyal , "dev@dpdk.org" CC: "thomas@monjalon.net" , "david.marchand@redhat.com" , "hemant.agrawal@nxp.com" , "anoobj@marvell.com" , "Ananyev, Konstantin" , "Power, Ciara" , "Yigit, Ferruh" , "andrew.rybchenko@oktetlabs.ru" , "ndabilpuram@marvell.com" , "vattunuru@marvell.com" Subject: RE: [PATCH v4 00/10] app/test: add inline IPsec and reassembly cases Thread-Topic: [PATCH v4 00/10] app/test: add inline IPsec and reassembly cases Thread-Index: AQHYUcfPrTETQP6kUkWhwDcrlDWkJ60Ankcw Date: Mon, 25 Apr 2022 12:38:30 +0000 Message-ID: References: <20220217172341.607360-1-gakhil@marvell.com> <20220416192530.173895-1-gakhil@marvell.com> In-Reply-To: <20220416192530.173895-1-gakhil@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.401.20 dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 972438d1-f9ac-4d5b-c095-08da26b880c3 x-ms-traffictypediagnostic: CO1PR11MB5122:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rYttDJY940i2yHtjMGJnSYi/cwS2eltOptMjNbAVkgoKFTrNziDl+xNiQCi5rIIJNp2bczwjU0qtkoUu87oznQiETgWBfH/dpQO4DWBThdA7T0m/ZZj+4BTKekdEMIneiYYjd0iPqTfRvcxL4QLiHZnQbtUyuvs2gPPtgb1ieEnW9SxOJrqImxFnxTzl3LjbUHJ+IbhrbinWrQgS0NKONF6K6ypYzHbCF/1R5960cv1e4QyKGKVZks0IlCY2hB8YZ3zxKOyC1lD6eN3m41jOucscban1luVtHWCPp3bgZGYLM4C/ybeAAPLCKQ49zjZTzEl/0JbwHbwNzU6fr1ddZq4JRLVpQpCCck6lHyFBinK2oDcViGCaiSH51wMglq0blCYEotgLrrMbr4EFUQjz0KxzajLfk6O6EajFofSmBdlmMYqMChkFyNgP9w0sCs4wObQsy/HynyB5y9Obhs3Fydx6+nJBcaRwRCwnm2/5ZFH1rMVjDXlXgy+OzPR3UIZr6dr/9SMkGB/7vTLg9g5V1jJrd4s2wFLfKpdavWPYMDPmXhJxinY5PHqW3LygadzWsMFVx4kpS3wFaL4vviizE1GWm/3VrPFhmHFY4+FLNl4BiVgIDDQohYByHGEuy8mRnTr6+bee31R9PjudvZ55QFqjsq1umXpbkOoCHaMltB0U06ff2hq9ugA7wvZBLrXJDd4XRTbQ0LO0qqCKuHl5nA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5440.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(508600001)(4326008)(76116006)(186003)(66946007)(66556008)(66446008)(8676002)(66476007)(122000001)(64756008)(54906003)(71200400001)(6506007)(26005)(53546011)(7696005)(33656002)(316002)(110136005)(9686003)(82960400001)(55016003)(2906002)(86362001)(8936002)(52536014)(5660300002)(83380400001)(38100700002)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ZTU9nAxpn0WF/45n0uDx4wPA9WdvSC5DnICpKZLFuT373B5Yyb6FtrFQG4P6?= =?us-ascii?Q?g6kzJYaISkmBdYOIwteBs8efPyXYTO5UVHBZ8Vqlgm8ypM8gVr3yPNxRewGG?= =?us-ascii?Q?q2xgjBzVQtBKFxac1dWCaljnb7yExeE2C+CZcT4ipYNwITQadYLiqEaBwGTC?= =?us-ascii?Q?/sVJGUVzVhCx04XcU8aIgcgLh2IKxyr4k7535BK7N8mE9QSg5HY5IFoB+yJe?= =?us-ascii?Q?pgbn6TtdJZl0sPY+J5ZWx7Fs2ZgVKTmCpA43rfoetE0Inc2nlARZ7qRGDpJi?= =?us-ascii?Q?VpUfCSpP5gMpNDjCufJ0aS7T+rXu1yHYD5a+9g27Gy8dTqHbGv0LF4ieixfw?= =?us-ascii?Q?waC7lK7JRN6MS7IBrulytJ2LlgslvyuKO0Y/FmX1W09eaCwH3GxgDtB9wEiF?= =?us-ascii?Q?IKKC0KeZUFL+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SiH5rgi?= =?us-ascii?Q?qyHIvG/WFKR/0C/L4Pg5M78OGgLAqWdxYLQGv15ReIS07bNEaJw/ocIDJtZl?= =?us-ascii?Q?U1CK52Jn+eYd8HgY9Z9ra+f2MD0JXLXwim2zct/O4Sh7E2aEEpxbbL1V/tSi?= =?us-ascii?Q?OYwfPvFNgyi6Lp5H81Tn6/LFNAN937oDYaS14HZ6vJd4FxHJAoOMXliU8A+3?= =?us-ascii?Q?Byd8RJMI/kR2UoWzQ2xaTlb3/trBv3tZxdlB8Div8NMcI2jqv95Fi7tDTE/b?= =?us-ascii?Q?kUV8nAA+4tzTQTIO0kEOBL5bg/F7HRoCL7dnN1jxxKZt6kt4lOhe7F8GlKQx?= =?us-ascii?Q?FTH0e4d7mG2KkspR3kadiGBjxCyBoKEqfVG9Jo56Lpn9tkkzL5EJ2i70AQGA?= =?us-ascii?Q?hNVbc/CGXuFIh6Xb2FSmCsciSenqBHMeD14fLL+JaGxmlLDWjE5IXlgKATu7?= =?us-ascii?Q?qWwbhJE3dw=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5440.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 972438d1-f9ac-4d5b-c095-08da26b880c3 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2022 12:38:30.2184 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: eIqZmuXSm+18Q5O3XHnTl4Dk7HNtnbvSUpQPhnOFKyeO59fw9MdYCASJxxwo/Eu8fpSPLZsrumadTNm3tpt6oV1PvomgWCy4omDg7RRLEmw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5122 X-OriginatorOrg: intel.com 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 Hi everyone,=20 When running inline_ipsec_autotest, tests should be marked as "skipped" rat= her than "failed".=20 Kind Regards,=20 Jakub Poczatek -----Original Message----- From: Akhil Goyal =20 Sent: Saturday 16 April 2022 20:25 To: dev@dpdk.org Cc: thomas@monjalon.net; david.marchand@redhat.com; hemant.agrawal@nxp.com;= anoobj@marvell.com; Ananyev, Konstantin ; Po= wer, Ciara ; Yigit, Ferruh ;= andrew.rybchenko@oktetlabs.ru; ndabilpuram@marvell.com; vattunuru@marvell.= com; Akhil Goyal Subject: [PATCH v4 00/10] app/test: add inline IPsec and reassembly cases IP reassembly offload was added in last release. The test app for unit testing IP reassembly of inline inbound IPsec flows i= s added in this patchset. For testing IP reassembly, base inline IPsec is also added. The app is enha= nced in v4 to handle more functional unit test cases for inline IPsec simil= ar 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 a= nd 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 ap= p/test/test_security_inline_proto.c create mode 100644 app/test/test_security_inline_proto_vectors.h -- 2.25.1