Lines Matching refs:primary_lag
157 struct ice_lag *primary_lag = NULL; in ice_lag_find_primary() local
167 primary_lag = tmp_lag; in ice_lag_find_primary()
172 return primary_lag; in ice_lag_find_primary()
958 struct ice_lag *primary_lag; in ice_lag_unlink() local
960 primary_lag = ice_lag_find_primary(lag); in ice_lag_unlink()
961 if (primary_lag) { in ice_lag_unlink()
962 act_port = primary_lag->active_port; in ice_lag_unlink()
963 pri_port = primary_lag->pf->hw.port_info->lport; in ice_lag_unlink()
967 ice_lag_reclaim_vf_nodes(primary_lag, in ice_lag_unlink()
969 primary_lag->active_port = ICE_LAG_INVALID_PORT; in ice_lag_unlink()
1214 struct ice_lag *primary_lag; in ice_lag_changeupper_event() local
1224 primary_lag = ice_lag_find_primary(lag); in ice_lag_changeupper_event()
1230 if (!primary_lag) { in ice_lag_changeupper_event()
1234 primary_lag = lag; in ice_lag_changeupper_event()
1238 swid = primary_lag->pf->hw.port_info->sw_id; in ice_lag_changeupper_event()
1240 ice_lag_add_prune_list(primary_lag, lag->pf); in ice_lag_changeupper_event()
1245 if (!primary_lag && lag->primary) in ice_lag_changeupper_event()
1246 primary_lag = lag; in ice_lag_changeupper_event()
1251 if (primary_lag && lag->primary) { in ice_lag_changeupper_event()
1253 ice_lag_del_prune_list(primary_lag, lag->pf); in ice_lag_changeupper_event()