Re: BBB (cpsw(4)) seems to be broken in the latest 11-current

From: Luiz Otavio O Souza <loos.br_at_gmail.com>
Date: Mon, 20 Jun 2016 12:57:03 -0300
On Sun, Jun 19, 2016 at 1:11 AM, Maxim Sobolev wrote:
> Jim, some update from here. Running r283287 of the driver, I still see the
> same "watchdog timeout" messages, but they do not lead to the interface
> lockout. The traffic resumes momentarily. Which is probably why I never paid
> much attention to those warnings before. Therefore, I suspect that the new
> MAC code does not deal with watchdog-triggered interface reset as good as
> the old code. Does it give you any ideas about what could be wrong there by
> any chance?


Hi Maxim,

My recent changes contributed somehow to expose the bug more frequently.

There was a condition in tx packet reclamation where we aren't
restarting the tx queue in one of the possible stall conditions.

Please try the attached patch and let me know if it works for you.

Luiz

Received on Mon Jun 20 2016 - 13:57:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:06 UTC