DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 1/1] common/sfc_efx/base: enable parallel detect via netport MCDI
@ 2025-08-10  4:46 Ivan Malov
  0 siblings, 0 replies; only message in thread
From: Ivan Malov @ 2025-08-10  4:46 UTC (permalink / raw)
  To: dev
  Cc: Andrew Rybchenko, Andy Moreton, Pieter Jansen Van Vuuren,
	Viacheslav Galaktionov

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@amd.com>
Signed-off-by: Ivan Malov <ivan.malov@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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-10  4:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-10  4:46 [PATCH 1/1] common/sfc_efx/base: enable parallel detect via netport MCDI Ivan Malov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).