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 F4034A0540; Wed, 6 Jul 2022 11:41:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A4EA40A7F; Wed, 6 Jul 2022 11:41:07 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 0AEBB40E09 for ; Mon, 4 Jul 2022 15:45:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656942350; x=1688478350; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=GpZI7V/h1IkeDuLN4ScDCE5q9Gihi+mB1d2wRRAHszg=; b=E0I4qTzWjVxJLgjkPdJF+yog4K43Hc64J3stGEsRrX1LZnSJ8vWgCr2c dGqkvnNgMqnuyeJol6nZXBN83NWmNIkHof0rjyyMlvu42H19d7VTaTvA5 qrAXMkWgOZXDPZeZHCsAPPJVSKazjQHU71kxVH7UVD34rNoqK+MaCM3jX FrBte8nFiH3/JLtG61IkxK2q/+S/n7eP+gKCEozjE3zs7hpPReWPFH/Wj +/N8Fv80S/B6pmwvoWkqy0jn+Wcr1HQ+qEnrTaIT9O5sEw9RCy+UEjOqA vfaiA+J1W72hjFqOfF7vKkINMIjwSqMeZa/IPeOHNxKyNxkvo/A+AI6Yk Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10397"; a="266157453" X-IronPort-AV: E=Sophos;i="5.92,243,1650956400"; d="scan'208";a="266157453" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2022 06:45:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,243,1650956400"; d="scan'208";a="625060443" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga001.jf.intel.com with ESMTP; 04 Jul 2022 06:45:49 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 4 Jul 2022 06:45:48 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 4 Jul 2022 06:45:48 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx605.amr.corp.intel.com (10.18.126.85) 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, 4 Jul 2022 06:45:48 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.46) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 4 Jul 2022 06:45:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MdstnjeDB9vZ4BNcxdQ9TucoeefGJQ7RyYFZCnrbU0dtcidl/a8MUovbBf6GJNRYhJs+tgLnro3uCmgOGWyjveBtem+LVM8/kU6kvURgEYj2UNuQgO2tWylLQYQ7kciBxlg+fsDbrSItMjj6Ip0wOUl5hdaE9+BrT/BTlEcHW1E5zrChI9curqwDT2pHaoSOhYvfC/vLlQsh1b26JvhjZyhNBz+1MBakyL+4kRN9IJMaOAHS+XupJFKXBErYPIhhvfEk7s6wjHA8ypXKblrtOD+jlOEO0BSngD3NSPOxmhjrp19pdZZ2Pq9nkYHB/X3yTAHwnTmMUSsEBailZNNp3g== 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=GpZI7V/h1IkeDuLN4ScDCE5q9Gihi+mB1d2wRRAHszg=; b=HOOocDEXMHhZGnc7tNtPpQbVmHD8pydLLzI1QlqIt71yaezxt1vHC5LPt4gQjy0gWwB8nq39Q+OHSDPWzjo9i9DrN+/cEFwG1iCpDd3Bh8E4ZakvffX2bcA8exrKyr+d3PGqKuLNzt2DUy4b2dVaf/3OF8xtxqwtuikE7gt+GR6uzLDJcgrye6zJDCxBevDFQm1JfiVMq7NAJ3bYX5MpgjuaMCyUvXlTe6aL1/0YkNv8TGfjJrYEVlBD11NHYQylA738DJIQmdDAS3ggtGRBDsehaqNezTVIfPkJ5plS1Y19VekbFMCYlTOdPBVS+LjmCOftCmFCwEzK12GfdNcxaA== 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 PH0PR11MB5159.namprd11.prod.outlook.com (2603:10b6:510:3c::20) by MWHPR11MB1373.namprd11.prod.outlook.com (2603:10b6:300:25::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Mon, 4 Jul 2022 13:45:45 +0000 Received: from PH0PR11MB5159.namprd11.prod.outlook.com ([fe80::c8ca:b1a3:b892:8681]) by PH0PR11MB5159.namprd11.prod.outlook.com ([fe80::c8ca:b1a3:b892:8681%8]) with mapi id 15.20.5395.020; Mon, 4 Jul 2022 13:45:45 +0000 From: "Khan, Hamza" To: "thomas@monjalon.net" CC: "dev@dpdk.org" Subject: RE: [PATCH 1/2] common: add safe version of foreach-list to Linux Thread-Topic: [PATCH 1/2] common: add safe version of foreach-list to Linux Thread-Index: AQHYdaYX98CgyyMAyEuMMYzlJjf6lK1uanNg Date: Mon, 4 Jul 2022 13:45:45 +0000 Message-ID: References: <20220601105455.166505-1-hamza.khan@intel.com> In-Reply-To: <20220601105455.166505-1-hamza.khan@intel.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.500.17 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: 8901bade-f254-4fb1-12b2-08da5dc37ef4 x-ms-traffictypediagnostic: MWHPR11MB1373:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 31430EAmKky/gpRz85VMoQlYkAXGBIp/+SSuBhyiQJccmzLAegMz6vMIWO0pmTSYfiU2bA9VhnE8dCexI74ds0WXW/kD43xNENf0ZA+MOukg31s+pzZEGyl2aBr8NA4gQuwiuUNGJtPt/VUP/KmQ/+U4jDzjN0Ge4/ya6u2NSWRoYysWlhLmhS55NFraWRxqduVPvwhtTolamwuPtTCIiB8HPjMrKodFkpkY4nONtJL/RDMSYOoV4Zf/79Biie8ftS4yr2ur4ZYjHsJLV3fO219N2ii9j46t751U0UO2fP+a4Cys/ZOfQu37ODU2zbPjv0duDrH7o7mOkHR9J7GehvxG8ymrRIDtQEPJlR3MOa+r1t7+gvX1yPK6/jfg2ws9pRyNsOQ5kFNedoogD/streo2pthvO4IKOzgazyDUmV1TQK/gs0M/KslkRGjcD6X6A5+6uR0vcFWygJnQtn5lk9v0liT9EHvtxOKPb4C5x8pyhlIon5a4JXCRIgKQaKMxveTl/pmI0Gn1eI8+W7F3bUel69bqb7fTfuoek9ftdSbmzLCJK9OHCuF5Wqag3qC86oXCas4eNYWtSV+Q3cgfFFiE1FtV+3PDxVm6lZmkRVaBRryMdL8QASOlytFEMLTP9+zL+HDY3mx5tqPH96ThZhOav9AdpT/li24DopJXeE1hdgt0y+GF2dBKiwlH60GsVDe+IbJWaJWxfZ+0TaSFZOoIvLrguHiQZ4pwLZkR/lC7F0RvVQJzQmagocPqE8IyL5Lh9Z65jSQbaHoYIB/yBT1u7TpC9vNCR1ZnvX2ZOrAH+LbAGk0qF8WYgFQ3S5bmmN/Ugiobbebq2YUYUe7kYfdekhcg60F0qU/6VhlnA7g= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5159.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(136003)(366004)(346002)(39860400002)(376002)(396003)(4744005)(66476007)(66446008)(66556008)(8676002)(64756008)(66946007)(4326008)(52536014)(5660300002)(8936002)(76116006)(2906002)(55016003)(86362001)(478600001)(9686003)(38070700005)(122000001)(82960400001)(38100700002)(966005)(71200400001)(41300700001)(316002)(26005)(83380400001)(186003)(6916009)(7696005)(6506007)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9DyR2EyHnReyGu18/GJZsJGcx4ngpd7xO/dVOJsONRu1MOEmqE8GO1kQyE0j?= =?us-ascii?Q?vhXcSNCQPUZGErgl0wSW+c1s5+AZz44JHfWTKcNaAZkRApKGRPjIQSgInBuP?= =?us-ascii?Q?YZOCR0G2tlQespyE8CeS9Nook3oR9I5fOpYV6wZmJNwv4qgqX7M3wvUDXq+b?= =?us-ascii?Q?Rd6ymSyxQsba6aT8Wxogz0cKzQSYGpaeVtBxXt3Lnek09XnGdWy9dNuLMtuI?= =?us-ascii?Q?60gzj7ikjHrRyJWmBENIQy3CIPw3xxvTwL/RrzO6cMA8wdLKH2xTuIsD20Vu?= =?us-asc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WNAbKgkaiDSLJzDcm0dmNj0O68d6GeGoAGiE/Tt?= =?us-ascii?Q?+JjQhFhLK0PN+1fnhTw0k0YpQO9jnjdBjBZYksU9wnTKgD6+I36hUv099WWF?= =?us-ascii?Q?qKRviQrndvf9BF1G49gD2vHbCES84kVKy5Kmd76ctZ7/qO9xZmkoYaShJF/Q?= =?us-ascii?Q?uE12IxZ2ucjRxBARCAZCkpaidAomy/+UknmrCC2lWlunz3tzAd/IWT0L3ZlJ?= =?us-ascii?Q?oNETBo/xpdfLp3AHiYFmnbqMuHIqs85rg7cHeZm9Cymv27nRTlwfDon5vCO8?= =?us-ascii?Q?1iBobxs57hiSICv4iOQ9nDs9dzmcwgTu8Q6w41PyPpI/9sa0sdhPh9MfMM3p?= =?us-ascii?Q?mLkFA/SJDLwgQ1aMd2qc/EBBVZByow7VnlEMNl5+tXwVpJuVkAksgfvQapF8?= =?us-ascii?Q?LaD2KbIvmK0m0ftDZlxRZPx3JnjiyVUYM92HvfN8?= 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: PH0PR11MB5159.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8901bade-f254-4fb1-12b2-08da5dc37ef4 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2022 13:45:45.5964 (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: GadQa+RQWXvjTfe3pulqrf/E7CjrdcH9IYU3H04+gaQKxlByD9EdSc0zEtQ766bsRhwxP37Y5BUudNHgh2jHng== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1373 X-OriginatorOrg: intel.com X-Mailman-Approved-At: Wed, 06 Jul 2022 11:41:06 +0200 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: Khan, Hamza > Sent: Wednesday 1 June 2022 11:55 > Cc: dev@dpdk.org; Khan, Hamza > Subject: [PATCH 1/2] common: add safe version of foreach-list to Linux >=20 > Linux EAL does not have the LIST_FOREACH_SAFE version of the iterator > macros. Add it. >=20 > Signed-off-by: Hamza Khan -- Snipped -- Request for review and Ack on this patch Also Please merge the patch [2/2] examples/vm_power_manager: use safe versi= on of list iterator ( https://patches.dpdk.org/project/dpdk/patch/202206011= 05455.166505-2-hamza.khan@intel.com/ )=20