[PATCH 0/4] net: mhi : Add support to enable ethernet interface

Vivek.Pernamitta@quicinc.com posted 4 patches 2 months, 1 week ago
There is a newer version of this series
drivers/bus/mhi/host/pci_generic.c |   8 +++
drivers/net/mhi_net.c              | 100 +++++++++++++++++++++++++++++++------
2 files changed, 93 insertions(+), 15 deletions(-)
[PATCH 0/4] net: mhi : Add support to enable ethernet interface
Posted by Vivek.Pernamitta@quicinc.com 2 months, 1 week ago
- Add support to enable ethernet network device for MHI NET driver
  currenlty we have support only NET driver.
  so new client can be configured to be Ethernet type over MHI by
  setting "mhi_device_info.ethernet_if = true"

- Change the naming format for MHI network interfaces to improve clarity
  when multiple MHI controllers are connected.

  Currently, MHI NET device interfaces are created as mhi_swip<n>/mhi_hwip<n>
  for each channel. This makes it difficult to distinguish between channels
  when multiple EP/MHI controllers are connected, as we cannot map the
  corresponding MHI channel to the respective controller and channel.
  To address this, create a new MHI interface name based on the device name and
  channel name.

- Add support for new MHI channels for M-plane, NETCONF and S-plane.

Initial post for Ethernet support in MHI driver is posted here
https://lore.kernel.org/all/1689762055-12570-1-git-send-email-quic_vpernami@quicinc.com/

Signed-off-by: 

---
Vivek Pernamitta (4):
      net: mhi: Rename MHI interface to improve clarity
      net: mhi : Add support to enable ethernet interface
      net: mhi: Add MHI IP_SW1, ETH0 and ETH1 interface
      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              | 100 +++++++++++++++++++++++++++++++------
 2 files changed, 93 insertions(+), 15 deletions(-)
---
base-commit: 9ee814bd78e315e4551223ca7548dd3f6bdcf1ae
change-id: 20250724-b4-eth_us-97f0d5ba7f08

Best regards,
-- 
Vivek Pernamitta <<quic_vpernami@quicinc.com>>
Re: [PATCH 0/4] net: mhi : Add support to enable ethernet interface
Posted by Manivannan Sadhasivam 2 months, 1 week ago
On Thu, Jul 24, 2025 at 07:21:16PM GMT, Vivek.Pernamitta@quicinc.com wrote:
> - Add support to enable ethernet network device for MHI NET driver
>   currenlty we have support only NET driver.
>   so new client can be configured to be Ethernet type over MHI by
>   setting "mhi_device_info.ethernet_if = true"
> 
> - Change the naming format for MHI network interfaces to improve clarity
>   when multiple MHI controllers are connected.
> 
>   Currently, MHI NET device interfaces are created as mhi_swip<n>/mhi_hwip<n>
>   for each channel. This makes it difficult to distinguish between channels
>   when multiple EP/MHI controllers are connected, as we cannot map the
>   corresponding MHI channel to the respective controller and channel.
>   To address this, create a new MHI interface name based on the device name and
>   channel name.
> 
> - Add support for new MHI channels for M-plane, NETCONF and S-plane.
> 
> Initial post for Ethernet support in MHI driver is posted here
> https://lore.kernel.org/all/1689762055-12570-1-git-send-email-quic_vpernami@quicinc.com/
> 

What has changed since then? This series is supposed to be v4. And you haven't
resolved the v2 comments itself:
https://lore.kernel.org/mhi/1689660928-12092-1-git-send-email-quic_vpernami@quicinc.com/

- Mani

> Signed-off-by: 
> 
> ---
> Vivek Pernamitta (4):
>       net: mhi: Rename MHI interface to improve clarity
>       net: mhi : Add support to enable ethernet interface
>       net: mhi: Add MHI IP_SW1, ETH0 and ETH1 interface
>       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              | 100 +++++++++++++++++++++++++++++++------
>  2 files changed, 93 insertions(+), 15 deletions(-)
> ---
> base-commit: 9ee814bd78e315e4551223ca7548dd3f6bdcf1ae
> change-id: 20250724-b4-eth_us-97f0d5ba7f08
> 
> Best regards,
> -- 
> Vivek Pernamitta <<quic_vpernami@quicinc.com>>
> 

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