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 9BC90A00C2; Fri, 4 Feb 2022 07:13:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 21DB840143; Fri, 4 Feb 2022 07:13:55 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 7A7FB40140 for ; Fri, 4 Feb 2022 07:13:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643955233; x=1675491233; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=IZ3vOmKfR8OBvapBJSaEqbkK0hsJ0BfpXkw6MdFoyJI=; b=Zz1uzx/LV8JncJt+Ro5ofJ3gtaJ4IyEoashH9He8xDomM6kS4DjKS9Lo r2fCjjL85rnQtLTRY+oK8glvvk6vj1TzVDdotN2lbM1K8HoXU0DLoUqOA RwFR+x5kdAQ4lPu+Lyp5iOcsktRC4vrwwxR0i8Bh888sh/2JedPuHD4di DKONmvfoOPOoVh6f0ZYAnnFDnyDVGTDQ7zpN3N16SQNtvJdOvpuKH5Wa9 15oFzVlAieJxRaPm3uzJQ2vYLGQVYEysdI+FdO0bVGwnWfA1lrRGTj7x3 kjWlzDFc2cIvVq6yH1Bf1y7HmtXq0UtWj2FeD671O0e1+IzKPLmH6vB03 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10247"; a="311619869" X-IronPort-AV: E=Sophos;i="5.88,341,1635231600"; d="scan'208";a="311619869" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2022 22:13:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,341,1635231600"; d="scan'208";a="566657841" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga001.jf.intel.com with ESMTP; 03 Feb 2022 22:13:52 -0800 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 3 Feb 2022 22:13:52 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 3 Feb 2022 22:13:51 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 3 Feb 2022 22:13:51 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.41) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 3 Feb 2022 22:13:51 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FjuojEmEZ9purwaz9oXSplqzzu/Ep5xSepZ3X+yLhuG16VhtN0790zUkT4NBLGILjKrjwvw/y/CvwEwzm8mB6hzb34Iz18F4niogED5MeOMXHo2DtRkjnDTi90hMkuJsg+ubBewU3Imze3DiX8JLLy1BCQKJLsJuA6XE0bwrvnDt1tDu6C+PAxZPezheGj5jtFRwFhPDF4jIPA0hlc8YikpZ3KDoZKyL2IBwBgUkrYYTjaA3QBkwJFWFlljKrgNkJakd1iaAnZ5ygX0nwmyE/1LcAMVcMFUmrsLtNBxFHucyQRaoSf06v7WqEMrQy8azOuglJB3A1M4CFux8CHN0iQ== 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=IZ3vOmKfR8OBvapBJSaEqbkK0hsJ0BfpXkw6MdFoyJI=; b=EN0PlUOTN4J4kLR/PZBDHRzrjhM+zXtbQA8y1p8FmyW0HCER/KjY/Pj3awANIAAMF+SW6LNEievc2h/B5RK9RMm5miYt33Xf8InhgMjHtbEA9cvpsQsmdV+W0Z0Au/7vGZMJnI3ckgDGOBOcW80MYMrcogVOsKRgDuCVE1niCuC1dsBFPPiO5jiC1nkeSawId6USRy4fAyaMc+qM7nQPoZBpOX99K/lSee+znDuMXd7se5sT6FeCrITZupuDt6aeGLjC2z6Zjel4APtB5KXZwB50O64SkqaywWLg9nhr6cvxygocDodYwldH78bWPha5HuekYGMr2/q3kvR8oR5L7Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) by DM5PR1101MB2249.namprd11.prod.outlook.com (2603:10b6:4:5a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Fri, 4 Feb 2022 06:13:49 +0000 Received: from MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::417b:7df4:d3fb:2b0a]) by MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::417b:7df4:d3fb:2b0a%3]) with mapi id 15.20.4951.012; Fri, 4 Feb 2022 06:13:49 +0000 Message-ID: <2f156089-44ad-776a-c483-9ff62c8c716a@intel.com> Date: Fri, 4 Feb 2022 11:43:40 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v2] devtools/cocci: update cocci for ethdev namespace Content-Language: en-US To: Thomas Monjalon CC: , References: <20220123172046.1296964-1-aman.deep.singh@intel.com> <14548884.JCcGWNJJiE@thomas> From: "Singh, Aman Deep" In-Reply-To: <14548884.JCcGWNJJiE@thomas> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BMXPR01CA0019.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::29) To MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b54b449f-f7a1-4cc3-2625-08d9e7a58243 X-MS-TrafficTypeDiagnostic: DM5PR1101MB2249:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4941; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Mee4VmcCu6BfWwpOeipuIH9ru0KAlEeC6a2amaO30H6CGJadZ/9vpAP+oL4CS7LgwUSjRkvzvNo2H2/rYMJuA9vb3mRwjSyF/Mc68APKg5kOvfsCT9BK8m1HP1dmx86pgAkmWqGMwupS+qXToKvMA6cW9I1jRlWnYgoMSYsWFixGPf5O9jm5dZlR5ebZrLoxfHfC8xX4dAge40nTsPbn3lVdUs69+zjxWL5xLJJ7ZpJ24R69RMG0F72M16NN4sCy4qsfFlrHadeELCwAtuwWFAFI5YpPA7PV51iXyMol6R0p1ayweRomj8HmZ+h7IAlDDnJaHigNVTJmEiMvR6teGA1JpXfN4mzynTma/nORSdttErDmCY/LNFTBm9SLQCJOipUW3YT1zCzsKbjKz9TFsPugS/SHIomVG6wOkO+jQhVjg2Ne3HHelZPIz9JRnCSe6nxzWQaX9CI6Fv10bA0nmjEiMxIMuSoz/LuSVL4BNBPaikHi+HWAVHy9Q5p5yYqaFJ5ckWsr8LPOZuXac9naahJK2S5vPQFUwgRP+WqAFyKApxOrEc46R9Cb8Q51v9vcSG30PZVBLZDHM3kFAu2ZqJZHiHAZS4pV2dI3jLNrvksibwLaJ5cFghdi0iXUo+kBgDRZqYv6U2WzmudT2bHgj7qusXICbVbbdrCTgiUQaN8+65JXWWx0VbVRu/R2HIeHG/93jkjpuvV22kSMW9+YmjivC7OdMv4Cxqt9nZLB9j/+nIFvDVibDM6DNoLqYwb4 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB0062.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(6666004)(107886003)(6506007)(2906002)(186003)(26005)(31696002)(53546011)(86362001)(6512007)(82960400001)(38100700002)(2616005)(36756003)(8676002)(4744005)(8936002)(316002)(6916009)(31686004)(5660300002)(66946007)(66476007)(508600001)(4326008)(6486002)(66556008)(21314003)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YSsveU9MeUx2Si81TjluZDZZb1JGTXdHcFNZSWdwSGYzSTBBU3dQNnFWUHRv?= =?utf-8?B?S2pQdnBxOVJaUTF2NHo5VEpUU3BDSDBmdVI3a2J3alBBOC9Tb0R3MUpaRHZU?= =?utf-8?B?U2NFTFB2UXlsUjI1a09HS3JlUmlIYzl3NklXS0NPMmVJdzkrbWsyVXN4VXFK?= =?utf-8?B?VytRYk5lbXFwVDVPMGgvTVY4ckk0S0xucGkveTB3cm9kWW1QcFpxcjUxRlB4?= =?utf-8?B?SEFHSVNPZ0dHWFVmNWdTWG1KN2ttODVla21GUmkrc25ydzJhTVlFTC8rb3ZF?= =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zVYamtCa1RucmVkM3FCVDhZNzVleWEySnNO?= =?utf-8?B?aXRaREZURkw3UEVpN3JOTE0wbWFUMlZpWXBNaUdUR1Zkd1ZvWGdsU0FjNjlm?= =?utf-8?B?R28yWGVsdThINXpUWUpKTnhKYXB0WXRqcWZyNlliUkZDOHFLZlA3STR4cGVW?= =?utf-8?Q?Tb2tjHaUA6fvqpZYksqZb6DYR5YwuEcVBLU5BTrynE=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: b54b449f-f7a1-4cc3-2625-08d9e7a58243 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB0062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Feb 2022 06:13:49.4600 (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: ZCb7vO0+q7qIregSCuHb3C53mCjZ4wHkiMS+VQrzKyeNHhgF2Dfrg9xKFfvoaRbszSjojn64riYADEw6EQqyH3Vtc//RDsuJvcdRG5/SYho= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1101MB2249 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 Hi Thomas On 2/3/2022 2:31 AM, Thomas Monjalon wrote: > 23/01/2022 18:20, Aman Singh: >> Added two specific exceptions for ETH_SPEED_10G >> and ETH_SPEED_25G to avoid there name change. >> Added check for ETH_TUNNEL_FILTER and ETH_RSS_RETA > Please could you explain why? These two macro's ETH_SPEED_10G & ETH_SPEED_25G are used by ifpga driver and script should no change these. There are multiple ETH_SPEED_NUM_xxx macro that need to be changed to RTE_ETH_SPEED_NUM_xxx. So added above two as specific exceptions. The other two patterns ETH_TUNNEL_FILTER & ETH_RSS_RETA were missed before. The script should change these to RTE_ETH_TUNNEL_FILTER & RTE_ETH_RSS_RETA > >