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 1EBA6A00C5; Tue, 21 Jun 2022 13:09:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C44774069C; Tue, 21 Jun 2022 13:09:01 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 3188B40151; Tue, 21 Jun 2022 13:09:00 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25L8Rt1f005561; Tue, 21 Jun 2022 04:08:59 -0700 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2104.outbound.protection.outlook.com [104.47.55.104]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3gse7nk60b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Jun 2022 04:08:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N+sQ1Upxg5E6z3TCr99b/JyudncKA7xH9mYc+OTGSAJ3sXgeIikMIvO0ARidne52loi3oCxC2pvnITQfktiEW0uppqIO1kr4UV65ZaZG8AOl01q9h6pMMB/QbdZ7qKpzf84PAUVa7ddrOkR3CeaIk7mSjkZgKl9aU/RoDc8TBLg/3deiMp15ci7PqD86DttL8lChvsW6MhrJNlbh2JBhGj1qbWEW6AZbrsmKjVSIXz7TaIDjjUzSx1CxfoRfwFSj/8GCuYwKNY2IeGzr94umfFakFFgRgYVJglQGe6z10YXozg4s5B9kgea5EuZu88qjkcnDJ29jfS7IqSD5XDJIiw== 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=wdF/Q8MtYm1iLUEKlvL2rjLv5e2rK6bj6IGi4RmYrQw=; b=LmdY7Bg3fhUVNy9NEsEWOANSSkP7RtH0oDRRclANjL84ecAjWwaWjdFPAnKKTkV7T5o9J0DVbRyirRpQYy+L9Ly/HyT7orLCmjftlxIVM51nHKDxyL/VD1tWeLu/fsU/muBbKKghgh56RQJuyUhrkgKETuqlZiZC3v+GDl5Urpbsu9YPDgCPyiAwwXyCcHJ0UT7oss80L5zpblhUnHynHEUMO1FD80qs8sjiXlji5II++4kp9ZFMJ789wK9he42ALbUizhsbFhQiDfdrAt2CASOQiZC+pfGVoDqNZdR3YiXbv7O8JEiHDOthtly5BCT4hjEMnuYwkfQR8ShWtNcU0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wdF/Q8MtYm1iLUEKlvL2rjLv5e2rK6bj6IGi4RmYrQw=; b=jWupNxM86VBZ8Doaa6TLGLxePCqbVnesf8zcod+h0JjCGRKDkpLgRWhI6zBpsFIe4FIwJBQfFmAX0D7DeoXKLQk61F1kOgttz4R3vG0kkwLVkAIdva85KFuAGg+9HnOo3cYsjDYS/cpfKmfQuJi9CIiTZONRiE9ih3L8yPCvqhk= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by DM5PR1801MB2025.namprd18.prod.outlook.com (2603:10b6:4:62::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.22; Tue, 21 Jun 2022 11:08:57 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::bc33:1fb9:5d70:8c5]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::bc33:1fb9:5d70:8c5%9]) with mapi id 15.20.5353.022; Tue, 21 Jun 2022 11:08:57 +0000 From: Akhil Goyal To: Vladimir Medvedkin , "dev@dpdk.org" CC: "savinay.dharmappa@intel.com" , "stable@dpdk.org" , Konstantin Ananyev , Bernard Iremonger Subject: RE: [EXT] [PATCH] test/ipsec: fix performance test failure Thread-Topic: [EXT] [PATCH] test/ipsec: fix performance test failure Thread-Index: AQHYgnFkN1fWdXyMrUagVKCEzfbXLq1ZuYdw Date: Tue, 21 Jun 2022 11:08:56 +0000 Message-ID: References: <20220617171842.2788040-1-vladimir.medvedkin@intel.com> In-Reply-To: <20220617171842.2788040-1-vladimir.medvedkin@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 65955b7c-f100-4e5e-d60d-08da53766f92 x-ms-traffictypediagnostic: DM5PR1801MB2025: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: LzSCkCSBWN7FuiyPaIUtpDtu4AFPvUkJOdkgINE7L5xVgG5oFCtngGZ7he9Y6i2W54Iv31rV9gFBDVGrlLdDQr9MHobfNZAYyqYzoyVcbN241JKvxgnYVubicGEyien7c5QPG/jtaIwZoicyeJYevjMkxrziH1LaZucPi1TjiXE1sO0yYxd0z6URW/tjfj3y6H290gepPdDxImbj2VeKy/i7+QeuL67YiHxEbDo441/E5f0TnhJGjY3eXpe2vwl2r0ztn3fKYGU3XnqBMBz4AGuDBbn1RpQspA6mHsKZitnpob22IcQvMX05bAjgqUcraWPV6Tok54LAzGoeoRw+ZsaI8qZlSZddxah9Vzg/B5IlnPqcySz5aiUGXANxp41Yf1tVsMdhxuYmsNj2HvjgaOAfIKUMAV/V3drSdFvJwqcd5ySwpyQeYlUgTxsvWGFE3awILbDjtglOpNC4HSgD07ykSnlsSbmok1aFM0/zEGROaHMUqWaIt8OQN2V2RX5iQ2Kp8HkUf8CFBY8neu55/ECfVHlno/SD+qbkOi9XXRx4B/J6JLi4vz/cQITzmB0UoBYC5UYEj+xl62LPHdvo4JKninHrP82CIqbFsT0YHQn5kYAU4v35sbD5KRYpg3vtfQCDyjJNwYZDMo0IeA0trTPJ7ZHCFxOf8hv7pP4F4VBDgPuI0lXf4jLwtYbN8/OV2BFAZGlP5W+k94KRj3ciSQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(346002)(39860400002)(366004)(396003)(136003)(376002)(41300700001)(9686003)(6506007)(26005)(7696005)(55236004)(186003)(86362001)(83380400001)(38100700002)(122000001)(38070700005)(66556008)(8936002)(66476007)(66946007)(66446008)(55016003)(4326008)(52536014)(33656002)(8676002)(2906002)(54906003)(110136005)(5660300002)(71200400001)(478600001)(316002)(64756008)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ciwJpAFWUiA4pDLQGsw7WelW+wCWy9Y2h9T4RPqsl7qgjO41i4943+2+MxVS?= =?us-ascii?Q?Mnfl99qVdRP6Fe3Vo+nqrbz7Xz3zv2IGfRil26476lyYF6AXHeUPUHKek5X3?= =?us-ascii?Q?vb381+5nESyhSfJnL+iSHRG07eEc1kLz5nh7jxdgTywFzqvEXd7w50yFiRB+?= =?us-ascii?Q?oHm7E1cMhOMUF5ab8EW83NPgPUU4JhN8CHMsLePEa50rLmazYw+Ohp7K3w0k?= =?us-ascii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eKIDOw1opLZA+zyst6?= =?us-ascii?Q?D6VABZv2FzbpG3xUyIvf4uQsEvaSQyQA7b9A9//7R+yHy9Cr8wN2t9KdgxTQ?= =?us-ascii?Q?hMTPEUz7rdwyhAl+I1SPTmkgjtRj5m2OiHIgNGTn+TBkzjipbcJ2JcOk4ZCH?= =?us-ascii?Q?q6inEKbhOwbhUdASfbWz9mT6rtOCBuJiL8Q7nGpLvCcoQLfF0WVhrIwmQI2X?= =?us-ascii?Q?S5sMxcgcsQSFSRD/yX0E4CSUHNqBgxAVUkFfC/IMuKVo19lWaJ90xgui+zdc?= =?us-ascii?Q?8bwRYuQlWa5YhB35lYVxKHuOt2frNFH9+I9y8PKcnzoA2AnHxj8imj7AgTAt?= =?us-ascii?Q?aJ23ksvxYujZsV1Tgg2BRCOTqGBCuklLnV2T5FFw3ztjjG12qQ2Vh1eX2D1V?= =?us-ascii?Q?m/O/1JsiSl5GAa2l5pXFaRrddSvfVwhRlysApfz792XsOcaz9n/Mb4WDVoeJ?= =?us-ascii?Q?uGDQ40SICeMoC8fJSEN7/XgzlAK8WU0MpzLLWGEPqXbPAMyNVEEzSBSO9+mm?= =?us-ascii?Q?wIruI7CL8yooE5Y58SYKL2VP5xt23ZIW+N5wPodfenScEP0ithE9wpjWv1dw?= =?us-ascii?Q?iCQGQvqhPIqA66h1MHz2/yCC0+3c2/jvkQGnqToHkzjtzzxAHfouBManxnzL?= =?us-ascii?Q?4HXg5a86Zw=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65955b7c-f100-4e5e-d60d-08da53766f92 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2022 11:08:56.9017 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GNzgWtPBnp5Eg1jaTvFJZcOjspMIoiMDLWdLmU2kS3gN1bzpVWUq2cb3YjMVDrSOHZ3cIlVBybg2A6dyH6ebQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1801MB2025 X-Proofpoint-GUID: mxXOXLNH_X1QlToprsZK8QOQngYhynYG X-Proofpoint-ORIG-GUID: mxXOXLNH_X1QlToprsZK8QOQngYhynYG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-06-21_04,2022-06-21_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 > 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: savinay.dharmappa@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Vladimir Medvedkin Please fix compilation issues reported by CI ../app/test/test_ipsec_perf.c: In function 'test_libipsec_perf': ../app/test/test_ipsec_perf.c:595:9: error: missing braces around initializ= er [-Werror=3Dmissing-braces] struct ipsec_sa sa_out =3D { 0 }; ^ ../app/test/test_ipsec_perf.c:595:9: error: (near initialization for 'sa_ou= t.ss') [-Werror=3Dmissing-braces] ../app/test/test_ipsec_perf.c:596:9: error: missing braces around initializ= er [-Werror=3Dmissing-braces] struct ipsec_sa sa_in =3D { 0 }; ^ ../app/test/test_ipsec_perf.c:596:9: error: (near initialization for 'sa_in= .ss') [-Werror=3Dmissing-braces] cc1: all warnings being treated as errors