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 9D550A00C5; Mon, 14 Feb 2022 11:41:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6FB3D410F6; Mon, 14 Feb 2022 11:41:42 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id E28BD40DDA for ; Mon, 14 Feb 2022 11:41:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644835301; x=1676371301; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=cGE48Td/9HCaGgXAibPyI2xA/XuInUK5djB7Hj8JgXc=; b=miMYiRDFfezO0nyEQryfS4iTRQUOdVQKYqa2CRSTn0LCOPY2Fwyu2mYV qnHqn+3UJrBX+q2jfA5J56TCf1Js73kKjbwcGnAf2H4H5yzksaCa5tQh1 pOOp6ymM+q8wB64UD3o5QW7y8Xnlvqa0uY6YOxIC7q2cTNeht45qoXSTm 9x1uPBFroL2ivlCa5QlmjZxAA4CfvmRQ/ZZvRMeikUDsvtJ1SfR+8HEGd xOnjUQb28QzlYIvKqK3176MFD+iavhriI/ut/uUc6UNR+6qe7QA0koxGs lUbE619hLXXNFHkWI4Edv+Pr63s1qxPAzrS92DDU00gmz9rbNBtcR/5qA w==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="230027755" X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="230027755" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 02:41:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,367,1635231600"; d="scan'208";a="703016261" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga005.jf.intel.com with ESMTP; 14 Feb 2022 02:41:39 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 14 Feb 2022 02:41:39 -0800 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 14 Feb 2022 02:41:39 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 14 Feb 2022 02:41:39 -0800 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.49) 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.20; Mon, 14 Feb 2022 02:41:38 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J2l8FSCikxdyEeR4KCYVC94RKNfwVHaDpOFw0U07NiAkTljlV4N78BHjeMDO2XCGzL2WBSYXORlBVDM9/My3TtCn1AmwkFMt+FyWh6z9TO66qYi+jZ8k/1/utDTCUEhJy2I1EHA0nbpwgI3cQpiC1604dc2RgHXX+cU0N98ZO4+dDWH7xYed+7XWxm5ETDGJF99RIzaiiXlS+jBIDMoDL2MuWch+7xf4b4yIs3asr6RdHVbjtPNlm3sKNILlzBKmcHoaUgOC/Kgrud8tP1fblbiGkQWmtdKxUvFc+BmiAFImex7BD8XBLoAZSt6QLSqApshhgqwlI1OiL+FcZY3VjQ== 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=cGE48Td/9HCaGgXAibPyI2xA/XuInUK5djB7Hj8JgXc=; b=E5S0o+j9Te6GA0AS7UZ88fgPbZDPsOEAyGUHmqJlcIWFz2JQDmSPBgF0eUMW+8H7GUrmTbUJBPnGSO05e2uRynV0HhT8p7xOSmGBS/TlsCKnVcAYYH7UH/Lufu2/OjG1GYMaFrgsOr25uUuAQGc1k7ckewz5yK63xeGWHtrdzbJkCj6oqX43ol57Uu0W10fq9oUo1AAcTtoGwHcWov4BzU1aj51/exuUNxqWBTq+GXT0iI5c03/y6omOAgtGyZAv4i5oUamDLDO51+mS/Zx39oLFK20GNfJbKo4NrfWORi+w17FbXb0rGBxxT6kmZNAK0n/A5t1V3FK6BRT1Q9P6qQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DM8PR11MB5670.namprd11.prod.outlook.com (2603:10b6:8:37::12) by BN6PR11MB1649.namprd11.prod.outlook.com (2603:10b6:405:f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.12; Mon, 14 Feb 2022 10:41:32 +0000 Received: from DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::e9b0:843e:2b39:6680]) by DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::e9b0:843e:2b39:6680%4]) with mapi id 15.20.4975.019; Mon, 14 Feb 2022 10:41:32 +0000 From: "Dumitrescu, Cristian" To: Thomas Monjalon , "Suresh Narayane, Harshad" CC: "dev@dpdk.org" Subject: RE: [PATCH] pipeline: add check against loops Thread-Topic: [PATCH] pipeline: add check against loops Thread-Index: AQHYIRLWeDwATvvsMkOOU2f1J1+j5qyS3Jag Date: Mon, 14 Feb 2022 10:41:32 +0000 Message-ID: References: <20211201122119.77423-1-cristian.dumitrescu@intel.com> <13708566.lVVuGzaMjS@thomas> In-Reply-To: <13708566.lVVuGzaMjS@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 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: 52cc8bd1-21d0-4de6-8e5c-08d9efa690c6 x-ms-traffictypediagnostic: BN6PR11MB1649:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UiqbLW3GisyYS+mUQAaPPHcGCSXlNgRhTUazJimgJmln0tc3G4d3felxzaenFLAGa4QJBoCLjI5RwU8pWbc92D95MSwrX4N42w1EzjzKOtUOK70SwtYLDMKAcet+0FWf7DS3AHTmkT7eLoNzMMIwJmFAsW6rSCk7pMaWKZzYZKZqiSxMYyLCSbIMxvnyNCJztvUHRIwO/8fdYjt+v015ecwjraEVfRcWaT0LAwAGvFKUykA3pZ8BHY6oVWEOQmTkr0uGABm1Ofevt8oroqWJfJnKY2/0QSsEv+Cg5wRmFujPniASz+F6jfFH94QuF6tN3EOrzNwG2Y2qKW28ZTPFIex+ilOaFPiEuYE9p6avoWotGRg4GY5XWijyw7un4FsPDg/SmqhK/qAadizUUfHZkTjo1eF1oZitNJ+4W613TrJ2VdbWjgvhXEjVjVlwG69HdKEz5wjg00uBOLaPPOmhF0u5qOtl9OPM8YKFHeRmykw1fLggK31Bb7oMa/hv/9BrQkuqj3tK7IFaLf7mEUKSLd9hs9U/oV+96/tlwzSXcbVSCySX0jgb6dVibVRDZFa2mXsW1Pu47dl+I51XzrADQxu+lJGw/T0HQzWQ5OVOMJQIB0fQ/dSXEQdDBpa+nnMyT4+oq5PdRtwnos22lJaN7W1A3/MbwOvVr+1iXXs/55bbhblMHAuWvmQNHDNsXNchLG+90sUH4nSI71IJUMt4Jw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5670.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(6636002)(8936002)(86362001)(52536014)(38070700005)(38100700002)(26005)(186003)(76116006)(110136005)(9686003)(66946007)(8676002)(66556008)(4326008)(64756008)(66446008)(53546011)(7696005)(6506007)(66476007)(82960400001)(316002)(122000001)(71200400001)(508600001)(83380400001)(33656002)(2906002)(5660300002)(55016003)(4744005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4Zj7e/hW+vscpmDDDezum0Qt+3RfgMELoelnU4XzgRtE67lly7uI176dC6XQ?= =?us-ascii?Q?kodguJVO5d9RreBNvgu4FWKhVEWMlIAz4OAvMZ+eFjWLJtWVC2zrQE+fbVMy?= =?us-ascii?Q?coiJKx07RgyRegWRMxv4GNQ+EC0rwpr2OgHb2hx7I/cWrNfmp+KuE3xX6m97?= =?us-ascii?Q?UP/VeCl5xtyRiwXYiWOT5scXatR3jlGpsOk2qQ8npI9kjkz2U/lcnrZ4Vd/P?= =?us-ascii?Q?H86Uadkpg40kCSbBlfjEaD91ivNJJy164JxFF7UF+n+NISliITFPTkpu87T2?= =?us-ascii?Q?mGZe3dx0hd2ncoeFEJ2JOG761SMXL/qlbb5I89bOZAcwphUB9HeRJi9iwtOC?= =?us-ascii?Q?m8n8pAry50o+ZeczcnTO+V5uphgUuDo5/t1YpU1yjK+hdpoEUl6+qHNJRgAU?= =?us-ascii?Q?ONCGVmfG9CHweoseZ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ii?Q?MGCUtSSWp+bt3Xyos1YmPenkq4LwczZ/Yqy11DdPyAnfSXqyugHq6EvpCAlZ?= =?us-ascii?Q?reNWDjSq4v5Kryye6MiIr2lovB3Yw/yCzW+AYJGPzu5vW8IC94iL6UbUDb4b?= =?us-ascii?Q?Nx7G60gKiprzh4+aIXWofwIAIuojhal33ZHzhtfWn2EeURG9aoXcoAg2gblK?= =?us-ascii?Q?xnrUr2nW+NLPXFIEcdEpvfgN1SFKJVIw7pW96MAnr99j3CijfxeH2/ZZZ17/?= =?us-ascii?Q?RGXyJdCgJl1W9qjNoWGsr1WOcSbjL4wkkvfD5ZETuY1BVSF1u/vl4MasH6xi?= =?us-ascii?Q?NKmhHTqg2g5x1/h6JB+LP2lYARA/Gy7jdy8oMEZExEpqWAklDAgLY/JOTm4m?= =?us-ascii?Q?vHBm5g=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: DM8PR11MB5670.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52cc8bd1-21d0-4de6-8e5c-08d9efa690c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2022 10:41:32.1552 (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: PCvaL0kVucJDZWZt8+6QehPnUuxJwB+oDCy5iBIYTPCR/K3ON5z+ujHTL0objA/YgTEOiafV2wFZ+m4Q7g7MqBJ8oKc2rg1rwQ8KZuZC7ZY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1649 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: Thomas Monjalon > Sent: Sunday, February 13, 2022 7:49 PM > To: Suresh Narayane, Harshad ; > Dumitrescu, Cristian > Cc: dev@dpdk.org > Subject: Re: [PATCH] pipeline: add check against loops >=20 > 01/12/2021 13:21, Cristian Dumitrescu: > > Detect when a jump instruction, either conditional or unconditional, > > is jumping to itself, thus creating a loop, which is not allowed in > > data plane code. > > > > Signed-off-by: Cristian Dumitrescu > > Signed-off-by: Harshad Narayane >=20 > Applied, thanks. >=20 >=20 Thanks, Thomas. Regards, Cristian