]> git.baikalelectronics.ru Git - kernel.git/commit
ucc_geth: Reset BQL queue when stopping device
authorMathias Thore <mathias.thore@infinera.com>
Mon, 28 Jan 2019 09:07:47 +0000 (10:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jan 2019 18:36:23 +0000 (10:36 -0800)
commit919978590f26acc6ed8fb629bbb563ba2e1fb60c
tree4110abd3aabe2b7ba98b0dba67eb61a54469f1b7
parentd9de52e8026d2d3285405cc3c259a15627155238
ucc_geth: Reset BQL queue when stopping device

After a timeout event caused by for example a broadcast storm, when
the MAC and PHY are reset, the BQL TX queue needs to be reset as
well. Otherwise, the device will exhibit severe performance issues
even after the storm has ended.

Co-authored-by: David Gounaris <david.gounaris@infinera.com>
Signed-off-by: Mathias Thore <mathias.thore@infinera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/ucc_geth.c