|
|
@@ -8726,6 +8726,14 @@ static int i40e_setup_pf_switch(struct i40e_pf *pf, bool reinit)
|
|
|
i40e_update_link_info(&pf->hw, true);
|
|
|
i40e_link_event(pf);
|
|
|
|
|
|
+ /* Initialize user-specific link properties */
|
|
|
+ pf->fc_autoneg_status = ((pf->hw.phy.link_info.an_info &
|
|
|
+ I40E_AQ_AN_COMPLETED) ? true : false);
|
|
|
+
|
|
|
+ /* fill in link information and enable LSE reporting */
|
|
|
+ i40e_update_link_info(&pf->hw, true);
|
|
|
+ i40e_link_event(pf);
|
|
|
+
|
|
|
/* Initialize user-specific link properties */
|
|
|
pf->fc_autoneg_status = ((pf->hw.phy.link_info.an_info &
|
|
|
I40E_AQ_AN_COMPLETED) ? true : false);
|