Thread (20 messages) 20 messages, 7 authors, 2023-09-15

Re: [PATCH iwl-next v2 2/9] ethtool: Add forced speed to supported link modes maps

From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-08-23 20:58:53
Also in: intel-wired-lan

it would be nice to reuse the same mapping that is common everywhere. I
suspect the PHY code already has some mechanism to support device
specific since not all PHYs support all link modes either....
phydev->supported is initialised with all the link modes a PHY
supports. The MAC driver when gets a chance to remove any it does not
support,

phylink has similar concepts, the MAC, PHY, and SFP declare what they
each support and then it all gets combined to resolve to a link mode,
to use.

So it should be possible to make this generic with the help of the MAC
driver indicating a mask of what is actually supports.

       Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help