Message ID | 20250122174252.82730-1-maxime.chevallier@bootlin.com (mailing list archive) |
---|---|
Headers | show |
Series | net: phy: Introduce a port representation | expand |
On Wed, Jan 22, 2025 at 06:42:45PM +0100, Maxime Chevallier wrote: > First, a short disclaimer. This series is RFC, and there are quite a lot of > shortcomings : > > - The port representation is in a minimal form > - No SFP support is included, but it will be required for that series to come > out of RFC as we can't gracefully handle multi-port interfaces without it. Agreed - because I think SFP brings with it a whole host of issues that describing the media facing port would be error prone - and to do it accurately, we'd need a table of quirks to fix lots of broken modules. For example, many SFP modules with RJ45 connectors describe themselves as having a LC connector!
On Wed, 22 Jan 2025 18:42:45 +0100 Maxime Chevallier <maxime.chevallier@bootlin.com> wrote: > Hello everyone, > > This is a second RFC for the introduction of a front-facing interfaces > for ethernet devices. > > The firts RFC[1] already got some reviews, focusing on the DT part of > that work. To better lay the ground for further discussions, this second > round includes a binding :) > > Oleksij suggested some further possibilities for improving this binding, > as we could consider describing connectors in great details for > crossover detection, PoE ping mappings, etc. However, as this is > preliminary work, the included binding is still quite simple but can > certainly be extended. > > This RFC V2 doesn't bring much compared to V1 : > - A binding was introduced > - A warning has been fixed in the dp83822 patch > - The "lanes" property has been made optional Small question, I know you want to begin with something simple but would it be possible to consider how to support the port representation in NIT and switch drivers? Maybe it is out of your scope but it would be nice if you consider how NIT and switches can support it in your development. Regards,
On Thu, 23 Jan 2025 11:31:21 +0100 Kory Maincent <kory.maincent@bootlin.com> wrote: > On Wed, 22 Jan 2025 18:42:45 +0100 > Maxime Chevallier <maxime.chevallier@bootlin.com> wrote: > > > Hello everyone, > > > > This is a second RFC for the introduction of a front-facing interfaces > > for ethernet devices. > > > > The firts RFC[1] already got some reviews, focusing on the DT part of > > that work. To better lay the ground for further discussions, this second > > round includes a binding :) > > > > Oleksij suggested some further possibilities for improving this binding, > > as we could consider describing connectors in great details for > > crossover detection, PoE ping mappings, etc. However, as this is > > preliminary work, the included binding is still quite simple but can > > certainly be extended. > > > > This RFC V2 doesn't bring much compared to V1 : > > - A binding was introduced > > - A warning has been fixed in the dp83822 patch > > - The "lanes" property has been made optional > > Small question, I know you want to begin with something simple but would it be > possible to consider how to support the port representation in NIT and > switch drivers? Maybe it is out of your scope but it would be nice if you > consider how NIT and switches can support it in your development. s/NIT/NIC/ Sorry.