summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorSunil Goutham <sgoutham@cavium.com>2016-06-27 15:30:02 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-15 08:27:48 +0200
commitbe9755f99926603ded05d50b8adef1e73234b3fd (patch)
tree24c59ca8fa86c0ceaa86407a9e14f7e3e11865d5 /lib/mpi/mpi-internal.h
parentc5852a85ed87d963ea5bcfead4f61fc9a276882c (diff)
net: thunderx: Fix link status reporting
[ Upstream commit 3f4c68cfde30caa1f6d8368fd19590671411ade2 ] Check for SMU RX local/remote faults along with SPU LINK status. Otherwise at times link is UP at our end but DOWN at link partner's side. Also due to an issue in BGX it's rarely seen that initialization doesn't happen properly and SMU RX reports faults with everything fine at SPU. This patch tries to reinitialize LMAC to fix it. Also fixed LMAC disable sequence to properly bring down link. Signed-off-by: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: Tao Wang <tao.wang@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions