Home
last modified time | relevance | path

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

/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.c1472 struct ice_vsi *main_vsi; in ice_handle_tclass_action() local
1489 main_vsi = ice_get_main_vsi(vsi->back); in ice_handle_tclass_action()
1490 if (!main_vsi || !main_vsi->netdev) { in ice_handle_tclass_action()
1536 if (!ice_mac_fltr_exist(&main_vsi->back->hw, in ice_handle_tclass_action()
1538 main_vsi->idx)) { in ice_handle_tclass_action()
1550 if (!ice_vlan_fltr_exist(&main_vsi->back->hw, vlan_id, in ice_handle_tclass_action()
1551 main_vsi->idx)) { in ice_handle_tclass_action()
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()
1174 struct ice_vsi *main_vsi; in ice_vsi_init() local
1176 main_vsi = ice_get_main_vsi(pf); in ice_vsi_init()
1177 if (main_vsi && ice_vsi_is_vlan_pruning_ena(main_vsi)) in ice_vsi_init()
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_main.c8455 struct ice_vsi *main_vsi; in ice_rebuild_channels() local
8462 main_vsi = ice_get_main_vsi(pf); in ice_rebuild_channels()
8463 if (!main_vsi) in ice_rebuild_channels()
8467 main_vsi->old_numtc == 1) in ice_rebuild_channels()
8473 err = ice_vsi_cfg_tc(main_vsi, main_vsi->old_ena_tc); in ice_rebuild_channels()
8476 main_vsi->old_ena_tc, main_vsi->vsi_num); in ice_rebuild_channels()
8517 main_vsi->tc_map_vsi[tc_idx++] = vsi; in ice_rebuild_channels()
8523 list_for_each_entry(ch, &main_vsi->ch_list, list) { in ice_rebuild_channels()
8531 ice_cfg_chnl_all_res(main_vsi, ch); in ice_rebuild_channels()
8550 if (main_vsi->ch_rss_size) in ice_rebuild_channels()
[all …]