Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA0E0C433EF for ; Fri, 1 Apr 2022 13:13:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346246AbiDANPT (ORCPT ); Fri, 1 Apr 2022 09:15:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346242AbiDANPS (ORCPT ); Fri, 1 Apr 2022 09:15:18 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 018113E5FA for ; Fri, 1 Apr 2022 06:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=IA0LVA8FTQELpIe/DyqxtDjMuVJ+I2d67aXJAHWdGEM=; b=DyK45Ice9BCTgg77Az39Zi4rtw ORsMST/tPGD70Ox+QkOYM0WKDqUUZlWzI6W7G5R0Olb8HsBUNOhg5x+jP4clp+Dhov1qmonY+JrO4 vWPXI9qTUdKy2CmtxQbsJRBLEEWOhA2IaryOHwsuRFMJopv7IdMMHsBRcMdZH89W27G4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1naH5j-00Dfui-EH; Fri, 01 Apr 2022 15:13:27 +0200 Date: Fri, 1 Apr 2022 15:13:27 +0200 From: Andrew Lunn To: Ian Wienand Cc: netdev@vger.kernel.org, "David S. Miller" Subject: Re: [PATCH] net/ethernet : set default assignment identifier to NET_NAME_ENUM Message-ID: References: <20220401063430.1189533-1-iwienand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220401063430.1189533-1-iwienand@redhat.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, Apr 01, 2022 at 05:34:30PM +1100, Ian Wienand wrote: > As noted in the original commit 685343fc3ba6 ("net: add > name_assign_type netdev attribute") > > ... when the kernel has given the interface a name using global > device enumeration based on order of discovery (ethX, wlanY, etc) > ... are labelled NET_NAME_ENUM. > > That describes this case, so set the default for the devices here to > NET_NAME_ENUM to better help userspace tools to know if they might > like to rename them. Hi Ian Is this potentially an ABI change, and we will get surprises when interfaces which were not previously renamed now are? It would be nice to see some justification this is actually safe to do. Andrew