Lines Matching refs:uplink_seid
5704 ctxt.uplink_seid = vsi->uplink_seid; in i40e_update_adq_vsi_queues()
5811 ctxt.uplink_seid = vsi->uplink_seid; in i40e_vsi_config_tc()
6226 static int i40e_add_channel(struct i40e_pf *pf, u16 uplink_seid, in i40e_add_channel() argument
6243 ctxt.uplink_seid = uplink_seid; in i40e_add_channel()
6383 u16 uplink_seid, u8 type) in i40e_setup_hw_channel() argument
6392 ret = i40e_add_channel(pf, uplink_seid, ch); in i40e_setup_hw_channel()
6396 uplink_seid); in i40e_setup_hw_channel()
6447 seid = pf->vsi[pf->lan_vsi]->uplink_seid; in i40e_setup_channel()
7869 ctxt.uplink_seid = vsi->uplink_seid; in i40e_setup_macvlans()
9860 if (pf->veb[i] && (pf->veb[i]->uplink_seid == veb->seid)) in i40e_veb_link_event()
9865 if (pf->vsi[i] && (pf->vsi[i]->uplink_seid == veb->seid)) in i40e_veb_link_event()
10362 ctl_vsi->uplink_seid = pf->vsi[pf->lan_vsi]->uplink_seid; in i40e_reconstitute_veb()
10391 vsi->uplink_seid = veb->seid; in i40e_reconstitute_veb()
10406 pf->veb[veb_idx]->uplink_seid = veb->seid; in i40e_reconstitute_veb()
10614 ret = i40e_add_channel(vsi->back, vsi->uplink_seid, ch); in i40e_rebuild_channels()
10618 vsi->uplink_seid); in i40e_rebuild_channels()
10950 if (vsi->uplink_seid != pf->mac_seid) { in i40e_rebuild()
10957 if (pf->veb[v]->uplink_seid == pf->mac_seid || in i40e_rebuild()
10958 pf->veb[v]->uplink_seid == 0) { in i40e_rebuild()
10970 if (pf->veb[v]->uplink_seid == pf->mac_seid) { in i40e_rebuild()
10974 vsi->uplink_seid = pf->mac_seid; in i40e_rebuild()
10976 } else if (pf->veb[v]->uplink_seid == 0) { in i40e_rebuild()
10985 if (vsi->uplink_seid == pf->mac_seid) { in i40e_rebuild()
13126 if (pf->veb[i] && pf->veb[i]->seid == vsi->uplink_seid) in i40e_ndo_bridge_setlink()
13145 veb = i40e_veb_setup(pf, 0, vsi->uplink_seid, vsi->seid, in i40e_ndo_bridge_setlink()
13200 if (pf->veb[i] && pf->veb[i]->seid == vsi->uplink_seid) in i40e_ndo_bridge_getlink()
13990 ctxt.uplink_seid = vsi->uplink_seid; in i40e_add_vsi()
14006 ctxt.uplink_seid = vsi->uplink_seid; in i40e_add_vsi()
14027 ctxt.uplink_seid = vsi->uplink_seid; in i40e_add_vsi()
14129 u16 uplink_seid; in i40e_vsi_release() local
14137 vsi->seid, vsi->uplink_seid); in i40e_vsi_release()
14146 uplink_seid = vsi->uplink_seid; in i40e_vsi_release()
14195 pf->vsi[i]->uplink_seid == uplink_seid && in i40e_vsi_release()
14203 if (pf->veb[i]->uplink_seid == uplink_seid) in i40e_vsi_release()
14205 if (pf->veb[i]->seid == uplink_seid) in i40e_vsi_release()
14208 if (n == 0 && veb && veb->uplink_seid != 0) in i40e_vsi_release()
14360 u16 uplink_seid, u32 param1) in i40e_vsi_setup() argument
14382 if (pf->veb[i] && pf->veb[i]->seid == uplink_seid) { in i40e_vsi_setup()
14388 if (!veb && uplink_seid != pf->mac_seid) { in i40e_vsi_setup()
14391 if (pf->vsi[i] && pf->vsi[i]->seid == uplink_seid) { in i40e_vsi_setup()
14398 uplink_seid); in i40e_vsi_setup()
14402 if (vsi->uplink_seid == pf->mac_seid) in i40e_vsi_setup()
14406 veb = i40e_veb_setup(pf, 0, vsi->uplink_seid, vsi->seid, in i40e_vsi_setup()
14425 if (pf->veb[i] && pf->veb[i]->seid == vsi->uplink_seid) in i40e_vsi_setup()
14434 uplink_seid = veb->seid; in i40e_vsi_setup()
14465 vsi->uplink_seid = uplink_seid; in i40e_vsi_setup()
14650 if (pf->veb[i]->uplink_seid == branch->seid) in i40e_switch_branch_release()
14662 if (pf->vsi[i]->uplink_seid == branch_seid && in i40e_switch_branch_release()
14712 if (pf->vsi[i] && pf->vsi[i]->uplink_seid == veb->seid) { in i40e_veb_release()
14726 if (veb->uplink_seid) { in i40e_veb_release()
14727 vsi->uplink_seid = veb->uplink_seid; in i40e_veb_release()
14728 if (veb->uplink_seid == pf->mac_seid) in i40e_veb_release()
14734 vsi->uplink_seid = pf->vsi[pf->lan_vsi]->uplink_seid; in i40e_veb_release()
14753 ret = i40e_aq_add_veb(&pf->hw, veb->uplink_seid, vsi->seid, in i40e_add_veb()
14786 vsi->uplink_seid = veb->seid; in i40e_add_veb()
14810 u16 uplink_seid, u16 vsi_seid, in i40e_veb_setup() argument
14818 if ((uplink_seid == 0 || vsi_seid == 0) && in i40e_veb_setup()
14819 (uplink_seid + vsi_seid != 0)) { in i40e_veb_setup()
14822 uplink_seid, vsi_seid); in i40e_veb_setup()
14836 if (uplink_seid && uplink_seid != pf->mac_seid) { in i40e_veb_setup()
14839 pf->veb[veb_idx]->seid == uplink_seid) { in i40e_veb_setup()
14846 "uplink seid %d not found\n", uplink_seid); in i40e_veb_setup()
14857 veb->uplink_seid = uplink_seid; in i40e_veb_setup()
14890 u16 uplink_seid = le16_to_cpu(ele->uplink_seid); in i40e_setup_pf_switch_element() local
14897 element_type, seid, uplink_seid, downlink_seid); in i40e_setup_pf_switch_element()
14905 if (uplink_seid != pf->mac_seid) in i40e_setup_pf_switch_element()
14928 pf->veb[pf->lan_veb]->uplink_seid = pf->mac_seid; in i40e_setup_pf_switch_element()
14938 pf->mac_seid = uplink_seid; in i40e_setup_pf_switch_element()
15075 u16 uplink_seid; in i40e_setup_pf_switch() local
15081 uplink_seid = pf->veb[pf->lan_veb]->seid; in i40e_setup_pf_switch()
15083 uplink_seid = pf->mac_seid; in i40e_setup_pf_switch()
15085 vsi = i40e_vsi_setup(pf, I40E_VSI_MAIN, uplink_seid, 0); in i40e_setup_pf_switch()
16262 if (pf->veb[i]->uplink_seid == pf->mac_seid || in i40e_remove()
16263 pf->veb[i]->uplink_seid == 0) in i40e_remove()