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 8DD0AA00C3; Wed, 21 Sep 2022 16:49:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C9EE4067C; Wed, 21 Sep 2022 16:49:36 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 0A6DF4014F; Wed, 21 Sep 2022 16:49:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663771775; x=1695307775; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=5XV5MACNa8OISLLs16ga7qiNFu0DhAAHyaIkU7be8q0=; b=Wg3ujslXyqLZE5FC7/kSH0gk/IyQ78crjxC13dFMxxgjGKlDKhwExpET NupXrbtCKvkc0KYeoFETW3mdghE57tWwj280NeZY96JEG2DFaSA0UaQE7 84Lh32HYIQ/+XL4M7I89XQVZxSmnuUQ2YO8kUepDoSU6vnPZXpH010Uky vPm4VFPfl+eJY79SToPX5TRNHcoGC0REKpqJ1x1Mi6hwFO/7p/ASfQB5b 1QWE+Ha54qBO/CyeZ5gQ/y+4KgJWppFyO0p9PwMYW8GELbK6zBW6sGoaC uftwvjVHG8bYpSOcP/17ZNH3/GhSeGV097YKJfuZOln8UDH+k989zNVjy w==; X-IronPort-AV: E=McAfee;i="6500,9779,10477"; a="287094266" X-IronPort-AV: E=Sophos;i="5.93,333,1654585200"; d="scan'208";a="287094266" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2022 07:49:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,333,1654585200"; d="scan'208";a="681797397" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 21 Sep 2022 07:49:32 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 21 Sep 2022 07:49:31 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 21 Sep 2022 07:49:31 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.176) 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.2375.31; Wed, 21 Sep 2022 07:49:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RCqEHWIokjXyY1Ph003gPTFKOL3XqLYx96Egrwe5YQ+N2GXmhm947NRNGJI63aUmUsbx8AvDLYUs1HqnyPyI6M1A7SFywokeAjfEWWFXTxfoo/So0rbST/bHtYaQwpt6NMJRaJqRuY3y3pDh9VZ1mcxe79SRzHCWQluyiMGQl5hS7JzE0MwgyoSf4XiTWHmanfpPxgCp66UEea81GJ6rWW8T0rJfB+zOTIsqHRKrdqHP82U+NO9uOqs47BOm2uZnc97kx30rlewMuvwo9gfCJk9Nb14zkMK7K1as3v6x7jnSWck+XJ7eOy+FiAX8LHNvw9npVehf9eTVLq0ovNV4xg== 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=CDVsvmIGw1oY0pSEdSTlnyQur8NDRfLbdazREjTpBYE=; b=BwoafFQt4JyPoV9A79xubK5vt5ide3U42F4TxjvDU0C90JPLodvTcIRJMC6Gj8D6aNSoGNk0N0K2BqUP3qdvfrfWFhzg36VuQ2xiJGfryW+ia7Qp0hiVoKXteUs7ANaDxip3D9HW334/eir0Edy7mjTXdkT3KVfWb4NgY6Od2O85tgy5L3pXRAl9RutDOHl7XX9vQ12Knkrei4w0/SB8nTe0luHRV2hnA75fH85vHGXLYqnD8RSvCmGh4gbPeY+GBsykMFClu1xVIYZ3T34yn+UOijZnNn31ii9VePU47VDc7rRFLpASHrjferxMj8f93wdeqYushS8uCFW/vnKk+g== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) by SA1PR11MB6616.namprd11.prod.outlook.com (2603:10b6:806:257::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.21; Wed, 21 Sep 2022 14:49:29 +0000 Received: from MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::13c:8120:d994:16d2]) by MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::13c:8120:d994:16d2%6]) with mapi id 15.20.5654.017; Wed, 21 Sep 2022 14:49:29 +0000 Date: Wed, 21 Sep 2022 15:49:15 +0100 From: Bruce Richardson To: Thomas Monjalon CC: "John W. Linville" , Chas Williams , "Min Hu (Connor)" , Liron Himi , Tetsuya Mukawa , Harman Kalra , Matan Azrad , Maxime Coquelin , Chenbo Xia , Ferruh Yigit , , Andrew Rybchenko , Stephen Hemminger , Subject: Re: [PATCH] drivers/net: remove alias for virtual devices Message-ID: References: <20220921133451.4164506-1-ferruh.yigit@amd.com> <37814289.10thIPus4b@thomas> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <37814289.10thIPus4b@thomas> X-ClientProxiedBy: LO4P123CA0580.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:276::16) To MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR11MB1629:EE_|SA1PR11MB6616:EE_ X-MS-Office365-Filtering-Correlation-Id: 98b4326d-ca83-4fa3-79dc-08da9be07cc4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 99NLgCtr+zitxlVhGj4HEb34qfOpxS9eSgfLL8KoCJe2SEIqDOCTL3+WW/Dr/TSc1QCNP9EWXPrp42I85APgguwFB5EFkQlnToiEzutMGxAEELXaNIADe2ykmLp4TvIQPDha9zc8X1oMmmqNXsvrx274McMjcqTT383GvntkcfpJuwjftqImQlrhmsZIvJPuWtieHvCGSlVtsXCEG/FVhE4Q7tSwhb/YIQOi2CMqEp9W1uSrZd7LscrBQNKogp5zNrrmB/SWAIrSRtuJMl9jPyrLXzmP8W6RRkP0c/lfiE26B/Nwg+6MCpR8jDmRS7ZO1hHfsxTShlP7nan91IrmpsFN3634jl1IirAKUO1qI/1WpSnebmRMB57Fr6WKNLwmLVpg6kmfPIv6w2Fix6jwPkGQBoyRba1423ksPVW3AjVSA0OGFFF6oWI8Ui4cJyC/3bP2Z5cgU2qKBiXhOhlEt45rRaZBMvbTIMpdeog09NzNAdmzGt9y0rDmMidOdCoeh89d+2jI/aGwBM4bKhGnbEhQFSAtt9IZgqnZ0dsqgucmAw8okSQTLtAUXnGfi/vVbMeFiIw5Iux6Ze7bmUeOo9b6kdUhY77fHa5izh+hPKwnAK8L90ttyNPXJcO2UrFIzF3NwQ+4bTZfh8mlPq90Sqj4d1qnLYIKGxultPL3nebCDNZfB2EscCo178UCzEDp4g4RGoZ9xsRcHLdUh8t95g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1629.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(346002)(376002)(366004)(136003)(39860400002)(396003)(451199015)(44832011)(2906002)(82960400001)(38100700002)(6916009)(8936002)(5660300002)(4326008)(86362001)(8676002)(7416002)(66476007)(66946007)(54906003)(316002)(66556008)(6512007)(6666004)(186003)(26005)(478600001)(83380400001)(6486002)(6506007)(41300700001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Z9bsraHQ9/5Mw2QaC5ae0w2/+wgIYSzRtIHa9HCYaTmioAAvzl4f6WWjT664?= =?us-ascii?Q?K5wa4VkTJM66+/voyUKdQ76GKBNCLp4AHUcYke+toVeKqFCQbG62iUNDhkgK?= =?us-ascii?Q?ne0Y5bWAuVTB9274X2NI5PwtR/COOQ+N8RK4EnIAgQa2O0cjwa8IWbscmgcK?= =?us-ascii?Q?3kURuZvFvqllW/83X2zXX2ERN4E4+G+msrUQrT1IzUhjw1rDYNLdg0KjFcqn?= =?us-ascii?Q?7IQlUB7+0gq0CZPB2y5L7iGXctq1Wn7OC1zaEwZVMZa2bn9Iw95S1BYGQ6au?= =?us-ascii?Q?mwdPqbpLNFVe6M9DeUOKhTXSiCLCj3wLs0Py97TzqFk6E76zNvqxYCIZBlOz?= =?us-ascii?Q?DCo59aIC/gSA4axpcTsLjQiwY05FE5+vkM5QwYkJxOViMqrwudlJkQNGRGSv?= =?us-ascii?Q?0OIDXztI3szC7JP+k1UPwIlhd3DGK18kvdXoRGBcT3FdDEKciCf2p3BI1ttP?= =?us-ascii?Q?xtY611/lkN/lnX4+bz3xL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us-ascii?Q?OzJzzNa9Kiw0XAIU+m8/jgqDMMsjEZEI9cycc3hxH3LXOA6P31J/yJLyPdog?= =?us-ascii?Q?d9OBVM6mc9f+PbepGYvhlF9KoMcZYuLGM4Bd3iyCfq6i/7qug3QvMq+RcTh2?= =?us-ascii?Q?1wuIGuBlkRGseomIfnk7p1pyvvGBHt2I83Tv8WzTC7LRBEdJkmyUhKWc6xYc?= =?us-ascii?Q?5Srkrx17wJoksZgtRYBWz21EKt2ksmit5T1IVIrrIGYyAzqV/zQ8jH86bgDX?= =?us-ascii?Q?Pg=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 98b4326d-ca83-4fa3-79dc-08da9be07cc4 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1629.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2022 14:49:29.7076 (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: 7vILAWk910VhW2aXfYftCYhZlXV8e0FKE29ccqpe92PRksnHStRMmT6eA6jlHnQnc2D6p/9G4Q6GeGXKp7lBvQNORKve3l8gXGmFAqZCGTo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB6616 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 On Wed, Sep 21, 2022 at 04:26:11PM +0200, Thomas Monjalon wrote: > I think this patch requires a techboard vote > as it is dropping some user-facing naming. > +1 I personally am a little uncertain about dropping this support. It could be widely used, still, and removing it doesn't save us a huge amount. What would be better might be to: * automatically add the eth-to-net aliases at a higher level so it is all in one place, rather than having it in each driver. * once centralised, we can add a warning on use of the eth_ aliases to inform users that they should use "net" instead. > > 21/09/2022 15:34, Ferruh Yigit: > > Virtual devices are probed/matched based on name, and this name is user > > facing value, since device name is provided by user as eal '--vdev' > > parameter, like: > > `dpdk-testpmd --vdev net_null0`. > > > > The current name format is 'net_', but previously it was > > 'eth_', and an alias to legacy naming format was introduced > > for backward compatibility. > > Commit 9fa80cb26bd0 ("net: register aliases for renamed vdev drivers") > > > > Since new device name format is around for 6 years, removing alias for > > legacy naming. > > > > Signed-off-by: Ferruh Yigit > > --- > > Alias for device name is used by other device abstraction layers too, > > ('crypto', 'baseband', 'raw'), since I am not aware of their maturity > > level, leaving them out in this patch. > > > >