# Re: \[PATCH v6 0/2\] net: mhi: Add support to enable ethernet interface

- From: Manivannan Sadhasivam \<mani@kernel.org\>
- Date: 2025-12-24 06:03:55 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/12/3345104
- Thread: https://ratatoskr.run/netdev/2025/12/3328401/t.md

```text
On Tue, Dec 09, 2025 at 04:55:37PM +0530, Vivek Pernamitta wrote:
> Add support to configure a new client as Ethernet type over MHI by
> setting "mhi_device_info.ethernet_if = true". Create a new Ethernet
> interface named eth%d. This complements existing NET driver support.
> 
> Introduce IP_SW1, ETH0, and ETH1 network interfaces required for
> M-plane, NETCONF, and S-plane components.
> 

You did not even mention the MHI channels added in this series.

> M-plane:
> Implement DU M-Plane software for non-real-time O-RAN management
> between O-DU and O-RU using NETCONF/YANG and O-RAN WG4 M-Plane YANG
> models. Provide capability exchange, configuration management,
> performance monitoring, and fault management per O-RAN.WG4.TS.MP.0-
> R004-v18.00.
> 
> Netconf:
> Use NETCONF protocol for configuration operations such as fetching,
> modifying, and deleting network device configurations.
> 
> S-plane:
> Support frequency and time synchronization between O-DUs and O-RUs
> using Synchronous Ethernet and IEEE 1588. Assume PTP transport over
> L2 Ethernet (ITU-T G.8275.1) for full timing support; allow PTP over
> UDP/IP (ITU-T G.8275.2) with reduced reliability. as per ORAN spec
> O-RAN.WG4.CUS.0-R003-v12.00.
> 

Sorry, this is just AI slop. Please describe how the newly created interfaces
are supposed to be used, relevant tools etc...

- Mani

> Signed-off-by: Vivek Pernamitta <redacted>
> ---
> patchset link for V5 : https://lore.kernel.org/all/20251106-vdev_next-20251106_eth-v5-0-bbc0f7ff3a68@quicinc.com/
> patchset link for V1 (first post) : https://lore.kernel.org/all/20250724-b4-eth_us-v1-0-4dff04a9a128@quicinc.com/
> 
> changes to v6:
> - Removed interm variable useage as per comments from Simon and Dmirty.
> - Squashed gerrits 1 and 2 in single gerrit.
> - Added more description for M-plane, Netconf and S-plane.
> 
> changes to v5:
> - change in email ID from "quic_vpernami@quicinc.com" to "vivek.pernamitta@oss.qualcomm.com"
> - Renamed to patch v5 as per comments from Manivannan
> - Restored to original name as per comments from Jakub
> - Renamed the ethernet interfce to eth%d as per Jakub
> ---
> 
> ---
> Vivek Pernamitta (2):
>       net: mhi: Enable Ethernet interface support
>       bus: mhi: host: pci: Enable IP_SW1, IP_ETH0 and IP_ETH1 channels for QDU100
> 
>  drivers/bus/mhi/host/pci_generic.c |  8 ++++
>  drivers/net/mhi_net.c              | 75 +++++++++++++++++++++++++++++++-------
>  2 files changed, 70 insertions(+), 13 deletions(-)
> ---
> base-commit: 82bcd04d124a4d84580ea4a8ba6b120db5f512e7
> change-id: 20251209-vdev_next-20251208_eth_v6-c405aed13fed
> 
> Best regards,
> -- 
> Vivek Pernamitta <[ref]>
> 

-- 
மணிவண்ணன் சதாசிவம்
```
