Re: [PATCH 0/3] Add MHI Endpoint network driver

From: Manivannan Sadhasivam
Date: Wed Jun 07 2023 - 02:57:07 EST


On Tue, Jun 06, 2023 at 02:59:00PM +0200, Andrew Lunn wrote:
> On Tue, Jun 06, 2023 at 06:01:16PM +0530, Manivannan Sadhasivam wrote:
> > Hi,
> >
> > This series adds a network driver for the Modem Host Interface (MHI) endpoint
> > devices that provides network interfaces to the PCIe based Qualcomm endpoint
> > devices supporting MHI bus (like Modems). This driver allows the MHI endpoint
> > devices to establish IP communication with the host machines (x86, ARM64) over
> > MHI bus.
> >
> > On the host side, the existing mhi_net driver provides the network connectivity
> > to the host.
> >
> > - Mani
> >
> > Manivannan Sadhasivam (3):
> > net: Add MHI Endpoint network driver
> > MAINTAINERS: Add entry for MHI networking drivers under MHI bus
> > net: mhi: Increase the default MTU from 16K to 32K
> >
> > MAINTAINERS | 1 +
> > drivers/net/Kconfig | 9 ++
> > drivers/net/Makefile | 1 +
> > drivers/net/mhi_ep_net.c | 331 +++++++++++++++++++++++++++++++++++++++
> > drivers/net/mhi_net.c | 2 +-
>
> Should we add a drivers/net/modem directory? Maybe modem is too
> generic, we want something which represents GSM, LTE, UMTS, 3G, 4G,
> 5G, ... XG etc.
>

The generic modem hierarchy sounds good to me because most of the times a
single driver handles multiple technologies. The existing drivers supporting
modems are already under different hierarchy like usb, wwan etc... So unifying
them makes sense. But someone from networking community should take a call.

- Mani

> Andrew

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