Re: [PATCH net-next v3 0/5] TSN auto negotiation between 1G and 2.5G

From
Andrew Lunn <andrew@lunn.ch>
Date
2023-09-21 21:06:11
Also in
bpf, linux-arm-kernel, linux-hwmon, lkml, platform-driver-x86
Reply to
Choong Yong Liang, 2023-09-21
Auto-negotiation between 10, 100, 1000Mbps will use
in-band auto negotiation. Auto-negotiation between 10/100/1000Mbps and
2.5Gbps will work as the following proposed flow, the stmmac driver reads
the PHY link status registers then identifies the negotiated speed.
I don't think you replied to my comment.

in-band is just an optimisation. It in theory allows you to avoid a
software path, the PHY driver talking to the MAC driver about the PHY
status. As an optimisation, it is optional. Linux has the software
path and the MAC driver you are using basically has it implemented.

Why use this odd mix of in-band and out of band? It seems the change
will be simpler if you just use the out of band method all the time
and ignore in-band.

	Andrew
Thread (20 messages) 20 messages, 5 authors, last reply 2024-02-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help