From: Anvesh Jain P <quic_ajainp@quicinc.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: "David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <simon.horman@corigine.com>,
"Kuniyuki Iwashima" <kuniyu@amazon.com>,
Hangbin Liu <liuhangbin@gmail.com>, Jiri Pirko <jiri@resnulli.us>,
Heiner Kallweit <hkallweit1@gmail.com>,
Andy Ren <andy.ren@getcruise.com>, <netdev@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
Venkata Rao Kakani <quic_vkakani@quicinc.com>,
Vagdhan Kumar <quic_vagdhank@quicinc.com>
Subject: Re: [PATCH] net: export dev_change_name function
Date: Tue, 1 Aug 2023 18:37:49 +0530 [thread overview]
Message-ID: <8c591002-308e-bdba-de5f-c96113230451@quicinc.com> (raw)
In-Reply-To: <447ba1fe-b20b-4ed0-97bc-4137b2ccfb37@lunn.ch>
On 8/1/2023 6:01 PM, Andrew Lunn wrote:
> 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 <quic_vagdhank@quicinc.com>
>> Signed-off-by: Anvesh Jain P <quic_ajainp@quicinc.com>
>
> 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
CONFIG_RENAME_DEVICES is the module which needs "dev_change_name" API.
Our requirement is to change the network device name from kernel space.
next prev parent reply other threads:[~2023-08-01 13:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-01 11:21 [PATCH] net: export dev_change_name function Anvesh Jain P
2023-08-01 12:31 ` Andrew Lunn
2023-08-01 13:07 ` Anvesh Jain P [this message]
2023-08-01 14:07 ` Andrew Lunn
2023-08-01 14:11 ` Eric Dumazet
2023-08-01 17:27 ` Jiri Pirko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8c591002-308e-bdba-de5f-c96113230451@quicinc.com \
--to=quic_ajainp@quicinc.com \
--cc=andrew@lunn.ch \
--cc=andy.ren@getcruise.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=kuniyu@amazon.com \
--cc=linux-kernel@vger.kernel.org \
--cc=liuhangbin@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=quic_vagdhank@quicinc.com \
--cc=quic_vkakani@quicinc.com \
--cc=simon.horman@corigine.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox