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 21AD1A0093; Thu, 23 Jun 2022 13:18:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14F8A40146; Thu, 23 Jun 2022 13:18:07 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 951804003F; Thu, 23 Jun 2022 13:18:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655983084; x=1687519084; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=zwuscmwGa0vVqQbmqVa/EyVhEROeqytlqlSBOukNgkM=; b=R0f1LvrPGSveVtyI7ZQYtn1WSBj/r7dQaxBlUzmlsCPnQ2by1ugNtD2z QT5I3bBFgVQa0ce301tENUvdO634RlqojwFw48AzPrxDAwG/LZrbEStml exMRPsecDBXZsW8tXKaldSOM167JxXR5oQ52nxz8RX5k3xAm+4Rn8JZbB C2aiqg5O/lmNDt80wgVcVm1mXKVgz1ps/ogF+bo/fUaXSJN3lrve2re9F Y6+bGp4zTLLbV1Y5WcEKmG8OqSBwUeB3YIoxLQ4Oawnk9RfnKfJmijGh3 AwwG7wGMU0hlDp+FuT8sJdp4gdAcIytU3QsBb4KOIgI6Bj4MwpXrFDW15 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10386"; a="367010601" X-IronPort-AV: E=Sophos;i="5.92,215,1650956400"; d="scan'208";a="367010601" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2022 04:18:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,215,1650956400"; d="scan'208";a="586119554" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga007.jf.intel.com with ESMTP; 23 Jun 2022 04:18:03 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 23 Jun 2022 04:18:02 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Thu, 23 Jun 2022 04:18:02 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Thu, 23 Jun 2022 04:18:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N5+fU5phIEWHrN6AzDhR6pHfnB9kTROulpNHws68ozwxI5bCChl8u+s8XUtMzNTyKWEx0+bPmAJIUA3b3BhMV7lM+Gj5c9k7dj7GnI06YKACyrSgVb3oVA86X2A9A8/LCu8526xp2tK959QZfxyuz1wCG74OEQuKxTM3+mzNPabkEmFtsA0b4aMZfTtAo4BTFFWpDfsuq8JRXvLUknK3NIfKh9xQBuO+ZuBIAsHDAXeFohtiT8pTQ2f1YoAXYfAN0MuhUnsUuCFCu21jFYfhiMNmk1t65pabfghdsZV4DxI0z9Uz06Lp0LD8dTjOqEZykQ//TOMh8OM3apRV757Dxg== 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=ap1eCjY0Oj6FoWMEeFKmJEnjyDMz7HRw15CKyBC4P+M=; b=KHls85G/kFHmml7dQv+2qXfnVrfxiQccF4VZK8N15betzS+AX16fZyQ9kZuLqzHdmyTicANlse4i/Z5E4C0LcN6ycjqtHHWt46O8R4SjBL0bDELIgGVVg9gNapFAGbxIEJYdqbNNJqXCQ71rOiDFH690HnLdYZ5TrqBaw3rrQqKnyPjiwu7NvMdDVuG063o4TLCiu0cJhNWLryKynlOfv5oN+DnH8x5mz/tDIKYbp7Fm2vWfpnnWx6BBjyfJO8j6rZs7ef7VQELPH43uVsMtRHjzD5dMBrJej9n1NralN0Kqk8D/bhkJ/1V+9/DeJtVaQ8s1m/9AD8AMv4l+WNxoow== 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 BYAPR11MB2711.namprd11.prod.outlook.com (2603:10b6:a02:c2::30) by MN2PR11MB3694.namprd11.prod.outlook.com (2603:10b6:208:f7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.19; Thu, 23 Jun 2022 11:18:01 +0000 Received: from BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::b936:5bf8:23b5:51b2]) by BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::b936:5bf8:23b5:51b2%7]) with mapi id 15.20.5353.022; Thu, 23 Jun 2022 11:18:01 +0000 From: "Jiang, YuX" To: "Medvedkin, Vladimir" , "dev@dpdk.org" , "Jiang, YuX" CC: "gakhil@marvell.com" , "stable@dpdk.org" , Konstantin Ananyev , "Iremonger, Bernard" Subject: RE: [PATCH v2] test/ipsec: fix performance test failure Thread-Topic: [PATCH v2] test/ipsec: fix performance test failure Thread-Index: AQHYhXM9c2rawuTRZESwmtwh3ysCLq1c2ocw Date: Thu, 23 Jun 2022 11:18:00 +0000 Message-ID: References: <20220617171842.2788040-1-vladimir.medvedkin@intel.com> <20220621133046.2827485-1-vladimir.medvedkin@intel.com> In-Reply-To: <20220621133046.2827485-1-vladimir.medvedkin@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows 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: 3e01d31a-6c9e-4e95-e335-08da550a08ab x-ms-traffictypediagnostic: MN2PR11MB3694: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: HmfoMgdH0Zd+XJkcZrV2mcdrMHD2cMUTUSERIZHWnXGYrMZFe6RGw2f+p+98NJi53QFeheE0n0LcCxpUaZPDVXjNwxPyRqoO+EQLakxcu9C1+CgEh/N0IgCzzuuVlZlySFZrrCPx52YkAsnA9SktFpUUnzdUCZs/OIIBC0aFChTuxVWxfv68ZOpQrHW0xODREVyDJ4GSF6jqTCNHdMVxE3PoHcYK2mKp+gwYAdovY2fpObnVd/573WCYBcHFS1FUu6OT7wUz5ax8ODV9MMz9YuSfi9shHRIx220lf3q8eWWfNnXOvgyor+iRHJzzmeY9NdJjhMyPQzACNNEOf7HSWAB6xykmaLL8JHdM0jYgD7sB4o02Vx5c5UuaHQlAzTMTFOxDDJHP8o/fJmBufFcOkJ1XRehWq/udSCs7l/+g3Nsrr8TE7Lj0gERVH45jwqrTSO2msQTND0iva7nrneh5aaqJjZzw/JpPSjTTsjMbGxu4ip2M4z6xt2ldHhfcpRDnjVVJDsS7YBeZSUPmVDlwswzUN5sBQs1mSgjPttSpp5DfMmi2ubjUihtXaWoN2qqc1La4x/cB/M05OOuNuijQA9mpoJ3LXNVKaMbUq7rZPzIewsvZ810fkS6Yi/2NewyBvI3CZ9Kcth8eJYvWzOCoDEfzgmjyoCV4rR7kXnc3PFMI8vlXona/DxQ/8yTz/OJGB4HR/e5jOJCAYe3zkHcgoFhIbDRa5mcWiVgW42p1GsKeSys0k5GOjNQk86+8eHxF3IPZ/I9LU14yNrpaJjQFrw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2711.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(376002)(39860400002)(396003)(136003)(366004)(346002)(66476007)(8676002)(110136005)(64756008)(66556008)(66446008)(38100700002)(38070700005)(66946007)(83380400001)(2906002)(316002)(107886003)(4326008)(8936002)(122000001)(76116006)(54906003)(82960400001)(478600001)(6506007)(5660300002)(86362001)(53546011)(186003)(7696005)(26005)(41300700001)(9686003)(52536014)(71200400001)(33656002)(55016003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?kc9EZ0gIRG+fU30nnoyxFR0GBBX8jzdm9m1QRKMYyIcIkPHwXHVmQ4Hdg/pP?= =?us-ascii?Q?sKVQj+kkEVq/6zmHmCy2UVllB9RGAQmtnuO6jI+l2iUqYeqH42WLf2itwxa1?= =?us-ascii?Q?KS78qjujgme4Bf5YaGS9F6Rzs2Hl1juu63WESvZ/8toJN3mP54uvSL5B4bT0?= =?us-ascii?Q?IvmeNbvJm+ulLax417jGe0yWZ8IqI457AcZvymlx3jIMJ4NTub6sFdSn5t8P?= =?us-ascii?Q?bI1IfdBsfh+hLRKrse0TDVPV5ODA7Npuvw42VTtxqCj+B4vydJKs5Eq1uQRF?= =?us-ascii?Q?hwfVWVLHc9qCKVYvAAuCXt7NtqZ2MS8wX9IUhNQ2B9wBSllKwtkHIPETDSWI?= =?us-ascii?Q?jmONRqNPbvd+S2eAggf9J8ya23wfpjlLbfGWW7UgeQib/jUaiS/8w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PPkvSqhjSaLNTpFVWF85aGIAmZCyLKRhzsTvawBb?= =?us-ascii?Q?8SwFjD1GAUZ8wIjR7SQUEdvPNoHyhcfm3cU5iSyU5WmQe0b1jDxwjHM000Xs?= =?us-ascii?Q?xFV14UkkahPrT+S/7G+sKyz0SHAf8eR8tUDPZMMPOwPbRJtzKkCSkRCYyz2n?= =?us-ascii?Q?tmJmvP/mJlvN/hETE8ShOe7chz650J9qDFHiFfXZWEFEDABFWMd5F2HpAICL?= =?us-ascii?Q?ZtkiriqDXXmZJo5hOQISvIaPECZb09+ooovYiqU1UQGGNWPiScpWnn9hBb3y?= =?us-ascii?Q?Q0Bx7LP9zz0j5tmtnyT+YD54uqCQEPDnZw5oLqQ1E4CO9fcMS3xJ7IOxFuiD?= =?us-ascii?Q?e/QD0WS+g6snV7+Fd7Mz785pa3ny7GXr5C39sPM4Iv13y5oHlhE/XF6GT4YZ?= =?us-ascii?Q?tAHeIILeMbj38uvWqdNsKR6e6bNIxDsCsr7EHkSu3kVl3zuDGcBgSEVwnWM4?= =?us-ascii?Q?JdOyf9lKWg=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: BYAPR11MB2711.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e01d31a-6c9e-4e95-e335-08da550a08ab X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2022 11:18:00.9550 (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: 8unymccpAQsvTtum3NhtocIPBg7QG9ueAbMRZKqNHZlksAqpCNyFo7niSwEUsi+i0TUGV9tn5vDDFhFoUghUYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3694 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 > -----Original Message----- > From: Vladimir Medvedkin > Sent: Tuesday, June 21, 2022 9:31 PM > To: dev@dpdk.org > Cc: gakhil@marvell.com; stable@dpdk.org; Konstantin Ananyev > ; Iremonger, Bernard > > Subject: [PATCH v2] test/ipsec: fix performance test failure >=20 > This patch initializes with 0 rte_ipsec_sa_prm inside the ipsec_sa struct= . > Before it was passed uninitialized to rte_ipsec_sa_init(), which does not > check whether prm->ipsec_xform.esn.value is greater than sa->sqn_mask. >=20 > Bugzilla ID: 1023 > Fixes: f7f3ac6dcbe2 ("test/ipsec: add performance cases") > Cc: stable@dpdk.org >=20 > Signed-off-by: Vladimir Medvedkin > --- >=20 > Notes: > v2: > - fix gcc4 warnings >=20 > app/test/test_ipsec_perf.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/app/test/test_ipsec_perf.c b/app/test/test_ipsec_perf.c inde= x > 346a851648..11de9a6aac 100644 > --- a/app/test/test_ipsec_perf.c > +++ b/app/test/test_ipsec_perf.c > @@ -592,8 +592,8 @@ testsuite_teardown(void) static int > test_libipsec_perf(void) > { > - struct ipsec_sa sa_out; > - struct ipsec_sa sa_in; > + struct ipsec_sa sa_out =3D { .sa_prm =3D { 0 } }; > + struct ipsec_sa sa_in =3D { .sa_prm =3D { 0 } }; > uint32_t i; > int ret; >=20 > -- > 2.25.1 Tested-by: Yu Jiang