Searched refs:first_sw (Results 1 – 4 of 4) sorted by relevance
4955 pf->first_sw = kzalloc(sizeof(*pf->first_sw), GFP_KERNEL); in ice_init_pf_sw()4956 if (!pf->first_sw) in ice_init_pf_sw()4960 pf->first_sw->bridge_mode = BRIDGE_MODE_VEB; in ice_init_pf_sw()4962 pf->first_sw->bridge_mode = BRIDGE_MODE_VEPA; in ice_init_pf_sw()4964 pf->first_sw->pf = pf; in ice_init_pf_sw()4967 pf->first_sw->sw_id = pf->hw.port_info->sw_id; in ice_init_pf_sw()4983 kfree(pf->first_sw); in ice_init_pf_sw()4995 kfree(pf->first_sw); in ice_deinit_pf_sw()8075 bmode = pf->first_sw->bridge_mode; in ice_bridge_getlink()8149 pf_sw = pf->first_sw; in ice_bridge_setlink()[all …]
574 struct ice_sw *first_sw; /* first switch created by firmware */ member
831 vf->vf_sw_id = pf->first_sw; in ice_create_vf_entries()
2251 vsi->vsw = pf->first_sw; in ice_vsi_cfg_def()