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 402D8A0C53; Wed, 3 Nov 2021 10:00:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA8C140F35; Wed, 3 Nov 2021 10:00:54 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id ABCC140E5A for ; Wed, 3 Nov 2021 10:00:52 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10156"; a="294908475" X-IronPort-AV: E=Sophos;i="5.87,205,1631602800"; d="scan'208";a="294908475" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2021 02:00:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,205,1631602800"; d="scan'208";a="500955628" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga008.jf.intel.com with ESMTP; 03 Nov 2021 02:00:48 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) 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.2242.12; Wed, 3 Nov 2021 02:00:48 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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.2242.12 via Frontend Transport; Wed, 3 Nov 2021 02:00:48 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.170) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 3 Nov 2021 02:00:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=coyzpnmMAjPOiDypqq7NN3bjpNAgUxR0PpFIi7iUthcu0mAvxW2S/GxBq8hlo4yCUyZOxsb49Ym5huhJ/tOeYZfoBqyLS28HImPkXVRcA9+y7brrBwm5SGPQfIMFX1U8CQInzd760x4LZuG3SYhokbU2NtwUmldHOdK0e5BzUDpxEk4wWyjgJnSi5RdEeotebUzi6+MXYKO6/V2VY0127ZubUEsT3NVI+YYgFdQSWGTuBhveNRPe6sq5TC/0ClHQmIyJbE0NFy9GLKG6SxlEFfjou1/BIjXYGeFjlxui8Mq+KdAdJ8yImTHuTm/JJ2OqA/yzmVeqPWJCstLDWCLtOQ== 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=Ux4BLdYKO9Qoy3BOiXM8s9XxVSxlzIPbXDuK+qtWmuc=; b=iP3U03b8B/TM9NU5aCbMZ0/PHJ0Njg2YKFwPLBO3KbRwubh/raVn1+pTQnpi4UgwxSGtWe4AXh4UnJLDzRkvowhIBiAglwZSFMrZpQq1rP4wGcNvt90yptA/uHZa4LzGczLr75nuEP/hHpIpgMOeWKXvsKjgo6AWiizrMZwN5qBU+t5zdxuLXKZ2lLL0TsTAMCdeJqikVeQR4EoCOItrupEUeVAXGRFv8xJj3ul1UsjDHF6SQ9dywu+DZ8FR0qq5FVHbsVev79EPDxlfB1hNO5fAC54LojUYXzBogV7K0zPojVxwLKtD/XF6SGat8Okp6BtuiLlpxjKYUp0/Z3VMvg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ux4BLdYKO9Qoy3BOiXM8s9XxVSxlzIPbXDuK+qtWmuc=; b=opoIVsq4bNlyHkBYP/pbR9G2x/pf68eF06yIDKxz2JqvvUdddXPToaI4OPP2iAuu7VmcJMg3VclWY2qjfRnY2y7si2zrxQv2kqCzYTWhKFGgRZSKywtgx2PxqAzufTR7t+bkFgig7CXa4HIRDHwMTElwMGAqa3XhZwTbTG4WSJY= Authentication-Results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5175.namprd11.prod.outlook.com (2603:10b6:510:3d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Wed, 3 Nov 2021 09:00:45 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%7]) with mapi id 15.20.4669.011; Wed, 3 Nov 2021 09:00:45 +0000 Message-ID: <6a69d4fc-3f69-799a-e273-c45c3bbcb04c@intel.com> Date: Wed, 3 Nov 2021 09:00:38 +0000 Content-Language: en-US To: Stephen Hemminger CC: Thomas Monjalon , Andrew Rybchenko , Somnath Kotur , Hemant Agrawal , Chenbo Xia , Rosen Xu , References: <20211029214739.72707-1-stephen@networkplumber.org> <20211102234434.2639807-1-ferruh.yigit@intel.com> <20211102170535.1e2ce414@hermes.local> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211102170535.1e2ce414@hermes.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0397.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:189::6) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by LO4P123CA0397.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:189::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Wed, 3 Nov 2021 09:00:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 17ca45c4-051b-43ac-2cff-08d99ea86bc0 X-MS-TrafficTypeDiagnostic: PH0PR11MB5175: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2276; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bQTXqRDhwB3T8uyRy5bH3daGOrP0JFDEtrKMNHwVNwXH1DLjci2GsBwT3MKeFbRzRblUEW807vcGsotRn/rEfN99aFjV4SYabESB5F/IFGJvnNVR6y88rfO44o0xTJgPG8cd+f1GpiNMbIRMGgt1yiT+K4fnkD7djKvE40qEwr3zZ1QbBA/C4Zf04ShuuUM2h/UsGBzquihEMZ/b5ua1nc0bGi7QdfNMSkf7AxkS3RMOhmtftM/KArU0oqL/rn2AJojTqgNTGwuWF/1K6FLoo4uCaV+ii6vRE+Wj8xv/QZFBB0hSwSPgrSnyouGb2o6Jagi8w/dIpLR/dfvXWjS6JH8RCcxOkrk3azZRi9msTVvalpJcyO3lciRrseF7d7oyFuX8jGauDrXt6X5lJrI2gEH+PqGSiPa7NWMOM0D5afiw7T1Gi2ugSZ+MZ1dk1/dznPQ5RYIsVxQHERtfj05PE/8PADCQJdqO9tUAeV+Ld2r26HA3By8zV+WTL3zuyYsQTTRCeNNbumJNXEBdu4uUiDO28VPsTzC8SYwJxMgiAgKDqK4uiL4zHGfFuklUw2WMfRTOh3NRiubUSomDWcBlBbQl3sl5QE8M+374bqsQpO7ehxWlVC8QaPj1BYG5aNfznWm/jD59uMmb5ilbJ1JkGvuB2E4fCjvQBv75+muTEYK7N8XbU2tHtotYoAuXkg9g3Hm0O4ihqEkWsMc5ThYr0w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(31686004)(186003)(86362001)(2906002)(4744005)(53546011)(6916009)(8676002)(82960400001)(26005)(38100700002)(6486002)(36756003)(31696002)(5660300002)(16576012)(316002)(8936002)(83380400001)(4326008)(54906003)(508600001)(66946007)(44832011)(2616005)(66556008)(66476007)(956004)(6666004)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TVdzWDVWT3BqaDlyOVBlelpwOWNPZ0hwU0YvNVNnUGowTlMvd2QvdDlPa1pI?= =?utf-8?B?OEhDa0R0RzVCVFhMdGt2MnJ1RXVXbDBsc0dUbko3T3VZdWVCclEzR29YY1V1?= =?utf-8?B?V1VIeUtobGY4REMyUHJiNEUxcG15RjZsS1JRRjBEbVdxaGhkYURJNTJaeGQ4?= =?utf-8?B?STBZYkdlUmM4b3RaSDNpV2lyUGxCc0V5TGlibVgzTzJ3cmJhZVI5dmVobjVp?= =?utf-8?B?YkZNTUFSNUkxUm1xS2xJR1pnR21mZ2FWSWR3OFlvbHlpQ3lUNHVYa1lpd1VS?= =?utf-8?B?QWpHWkUvMWs0aHk4YXRyOXNZSHdNSmZ1R1FQbW9sOVp6QVVVd3pKU0Q3UXhq?= =?utf-8?B?blh4NE5IRlJHS3FPWlBvNldMbW1MeDRzUmZ6YWx2eEZSQ2ZzdGUxd3Y1LzlY?= =?utf-8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enant-Network-Message-Id: 17ca45c4-051b-43ac-2cff-08d99ea86bc0 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2021 09:00:45.1545 (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: BdUiuQqnqP2o1s9V7swpxzXUuLYoRm3knaVn/WeiKckCnKX8zigqWYCaOlXzDC3TZQGII+W8E36VByfAokCrsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5175 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] ethdev: mark old macros as deprecated 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 Sender: "dev" On 11/3/2021 12:05 AM, Stephen Hemminger wrote: > On Tue, 2 Nov 2021 23:44:34 +0000 > Ferruh Yigit wrote: > >> Old macros kept for backward compatibility, but this cause old macro >> usage to sneak in silently. >> >> Marking old macros as deprecated. Downside is this will cause some noise >> for applications that are using old macros. >> >> Fixes: 295968d17407 ("ethdev: add namespace") >> >> Signed-off-by: Ferruh Yigit >> --- >> Cc: Stephen Hemminger >> --- >> lib/ethdev/rte_ethdev.h | 474 +++++++++++++++++++++------------------- >> 1 file changed, 244 insertions(+), 230 deletions(-) >> > > I assume all of current tree compiles cleanly. Yes. > Should there be a release note? > Ack, I will add in v2. > Acked-by: Stephen Hemminger >