Message ID | 20220422180305.301882-1-maxime.chevallier@bootlin.com (mailing list archive) |
---|---|
Headers | show |
Series | net: ipqess: introduce Qualcomm IPQESS driver | expand |
On Fri, Apr 22, 2022 at 08:03:00PM +0200, Maxime Chevallier wrote: > Hello everyone, > > This series introduces a new driver, for the Qualcomm IPQESS Ethernet > Controller, found on the IPQ4019. > > The driver itself is pretty straightforward, but has lived out-of-tree > for a while. I've done my best to clean-up some outdated API calls, but > some might remain. > > This controller is somewhat special, since it's part of the IPQ4019 SoC > which also includes an QCA8K switch, and uses the IPQESS controller for > the CPU port. Does it exist in a form where it is not connected to a switch? As Florian has suggested, if we assume frames are always going to/coming from a switch, we can play around with the frame format a little. A dummy tag could be added to the head or tail of the frame, which the MAC driver then uses. That gives us a more normal structure. Andrew
On Fri, Apr 22, 2022 at 10:29 PM Andrew Lunn <andrew@lunn.ch> wrote: > > On Fri, Apr 22, 2022 at 08:03:00PM +0200, Maxime Chevallier wrote: > > Hello everyone, > > > > This series introduces a new driver, for the Qualcomm IPQESS Ethernet > > Controller, found on the IPQ4019. > > > > The driver itself is pretty straightforward, but has lived out-of-tree > > for a while. I've done my best to clean-up some outdated API calls, but > > some might remain. > > > > This controller is somewhat special, since it's part of the IPQ4019 SoC > > which also includes an QCA8K switch, and uses the IPQESS controller for > > the CPU port. > > Does it exist in a form where it is not connected to a switch? Hi Andrew, both the ethernet controller and the QCA8337N based switch are part of the SoC silicon and are always present. The ethernet controller is always connected to the switch port 0. Regards, Robert > > As Florian has suggested, if we assume frames are always going > to/coming from a switch, we can play around with the frame format a > little. A dummy tag could be added to the head or tail of the frame, > which the MAC driver then uses. That gives us a more normal structure. > > Andrew