[U-Boot] [PATCH v3 1/7] net: mvpp2x: fix traffic stuck after PHY start error
joe.hershberger at gmail.com
Wed Aug 14 15:59:48 UTC 2019
On Tue, Aug 6, 2019 at 10:52 AM <nhed+uboot at starry.com> wrote:
> From: Stefan Chulski <stefanc at marvell.com>
> - Network stuck if autonegotion fails.
> Issue root cause:
> - When autonegotiation fails during port open procedure, the packet
> processor configuration does not finish and open procedure exits
> with error.
> - However, this doesn't prevent u-boot network framework from
> calling send and receive procedures.
> - Using transmit and receive functions of misconfigured packet
> processor will cause traffic to get stuck.
> - Continue packet processor configuration even if autonegotiation
> fails. Only error message is triggered in this case.
> - Exit transmit and receive functions if there is no PHY link
> - U-boot network framework now calls open procedure again during next
> transmit initiation.
> Signed-off-by: Stefan Chulski <stefanc at marvell.com>
> Reviewed-by: Igal Liberman <igall at marvell.com>
> Tested-by: Igal Liberman <igall at marvell.com>
Acked-by: Joe Hershberger <joe.hershberger at ni.com>
More information about the U-Boot