]> Git Repo - linux.git/commit
net: thunderx: Fix BGX transmit stall due to underflow
authorSunil Goutham <[email protected]>
Thu, 27 Jul 2017 07:23:04 +0000 (12:53 +0530)
committerDavid S. Miller <[email protected]>
Sat, 29 Jul 2017 21:17:07 +0000 (14:17 -0700)
commit500268e9f28de972514de89a5a1b4106d0417989
treeceb42e7d5379a93854e44624b1d48eb1a2eed078
parent8d65843c44269c21e95c98090d9bb4848d473853
net: thunderx: Fix BGX transmit stall due to underflow

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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/cavium/thunder/thunder_bgx.c
drivers/net/ethernet/cavium/thunder/thunder_bgx.h
This page took 0.056532 seconds and 4 git commands to generate.