Searched refs:first_sw (Results 1 – 4 of 4) sorted by relevance
4769 pf->first_sw = kzalloc(sizeof(*pf->first_sw), GFP_KERNEL); in ice_init_pf_sw()4770 if (!pf->first_sw) in ice_init_pf_sw()4774 pf->first_sw->bridge_mode = BRIDGE_MODE_VEB; in ice_init_pf_sw()4776 pf->first_sw->bridge_mode = BRIDGE_MODE_VEPA; in ice_init_pf_sw()4778 pf->first_sw->pf = pf; in ice_init_pf_sw()4781 pf->first_sw->sw_id = pf->hw.port_info->sw_id; in ice_init_pf_sw()4797 kfree(pf->first_sw); in ice_init_pf_sw()4809 kfree(pf->first_sw); in ice_deinit_pf_sw()7712 bmode = pf->first_sw->bridge_mode; in ice_bridge_getlink()7786 pf_sw = pf->first_sw; in ice_bridge_setlink()[all …]
557 struct ice_sw *first_sw; /* first switch created by firmware */ member
815 vf->vf_sw_id = pf->first_sw; in ice_create_vf_entries()
2417 vsi->vsw = pf->first_sw; in ice_vsi_cfg_def()