amd-xgbe: Yellow carp devices do not need rrc
authorRaju Rangoju <Raju.Rangoju@amd.com>
Thu, 20 Oct 2022 06:42:11 +0000 (12:12 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sat, 22 Oct 2022 05:40:21 +0000 (22:40 -0700)
commitf97fc7ef414603189d5ba6f529407c5341c03c2a
treec42dbaf1de0498ed8b3c99df856558e8fdfbc334
parent4d814b329a4d54cd10eee4bd2ce5a8175646cc16
amd-xgbe: Yellow carp devices do not need rrc

Link stability issues are noticed on Yellow carp platforms when Receiver
Reset Cycle is issued. Since the CDR workaround is disabled on these
platforms, the Receiver Reset Cycle is not needed.

So, avoid issuing rrc on Yellow carp platforms.

Fixes: dbb6c58b5a61 ("net: amd-xgbe: Add Support for Yellow Carp Ethernet device")
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amd/xgbe/xgbe-pci.c
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c
drivers/net/ethernet/amd/xgbe/xgbe.h