Re: [PATCH V2 net-next] net: fec: add CBS offload support

From: Andrew Lunn
Date: Mon Feb 13 2023 - 11:22:05 EST


> > + if (!speed) {
> > + netdev_err(ndev, "Link speed is 0!\n");
>
> ??? Is this possible? If so, why is it checked only here and why can it
> be possible?

The obvious way this happens is that there is no link partner, so
auto-neg has not completed yet. The link speed is unknown.

Andrew