Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: vivek pernamitta <vivek.pernamitta@oss.qualcomm.com>
To: Manivannan Sadhasivam <mani@kernel.org>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v6 0/2] net: mhi: Add support to enable ethernet interface
Date: Wed, 4 Feb 2026 10:33:30 +0530	[thread overview]
Message-ID: <d9313606-6a8c-4109-ae3f-dbcb46f54019@oss.qualcomm.com> (raw)
In-Reply-To: <2sx75x2v24o23hlhvl3cfem4npzejt4k3dmwnaqgxykzrr7kyg@g7k5fp4nr4wy>



On 12/24/2025 11:33 AM, Manivannan Sadhasivam wrote:
> 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
> 
M-plane:
YANG model based interface aligned with O‑RAN WG4 M‑Plane specifications
over TCP between the OAM application on the host and the DU M‑Plane
software running on the X100 platform

Netconf:
This interface is used for IETF Netconf communication, enabling a
Netconf server on the ORU to interact with a Netconf client running on
the host.

S-plane:
To support accurate phase and time synchronization between the host (L2) 
and device (L1‑High), the system must exchange PTP messages as raw 
Layer‑2 Ethernet frames, because the ITU‑T G.8275.1 profile operates 
strictly over Ethernet multicast and not over IP networks. This means 
the device’s PTP stack can only send and receive PTP Announce, Sync, 
Follow‑Up, and Delay messages in native Ethernet format, not as 
IPv4/IPv6 packets. However, the host and device communicate only through 
MHI/PCIe, which provides no native Ethernet interface. Therefore, the 
system must implement a virtual Ethernet interface over MHI on both 
sides. This virtual Layer‑2 link enables true Ethernet‑frame transport, 
ensuring the device’s PTP implementation remains fully compliant with 
the G.8275.1 Ethernet‑based timing model

-Vivek

>> Signed-off-by: Vivek Pernamitta <vivek.pernamitta@oss.qualcomm.com>
>> ---
>> 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 <<quic_vpernami@quicinc.com>>
>>
> 


      reply	other threads:[~2026-02-04  5:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-09 11:25 [PATCH v6 0/2] net: mhi: Add support to enable ethernet interface Vivek Pernamitta
2025-12-09 11:25 ` [PATCH v6 1/2] net: mhi: Enable Ethernet interface support Vivek Pernamitta
2025-12-09 13:36   ` Andrew Lunn
2025-12-10  6:30     ` vivek pernamitta
     [not found]     ` <eaf79686-9fcb-4330-8017-83a4e4923985@oss.qualcomm.com>
2025-12-10 16:50       ` Andrew Lunn
2025-12-22 10:31         ` vivek pernamitta
2025-12-10  9:38   ` Jakub Kicinski
2025-12-22 10:43     ` vivek pernamitta
2025-12-24  6:08       ` Manivannan Sadhasivam
2025-12-09 11:25 ` [PATCH v6 2/2] bus: mhi: host: pci: Enable IP_SW1, IP_ETH0 and IP_ETH1 channels for QDU100 Vivek Pernamitta
2025-12-10  9:39   ` Jakub Kicinski
2025-12-22 10:34     ` vivek pernamitta
2025-12-24  6:03 ` [PATCH v6 0/2] net: mhi: Add support to enable ethernet interface Manivannan Sadhasivam
2026-02-04  5:03   ` vivek pernamitta [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d9313606-6a8c-4109-ae3f-dbcb46f54019@oss.qualcomm.com \
    --to=vivek.pernamitta@oss.qualcomm.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mani@kernel.org \
    --cc=mhi@lists.linux.dev \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox