From mboxrd@z Thu Jan 1 00:00:00 1970 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 01BDAC001DF for ; Tue, 1 Aug 2023 12:32:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233057AbjHAMcQ (ORCPT ); Tue, 1 Aug 2023 08:32:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231995AbjHAMcO (ORCPT ); Tue, 1 Aug 2023 08:32:14 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2007210C7; Tue, 1 Aug 2023 05:32:14 -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=BcDG6kyS+7oOi8McT/e1cBfxl2o1BolNq+/zXfE9QMM=; b=U3HEPI+50Unc8zQq9w7d+RM/m1 bsORfna6VAaa0YgAIFBSxNTtImLm1NJKrPUys4CyIoGdFKwn4OTRLkvcCEHvZjziz25FyjIixzkPA IPSThWh98lDcVISgC/v+SIWoG56O0RbhCy/TMw0VOLSDB/TmzDSvhBV2ExEX+4KcoVIU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qQoXa-002njw-JF; Tue, 01 Aug 2023 14:31:54 +0200 Date: Tue, 1 Aug 2023 14:31:54 +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: <447ba1fe-b20b-4ed0-97bc-4137b2ccfb37@lunn.ch> References: <20230801112101.15564-1-quic_ajainp@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230801112101.15564-1-quic_ajainp@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 01, 2023 at 04:51:01PM +0530, Anvesh Jain P wrote: > export dev_change_name function to be used by other modules. > > Signed-off-by: Vagdhan Kumar > Signed-off-by: Anvesh Jain P It would be normal to include a user of the API when exposing an API. What module needs to change the name of a device? At the moment, only user space can do this via netlink or an IOCTL. Andrew