Searched refs:local_lag (Results 1 – 1 of 1) sorted by relevance
1075 ice_lag_set_swid(u16 primary_swid, struct ice_lag *local_lag, in ice_lag_set_swid() argument1087 dev_err(ice_pf_to_dev(local_lag->pf), "-ENOMEM error setting SWID\n"); in ice_lag_set_swid()1094 if (!link && local_lag->bond_swid) { in ice_lag_set_swid()1095 buf->elem[0].e.sw_resp = cpu_to_le16(local_lag->bond_swid); in ice_lag_set_swid()1096 status = ice_aq_alloc_free_res(&local_lag->pf->hw, buf, in ice_lag_set_swid()1099 dev_err(ice_pf_to_dev(local_lag->pf), "Error freeing SWID during LAG unlink\n"); in ice_lag_set_swid()1100 local_lag->bond_swid = 0; in ice_lag_set_swid()1107 local_lag->bond_swid = primary_swid; in ice_lag_set_swid()1108 buf->elem[0].e.sw_resp = cpu_to_le16(local_lag->bond_swid); in ice_lag_set_swid()1111 cpu_to_le16(local_lag->pf->hw.port_info->sw_id); in ice_lag_set_swid()[all …]