# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/07/3149353
- Thread: https://ratatoskr.run/netdev/2025/07/3147291/t.md

```text
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.
```
