Home
last modified time | relevance | path

Searched refs:main_vsi (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c625 struct ice_vsi *main_vsi, *ctrl_vsi; in ice_fdir_set_hw_fltr_rule() local
637 main_vsi = ice_get_main_vsi(pf); in ice_fdir_set_hw_fltr_rule()
638 if (!main_vsi) in ice_fdir_set_hw_fltr_rule()
686 err = ice_flow_add_entry(hw, ICE_BLK_FD, prof_id, main_vsi->idx, in ice_fdir_set_hw_fltr_rule()
687 main_vsi->idx, ICE_FLOW_PRIO_NORMAL, in ice_fdir_set_hw_fltr_rule()
691 err = ice_flow_add_entry(hw, ICE_BLK_FD, prof_id, main_vsi->idx, in ice_fdir_set_hw_fltr_rule()
700 hw_prof->vsi_h[0] = main_vsi->idx; in ice_fdir_set_hw_fltr_rule()
709 if (!ice_is_adq_active(pf) || !main_vsi->tc_map_vsi[idx]) in ice_fdir_set_hw_fltr_rule()
713 vsi_h = main_vsi->tc_map_vsi[idx]->idx; in ice_fdir_set_hw_fltr_rule()
715 main_vsi->idx, vsi_h, in ice_fdir_set_hw_fltr_rule()
[all …]
Dice_tc_lib.c1140 struct ice_vsi *main_vsi; in ice_handle_tclass_action() local
1157 main_vsi = ice_get_main_vsi(vsi->back); in ice_handle_tclass_action()
1158 if (!main_vsi || !main_vsi->netdev) { in ice_handle_tclass_action()
1204 if (!ice_mac_fltr_exist(&main_vsi->back->hw, in ice_handle_tclass_action()
1206 main_vsi->idx)) { in ice_handle_tclass_action()
1218 if (!ice_vlan_fltr_exist(&main_vsi->back->hw, vlan_id, in ice_handle_tclass_action()
1219 main_vsi->idx)) { in ice_handle_tclass_action()
Dice_dcb_nl.c1066 struct ice_vsi *main_vsi = ice_get_main_vsi(pf); in ice_dcbnl_flush_apps() local
1069 if (!main_vsi) in ice_dcbnl_flush_apps()
1077 ice_dcbnl_vsi_del_app(main_vsi, &app); in ice_dcbnl_flush_apps()
Dice_lib.c635 struct ice_vsi *main_vsi; in ice_alloc_fd_res() local
638 main_vsi = ice_get_main_vsi(pf); in ice_alloc_fd_res()
639 if (!main_vsi) in ice_alloc_fd_res()
642 if (!main_vsi->all_numtc) in ice_alloc_fd_res()
646 numtc = main_vsi->all_numtc - ICE_CHNL_START_TC; in ice_alloc_fd_res()
1169 struct ice_vsi *main_vsi; in ice_vsi_init() local
1171 main_vsi = ice_get_main_vsi(pf); in ice_vsi_init()
1172 if (main_vsi && ice_vsi_is_vlan_pruning_ena(main_vsi)) in ice_vsi_init()
Dice_main.c8293 struct ice_vsi *main_vsi; in ice_rebuild_channels() local
8300 main_vsi = ice_get_main_vsi(pf); in ice_rebuild_channels()
8301 if (!main_vsi) in ice_rebuild_channels()
8305 main_vsi->old_numtc == 1) in ice_rebuild_channels()
8311 err = ice_vsi_cfg_tc(main_vsi, main_vsi->old_ena_tc); in ice_rebuild_channels()
8314 main_vsi->old_ena_tc, main_vsi->vsi_num); in ice_rebuild_channels()
8355 main_vsi->tc_map_vsi[tc_idx++] = vsi; in ice_rebuild_channels()
8361 list_for_each_entry(ch, &main_vsi->ch_list, list) { in ice_rebuild_channels()
8369 ice_cfg_chnl_all_res(main_vsi, ch); in ice_rebuild_channels()
8388 if (main_vsi->ch_rss_size) in ice_rebuild_channels()
[all …]