RE: [PATCH] ucc_geth: Reset BQL queue when stopping device

2019-01-29 Thread Mathias Thore
the driver ends up calling this function. -Original Message- From: Li Yang [mailto:leoyang...@nxp.com] Sent: Monday, 28 January 2019 22:37 To: Mathias Thore Cc: Christophe Leroy ; net...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; David Gounaris ; Joakim Tjernlund Subject: Re: [PATCH

Re: [PATCH] ucc_geth: Reset BQL queue when stopping device

2019-01-28 Thread Mathias Thore
netdev_reset_queue in its e1000_clean_tx_ring function. It is possible that other drivers should do the same; I have no way of verifying this. Regards, Mathias -- From: Christophe Leroy Sent: Monday, January 28, 2019 10:48 AM To: Mathias Thore; leoyang...@nxp.com; net...@vger.kernel.org

[PATCH] ucc_geth: Reset BQL queue when stopping device

2019-01-28 Thread Mathias Thore
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 Signed-off-by: Mathias Thore

[PATCH] net/wan/fsl_ucc_hdlc: add BQL support

2018-11-07 Thread Mathias Thore
Add byte queue limits support in the fsl_ucc_hdlc driver. Signed-off-by: Mathias Thore --- drivers/net/wan/fsl_ucc_hdlc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c index 4d6409605207..7a42336c8af8 100644

[PATCH] net/wan/fsl_ucc_hdlc: add BQL support

2018-10-23 Thread Mathias Thore
Add byte queue limits support in the fsl_ucc_hdlc driver. Signed-off-by: Mathias Thore --- Note that this patch is created relative to another patch that was applied recently: net/wan/fsl_ucc_hdlc: error counters drivers/net/wan/fsl_ucc_hdlc.c | 8 1 file changed, 8 insertions

[PATCH] net/wan/fsl_ucc_hdlc: error counters

2018-10-23 Thread Mathias Thore
Extract error information from rx and tx buffer descriptors, and update error counters. Signed-off-by: Mathias Thore --- drivers/net/wan/fsl_ucc_hdlc.c | 51 +- include/soc/fsl/qe/ucc_fast.h | 8 +- 2 files changed, 51 insertions(+), 8 deletions(-) diff