Lines Matching refs:uplink_seid

5595 	ctxt.uplink_seid = vsi->uplink_seid;  in i40e_update_adq_vsi_queues()
5702 ctxt.uplink_seid = vsi->uplink_seid; in i40e_vsi_config_tc()
6097 static int i40e_add_channel(struct i40e_pf *pf, u16 uplink_seid, in i40e_add_channel() argument
6114 ctxt.uplink_seid = uplink_seid; in i40e_add_channel()
6254 u16 uplink_seid, u8 type) in i40e_setup_hw_channel() argument
6263 ret = i40e_add_channel(pf, uplink_seid, ch); in i40e_setup_hw_channel()
6267 uplink_seid); in i40e_setup_hw_channel()
6318 seid = pf->vsi[pf->lan_vsi]->uplink_seid; in i40e_setup_channel()
7740 ctxt.uplink_seid = vsi->uplink_seid; in i40e_setup_macvlans()
9731 if (pf->veb[i] && (pf->veb[i]->uplink_seid == veb->seid)) in i40e_veb_link_event()
9736 if (pf->vsi[i] && (pf->vsi[i]->uplink_seid == veb->seid)) in i40e_veb_link_event()
10233 ctl_vsi->uplink_seid = pf->vsi[pf->lan_vsi]->uplink_seid; in i40e_reconstitute_veb()
10262 vsi->uplink_seid = veb->seid; in i40e_reconstitute_veb()
10277 pf->veb[veb_idx]->uplink_seid = veb->seid; in i40e_reconstitute_veb()
10485 ret = i40e_add_channel(vsi->back, vsi->uplink_seid, ch); in i40e_rebuild_channels()
10489 vsi->uplink_seid); in i40e_rebuild_channels()
10804 if (vsi->uplink_seid != pf->mac_seid) { in i40e_rebuild()
10811 if (pf->veb[v]->uplink_seid == pf->mac_seid || in i40e_rebuild()
10812 pf->veb[v]->uplink_seid == 0) { in i40e_rebuild()
10824 if (pf->veb[v]->uplink_seid == pf->mac_seid) { in i40e_rebuild()
10828 vsi->uplink_seid = pf->mac_seid; in i40e_rebuild()
10830 } else if (pf->veb[v]->uplink_seid == 0) { in i40e_rebuild()
10839 if (vsi->uplink_seid == pf->mac_seid) { in i40e_rebuild()
12981 if (pf->veb[i] && pf->veb[i]->seid == vsi->uplink_seid) in i40e_ndo_bridge_setlink()
13000 veb = i40e_veb_setup(pf, 0, vsi->uplink_seid, vsi->seid, in i40e_ndo_bridge_setlink()
13055 if (pf->veb[i] && pf->veb[i]->seid == vsi->uplink_seid) in i40e_ndo_bridge_getlink()
13836 ctxt.uplink_seid = vsi->uplink_seid; in i40e_add_vsi()
13852 ctxt.uplink_seid = vsi->uplink_seid; in i40e_add_vsi()
13873 ctxt.uplink_seid = vsi->uplink_seid; in i40e_add_vsi()
13975 u16 uplink_seid; in i40e_vsi_release() local
13983 vsi->seid, vsi->uplink_seid); in i40e_vsi_release()
13992 uplink_seid = vsi->uplink_seid; in i40e_vsi_release()
14041 pf->vsi[i]->uplink_seid == uplink_seid && in i40e_vsi_release()
14049 if (pf->veb[i]->uplink_seid == uplink_seid) in i40e_vsi_release()
14051 if (pf->veb[i]->seid == uplink_seid) in i40e_vsi_release()
14054 if (n == 0 && veb && veb->uplink_seid != 0) in i40e_vsi_release()
14206 u16 uplink_seid, u32 param1) in i40e_vsi_setup() argument
14228 if (pf->veb[i] && pf->veb[i]->seid == uplink_seid) { in i40e_vsi_setup()
14234 if (!veb && uplink_seid != pf->mac_seid) { in i40e_vsi_setup()
14237 if (pf->vsi[i] && pf->vsi[i]->seid == uplink_seid) { in i40e_vsi_setup()
14244 uplink_seid); in i40e_vsi_setup()
14248 if (vsi->uplink_seid == pf->mac_seid) in i40e_vsi_setup()
14252 veb = i40e_veb_setup(pf, 0, vsi->uplink_seid, vsi->seid, in i40e_vsi_setup()
14271 if (pf->veb[i] && pf->veb[i]->seid == vsi->uplink_seid) in i40e_vsi_setup()
14280 uplink_seid = veb->seid; in i40e_vsi_setup()
14311 vsi->uplink_seid = uplink_seid; in i40e_vsi_setup()
14496 if (pf->veb[i]->uplink_seid == branch->seid) in i40e_switch_branch_release()
14508 if (pf->vsi[i]->uplink_seid == branch_seid && in i40e_switch_branch_release()
14558 if (pf->vsi[i] && pf->vsi[i]->uplink_seid == veb->seid) { in i40e_veb_release()
14572 if (veb->uplink_seid) { in i40e_veb_release()
14573 vsi->uplink_seid = veb->uplink_seid; in i40e_veb_release()
14574 if (veb->uplink_seid == pf->mac_seid) in i40e_veb_release()
14580 vsi->uplink_seid = pf->vsi[pf->lan_vsi]->uplink_seid; in i40e_veb_release()
14599 ret = i40e_aq_add_veb(&pf->hw, veb->uplink_seid, vsi->seid, in i40e_add_veb()
14632 vsi->uplink_seid = veb->seid; in i40e_add_veb()
14656 u16 uplink_seid, u16 vsi_seid, in i40e_veb_setup() argument
14664 if ((uplink_seid == 0 || vsi_seid == 0) && in i40e_veb_setup()
14665 (uplink_seid + vsi_seid != 0)) { in i40e_veb_setup()
14668 uplink_seid, vsi_seid); in i40e_veb_setup()
14682 if (uplink_seid && uplink_seid != pf->mac_seid) { in i40e_veb_setup()
14685 pf->veb[veb_idx]->seid == uplink_seid) { in i40e_veb_setup()
14692 "uplink seid %d not found\n", uplink_seid); in i40e_veb_setup()
14703 veb->uplink_seid = uplink_seid; in i40e_veb_setup()
14736 u16 uplink_seid = le16_to_cpu(ele->uplink_seid); in i40e_setup_pf_switch_element() local
14743 element_type, seid, uplink_seid, downlink_seid); in i40e_setup_pf_switch_element()
14751 if (uplink_seid != pf->mac_seid) in i40e_setup_pf_switch_element()
14774 pf->veb[pf->lan_veb]->uplink_seid = pf->mac_seid; in i40e_setup_pf_switch_element()
14784 pf->mac_seid = uplink_seid; in i40e_setup_pf_switch_element()
14921 u16 uplink_seid; in i40e_setup_pf_switch() local
14927 uplink_seid = pf->veb[pf->lan_veb]->seid; in i40e_setup_pf_switch()
14929 uplink_seid = pf->mac_seid; in i40e_setup_pf_switch()
14931 vsi = i40e_vsi_setup(pf, I40E_VSI_MAIN, uplink_seid, 0); in i40e_setup_pf_switch()
16108 if (pf->veb[i]->uplink_seid == pf->mac_seid || in i40e_remove()
16109 pf->veb[i]->uplink_seid == 0) in i40e_remove()