[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210107184623.297798ea@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 7 Jan 2021 18:46:23 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Stephan Gerhold <stephan@...hold.net>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
aleksander@...ksander.es, andrewlassalle@...omium.org,
Alex Elder <elder@...nel.org>
Subject: Re: [PATCH net] net: ipa: modem: add missing SET_NETDEV_DEV() for
proper sysfs links
On Wed, 6 Jan 2021 11:07:55 +0100 Stephan Gerhold wrote:
> At the moment it is quite hard to identify the network interface
> provided by IPA in userspace components: The network interface is
> created as virtual device, without any link to the IPA device.
> The interface name ("rmnet_ipa%d") is the only indication that the
> network interface belongs to IPA, but this is not very reliable.
>
> Add SET_NETDEV_DEV() to associate the network interface with the
> IPA parent device. This allows userspace services like ModemManager
> to properly identify that this network interface is provided by IPA
> and belongs to the modem.
>
> Cc: Alex Elder <elder@...nel.org>
> Fixes: a646d6ec9098 ("soc: qcom: ipa: modem and microcontroller")
> Signed-off-by: Stephan Gerhold <stephan@...hold.net>
Alex, can we get an ack?
Powered by blists - more mailing lists