Lines Matching refs:uplink_seid
5741 ctxt.uplink_seid = vsi->uplink_seid; in i40e_update_adq_vsi_queues()
5848 ctxt.uplink_seid = vsi->uplink_seid; in i40e_vsi_config_tc()
6263 static int i40e_add_channel(struct i40e_pf *pf, u16 uplink_seid, in i40e_add_channel() argument
6280 ctxt.uplink_seid = uplink_seid; in i40e_add_channel()
6420 u16 uplink_seid, u8 type) in i40e_setup_hw_channel() argument
6429 ret = i40e_add_channel(pf, uplink_seid, ch); in i40e_setup_hw_channel()
6433 uplink_seid); in i40e_setup_hw_channel()
6484 seid = pf->vsi[pf->lan_vsi]->uplink_seid; in i40e_setup_channel()
7906 ctxt.uplink_seid = vsi->uplink_seid; in i40e_setup_macvlans()
9897 if (pf->veb[i] && (pf->veb[i]->uplink_seid == veb->seid)) in i40e_veb_link_event()
9902 if (pf->vsi[i] && (pf->vsi[i]->uplink_seid == veb->seid)) in i40e_veb_link_event()
10399 ctl_vsi->uplink_seid = pf->vsi[pf->lan_vsi]->uplink_seid; in i40e_reconstitute_veb()
10428 vsi->uplink_seid = veb->seid; in i40e_reconstitute_veb()
10443 pf->veb[veb_idx]->uplink_seid = veb->seid; in i40e_reconstitute_veb()
10651 ret = i40e_add_channel(vsi->back, vsi->uplink_seid, ch); in i40e_rebuild_channels()
10655 vsi->uplink_seid); in i40e_rebuild_channels()
10987 if (vsi->uplink_seid != pf->mac_seid) { in i40e_rebuild()
10994 if (pf->veb[v]->uplink_seid == pf->mac_seid || in i40e_rebuild()
10995 pf->veb[v]->uplink_seid == 0) { in i40e_rebuild()
11007 if (pf->veb[v]->uplink_seid == pf->mac_seid) { in i40e_rebuild()
11011 vsi->uplink_seid = pf->mac_seid; in i40e_rebuild()
11013 } else if (pf->veb[v]->uplink_seid == 0) { in i40e_rebuild()
11022 if (vsi->uplink_seid == pf->mac_seid) { in i40e_rebuild()
13192 if (pf->veb[i] && pf->veb[i]->seid == vsi->uplink_seid) in i40e_ndo_bridge_setlink()
13213 veb = i40e_veb_setup(pf, 0, vsi->uplink_seid, vsi->seid, in i40e_ndo_bridge_setlink()
13268 if (pf->veb[i] && pf->veb[i]->seid == vsi->uplink_seid) in i40e_ndo_bridge_getlink()
14068 ctxt.uplink_seid = vsi->uplink_seid; in i40e_add_vsi()
14084 ctxt.uplink_seid = vsi->uplink_seid; in i40e_add_vsi()
14105 ctxt.uplink_seid = vsi->uplink_seid; in i40e_add_vsi()
14207 u16 uplink_seid; in i40e_vsi_release() local
14215 vsi->seid, vsi->uplink_seid); in i40e_vsi_release()
14224 uplink_seid = vsi->uplink_seid; in i40e_vsi_release()
14273 pf->vsi[i]->uplink_seid == uplink_seid && in i40e_vsi_release()
14281 if (pf->veb[i]->uplink_seid == uplink_seid) in i40e_vsi_release()
14283 if (pf->veb[i]->seid == uplink_seid) in i40e_vsi_release()
14286 if (n == 0 && veb && veb->uplink_seid != 0) in i40e_vsi_release()
14438 u16 uplink_seid, u32 param1) in i40e_vsi_setup() argument
14460 if (pf->veb[i] && pf->veb[i]->seid == uplink_seid) { in i40e_vsi_setup()
14466 if (!veb && uplink_seid != pf->mac_seid) { in i40e_vsi_setup()
14469 if (pf->vsi[i] && pf->vsi[i]->seid == uplink_seid) { in i40e_vsi_setup()
14476 uplink_seid); in i40e_vsi_setup()
14480 if (vsi->uplink_seid == pf->mac_seid) in i40e_vsi_setup()
14484 veb = i40e_veb_setup(pf, 0, vsi->uplink_seid, vsi->seid, in i40e_vsi_setup()
14503 if (pf->veb[i] && pf->veb[i]->seid == vsi->uplink_seid) in i40e_vsi_setup()
14512 uplink_seid = veb->seid; in i40e_vsi_setup()
14543 vsi->uplink_seid = uplink_seid; in i40e_vsi_setup()
14728 if (pf->veb[i]->uplink_seid == branch->seid) in i40e_switch_branch_release()
14740 if (pf->vsi[i]->uplink_seid == branch_seid && in i40e_switch_branch_release()
14790 if (pf->vsi[i] && pf->vsi[i]->uplink_seid == veb->seid) { in i40e_veb_release()
14804 if (veb->uplink_seid) { in i40e_veb_release()
14805 vsi->uplink_seid = veb->uplink_seid; in i40e_veb_release()
14806 if (veb->uplink_seid == pf->mac_seid) in i40e_veb_release()
14812 vsi->uplink_seid = pf->vsi[pf->lan_vsi]->uplink_seid; in i40e_veb_release()
14831 ret = i40e_aq_add_veb(&pf->hw, veb->uplink_seid, vsi->seid, in i40e_add_veb()
14864 vsi->uplink_seid = veb->seid; in i40e_add_veb()
14888 u16 uplink_seid, u16 vsi_seid, in i40e_veb_setup() argument
14896 if ((uplink_seid == 0 || vsi_seid == 0) && in i40e_veb_setup()
14897 (uplink_seid + vsi_seid != 0)) { in i40e_veb_setup()
14900 uplink_seid, vsi_seid); in i40e_veb_setup()
14914 if (uplink_seid && uplink_seid != pf->mac_seid) { in i40e_veb_setup()
14917 pf->veb[veb_idx]->seid == uplink_seid) { in i40e_veb_setup()
14924 "uplink seid %d not found\n", uplink_seid); in i40e_veb_setup()
14935 veb->uplink_seid = uplink_seid; in i40e_veb_setup()
14968 u16 uplink_seid = le16_to_cpu(ele->uplink_seid); in i40e_setup_pf_switch_element() local
14975 element_type, seid, uplink_seid, downlink_seid); in i40e_setup_pf_switch_element()
14983 if (uplink_seid != pf->mac_seid) in i40e_setup_pf_switch_element()
15006 pf->veb[pf->lan_veb]->uplink_seid = pf->mac_seid; in i40e_setup_pf_switch_element()
15016 pf->mac_seid = uplink_seid; in i40e_setup_pf_switch_element()
15153 u16 uplink_seid; in i40e_setup_pf_switch() local
15159 uplink_seid = pf->veb[pf->lan_veb]->seid; in i40e_setup_pf_switch()
15161 uplink_seid = pf->mac_seid; in i40e_setup_pf_switch()
15163 vsi = i40e_vsi_setup(pf, I40E_VSI_MAIN, uplink_seid, 0); in i40e_setup_pf_switch()
16339 if (pf->veb[i]->uplink_seid == pf->mac_seid || in i40e_remove()
16340 pf->veb[i]->uplink_seid == 0) in i40e_remove()