[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iL3TTLJy0kbbxLZRyyRft66absBbh4x22KMKCag7ywOzg@mail.gmail.com>
Date: Tue, 1 Aug 2023 16:11:39 +0200
From: Eric Dumazet <edumazet@...gle.com>
To: Anvesh Jain P <quic_ajainp@...cinc.com>
Cc: Andrew Lunn <andrew@...n.ch>, "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <simon.horman@...igine.com>, Kuniyuki Iwashima <kuniyu@...zon.com>,
Hangbin Liu <liuhangbin@...il.com>, Jiri Pirko <jiri@...nulli.us>,
Heiner Kallweit <hkallweit1@...il.com>, Andy Ren <andy.ren@...cruise.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Venkata Rao Kakani <quic_vkakani@...cinc.com>,
Vagdhan Kumar <quic_vagdhank@...cinc.com>
Subject: Re: [PATCH] net: export dev_change_name function
On Tue, Aug 1, 2023 at 3:08 PM Anvesh Jain P <quic_ajainp@...cinc.com> wrote:
>
>
>
> 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@...cinc.com>
> >> Signed-off-by: Anvesh Jain P <quic_ajainp@...cinc.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.
We do not support out-of-tree code.
You will have to upstream this code first.
Powered by blists - more mailing lists