Doing so helps to avoid lengthy link renegotiation at start of day. Fixes: 8e79cd30230d ("common/sfc_efx/base: implement PHY link control for Medford4") Cc: sta...@dpdk.org
Signed-off-by: Ivan Malov <ivan.ma...@arknetworks.am> Reviewed-by: Andy Moreton <andy.more...@amd.com> --- drivers/common/sfc_efx/base/efx_np.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx_np.c b/drivers/common/sfc_efx/base/efx_np.c index 599daa7a60..69a5a75b6c 100644 --- a/drivers/common/sfc_efx/base/efx_np.c +++ b/drivers/common/sfc_efx/base/efx_np.c @@ -1023,6 +1023,9 @@ efx_np_attach( epp->ep_mac_pdu = ms.enms_pdu; + /* For faster link up, use autoneg. flow control by default. */ + epp->ep_fcntl_autoneg = B_TRUE; + /* Subscribe to link change events. */ rc = efx_np_set_event_mask(enp, epp->ep_np_handle, B_TRUE); if (rc != 0) -- 2.47.2