Skip to content

Commit 6df5b21

Browse files
okt-imalovshemminger
authored andcommitted
common/sfc_efx/base: enable parallel detect via netport MCDI
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 <[email protected]> Signed-off-by: Ivan Malov <[email protected]> Acked-by: Andrew Rybchenko <[email protected]>
1 parent 9940893 commit 6df5b21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/common/sfc_efx/base/efx_np.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@ efx_np_link_ctrl(
13491349
NULL, NULL, cap_mask_hw_pausep);
13501350
}
13511351

1352+
flags |= 1U << MC_CMD_LINK_FLAGS_PARALLEL_DETECT_EN;
13521353
flags |= 1U << MC_CMD_LINK_FLAGS_AUTONEG_EN;
13531354
link_tech = MC_CMD_ETH_TECH_AUTO;
13541355
} else {

0 commit comments

Comments
 (0)