Re: [PATCH] net: thunderx: Fix BGX transmit stall due to underflow

From: David Miller
Date: Sat Jul 29 2017 - 17:18:18 EST


From: sunil.kovvuri@xxxxxxxxx
Date: Thu, 27 Jul 2017 12:53:04 +0530

> From: Sunil Goutham <sgoutham@xxxxxxxxxx>
>
> For SGMII/RGMII/QSGMII interfaces when physical link goes down
> while traffic is high is resulting in underflow condition being set
> on that specific BGX's LMAC. Which assets a backpresure and VNIC stops
> transmitting packets.
>
> This is due to BGX being disabled in link status change callback while
> packet is in transit. This patch fixes this issue by not disabling BGX
> but instead just disables packet Rx and Tx.
>
> Signed-off-by: Sunil Goutham <sgoutham@xxxxxxxxxx>

Applied.