Home
last modified time | relevance | path

Searched refs:first_sw (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_main.c373 if (!ice_is_dflt_vsi_in_use(pf->first_sw)) { in ice_vsi_sync_fltr()
374 err = ice_set_dflt_vsi(pf->first_sw, vsi); in ice_vsi_sync_fltr()
386 if (ice_is_vsi_dflt_vsi(pf->first_sw, vsi)) { in ice_vsi_sync_fltr()
387 err = ice_clear_dflt_vsi(pf->first_sw); in ice_vsi_sync_fltr()
4364 pf->first_sw = devm_kzalloc(dev, sizeof(*pf->first_sw), GFP_KERNEL); in ice_probe()
4365 if (!pf->first_sw) { in ice_probe()
4371 pf->first_sw->bridge_mode = BRIDGE_MODE_VEB; in ice_probe()
4373 pf->first_sw->bridge_mode = BRIDGE_MODE_VEPA; in ice_probe()
4375 pf->first_sw->pf = pf; in ice_probe()
4378 pf->first_sw->sw_id = hw->port_info->sw_id; in ice_probe()
[all …]
Dice.h436 struct ice_sw *first_sw; /* first switch created by firmware */ member
Dice_virtchnl_pf.c1885 vf->vf_sw_id = pf->first_sw; in ice_set_dflt_settings_vfs()
3027 if (set_dflt_vsi && !ice_is_dflt_vsi_in_use(pf->first_sw)) in ice_vc_cfg_promiscuous_mode_msg()
3031 ret = ice_set_dflt_vsi(pf->first_sw, vsi); in ice_vc_cfg_promiscuous_mode_msg()
3033 ice_is_vsi_dflt_vsi(pf->first_sw, vsi)) in ice_vc_cfg_promiscuous_mode_msg()
3037 ret = ice_clear_dflt_vsi(pf->first_sw); in ice_vc_cfg_promiscuous_mode_msg()
Dice_lib.c2423 vsi->vsw = pf->first_sw; in ice_vsi_setup()