Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5863649rwb; Tue, 1 Aug 2023 08:54:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlE8WPGLp72kXVw6J33U4ACpsMjIPHthgpaCGx9q6eh77d5izz6nx93yL3OvFDpBu2AhtdFQ X-Received: by 2002:a17:906:32c4:b0:99b:db4f:68b8 with SMTP id k4-20020a17090632c400b0099bdb4f68b8mr2667593ejk.76.1690905295355; Tue, 01 Aug 2023 08:54:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690905295; cv=none; d=google.com; s=arc-20160816; b=RC0TXyfB85ct6HpEBzTl1Ksl5ped0BSIKrZ17Y/ZM4chAwEqzcm3V2QLCJCJIEf3+6 d5c7G8wLywupCNRd1CiiiWMlWO+N3xGm3xWAO3j5ebSL1mlC7lyFeyYTGG1Q+gWxcAzx VzxNktNAWsnjxElImoJXnPuPZh7iTfpFZ7IHHFbnB8cafCiwTKj/nTBZVM/TYW5Ur9kq vYGmb+NKVDYKKdNlNdih+5Uv+7iJnLxuUKRS3tKauIYUE/QGOCPZlDPWOEf2E897RlWy JBHkyPdaFdDz9nTR/L6z0eZn+QZmBJp1EPpPaZpdB1lhjYddh10lZQVssKUPfHlXw4VM TnPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Y4/TFwx2v1KmTAjwi0Nux8sw+w03GEnDtkgQrS1mP7I=; fh=2+SEnqjulrMlXL+5AS8b4UJO55jCwXQBpOPPYzwUsNA=; b=E/BFVjZ/u4ZgKns6xLHEKVytGRsa3KI0h4XowCKiRwSth9DbSZZ3VISPPQ61CnDN8p 4p7bEmGu9rwltuhY4xZmlq26fA/lkS56XqhxUxVgtSGz+31qbawCoqvtvZDRzWp+k1q0 wfmbWLjzYw5bi0VnV/J2pwNirBSXQH/4QWzIS6og/3GfhD7CXY2sVzwqBWfCbu3SeBxL g+JVbbLaf4utsj5UUMRfsIqmyIGOq/rpqDH753qsa7gRijVmewf5WOg6eHxg7P7rKD86 TD5WaOIiYhRLulWptjsNyLARo4R7Wl0E7UdCADbJRr5eDvo7zNlEJweeO26QYitk9763 XXpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=JGUe7ZHn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b14-20020a1709062b4e00b00992acf1f370si9271940ejg.939.2023.08.01.08.54.30; Tue, 01 Aug 2023 08:54:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=JGUe7ZHn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230442AbjHAOIV (ORCPT + 99 others); Tue, 1 Aug 2023 10:08:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234608AbjHAOH5 (ORCPT ); Tue, 1 Aug 2023 10:07:57 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D47826AA; Tue, 1 Aug 2023 07:07:34 -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=Y4/TFwx2v1KmTAjwi0Nux8sw+w03GEnDtkgQrS1mP7I=; b=JGUe7ZHns4LwnJudRSRDBbDtHU UcYWtElj1AqS/G6jqLJ5v+oQtJvkPW2KItrw18VTFDA1L1PSUbnuQ2OgqQPxPO1uGU4Est66tvbYw 9lXaHvGiUJZtnx8l2ypLIV93FqXav27fLreMBSUCz7k3q3f30fWDB4mOVj0UP0v3KeDg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qQq1r-002oC8-RP; Tue, 01 Aug 2023 16:07:15 +0200 Date: Tue, 1 Aug 2023 16:07:15 +0200 From: Andrew Lunn To: Anvesh Jain P Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Kuniyuki Iwashima , Hangbin Liu , Jiri Pirko , Heiner Kallweit , Andy Ren , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Venkata Rao Kakani , Vagdhan Kumar Subject: Re: [PATCH] net: export dev_change_name function Message-ID: References: <20230801112101.15564-1-quic_ajainp@quicinc.com> <447ba1fe-b20b-4ed0-97bc-4137b2ccfb37@lunn.ch> <8c591002-308e-bdba-de5f-c96113230451@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8c591002-308e-bdba-de5f-c96113230451@quicinc.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > CONFIG_RENAME_DEVICES is the module which needs "dev_change_name" API. Our > requirement is to change the network device name from kernel space. Can you give a link to this module. It is very unusual for the kernel to change the device name. Before accepting this patch, we probably want a better understanding of the big picture. Which is why we normally to use the user of an API. Andrew