[PATCH 1/1] common/sfc_efx/base: enable parallel detect via netport MCDI

Ivan Malov ivan.malov at arknetworks.am
Sun Aug 10 06:46:05 CEST 2025


When autoneg is enabled, also enable parallel detect, to try
to discover link tech/FEC settings that result in link up.

Suggested-by: Andy Moreton <andy.moreton at amd.com>
Signed-off-by: Ivan Malov <ivan.malov at arknetworks.am>
---
 drivers/common/sfc_efx/base/efx_np.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/common/sfc_efx/base/efx_np.c b/drivers/common/sfc_efx/base/efx_np.c
index 222d81c12e..af685e2cdf 100644
--- a/drivers/common/sfc_efx/base/efx_np.c
+++ b/drivers/common/sfc_efx/base/efx_np.c
@@ -1349,6 +1349,7 @@ efx_np_link_ctrl(
 			    NULL, NULL, cap_mask_hw_pausep);
 		}
 
+		flags |= 1U << MC_CMD_LINK_FLAGS_PARALLEL_DETECT_EN;
 		flags |= 1U << MC_CMD_LINK_FLAGS_AUTONEG_EN;
 		link_tech = MC_CMD_ETH_TECH_AUTO;
 	} else {
-- 
2.17.1



More information about the dev mailing list