Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5643574rwb; Tue, 1 Aug 2023 06:04:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlH0+MnlZVxus5Q29sTa2VuUzJ/BV8KN61c4greYNaOgqK9u8Jxb30brpA8mNVxyEgf9JGZP X-Received: by 2002:a05:6a21:35c8:b0:133:bf9a:dd16 with SMTP id ba8-20020a056a2135c800b00133bf9add16mr10956680pzc.35.1690895065726; Tue, 01 Aug 2023 06:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690895065; cv=none; d=google.com; s=arc-20160816; b=Rq1QBDIri2PigpAwOeSwBRuS0F5qzGDdSMIjRiT4SNLfF06sjsyl+p+niTj33FtSye m7J0Nc+AGzpcKHtjF1ii2kydjyseFcK2SffoQid8Y0bAl0ofL3dcwFLpFZnzq593xCf5 9JdAgoHuadZLwEX0plCsRsBayf26geAhTXuqj20GhinPVeO8999WTar3Kb6S2CqjADfB GjlrJ/A+kWya5h3GbaquQjwIrp+MzKOYnT6gZJ+yaxVh9YpT1ZwwLIER0VNg13ryiFIT 6y7nUtv+ESS92G5oYgA7/ag6OMgLLFopzF6BvHd+8BExs8HEhj9DKH7SZhK5fmBHRXEx UTLg== 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=BcDG6kyS+7oOi8McT/e1cBfxl2o1BolNq+/zXfE9QMM=; fh=2+SEnqjulrMlXL+5AS8b4UJO55jCwXQBpOPPYzwUsNA=; b=Q16Ra9qEFG6J4qjl4ednvkcObbUIO4YWRKfl3hppPb+TXpZLcCxm19IiSOC269My2q recIZOaMNTzpS5LNlOgI92+kDky4N988r8kdQNTv0uuJkP8swlGi7FMFsuoSmy9Xs2Lo MfeAeZOcn/SmsDinwL49KaUpzxSYLjFkCMmH9j2CxqPYLpX0iCDzWu0ISY97jRqUSzzi jiRT3ub4V5OhOYVFH5qAtfI1RrjYFEcS+jlxqLXPRhLlCx8iPfzDlPjmpTyHpHZun7p/ uh4k2YcIs+EP52AXa6jUaPeL1cdNy9hItAivS1tH2kPTzvP6cZZFwyxH7Gkm2CzbKNrv xb2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=U3HEPI+5; 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 by10-20020a056a00400a00b0068208d19b1dsi2350088pfb.153.2023.08.01.06.04.11; Tue, 01 Aug 2023 06:04:25 -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=U3HEPI+5; 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 S233024AbjHAMcQ (ORCPT + 99 others); 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> 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 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