Re: [PATCH 1/4] net: mhi: Rename MHI interface to improve clarity

From
Jakub Kicinski <kuba@kernel.org>
Date
2025-07-26 00:08:56
Also in
linux-arm-msm, lkml
Reply to
unknown sender, 2025-07-24
On Thu, 24 Jul 2025 19:21:17 +0530 Vivek.Pernamitta@quicinc.com wrote:
From: Vivek Pernamitta <redacted>

Rename the MHI network interface to include the device name, improving
clarity when multiple MHI controllers are connected.

Currently, MHI NET device interfaces are created as mhi_swip<n>/
mhi_hwip<n> for each channel, making it difficult to distinguish between
channels when multiple EP/MHI controllers are connected.

Rename the MHI interface to include the device name, for example:
- Channel IP_SW0 for the 1st MHI controller will be named mhi0_IP_SW0.
- Channel IP_SW0 for the 2nd MHI controller will be named mhi1_IP_SW0.
- Channel IP_HW0 for the 1st MHI controller will be named mhi0_IP_HW0.
The userspace can rename the interfaces. It has the association with
the underlying device right there in the udev event.
Thread (8 messages) 8 messages, 3 authors, last reply 2025-07-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help