Home
last modified time | relevance | path

Searched refs:vsi_idx (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_eswitch_br.c121 ice_eswitch_br_fwd_rule_create(struct ice_hw *hw, int vsi_idx, int port_type, in ice_eswitch_br_fwd_rule_create() argument
144 ice_eswitch_br_egress_rule_setup(&rule_info, vsi_idx); in ice_eswitch_br_fwd_rule_create()
148 vsi_idx); in ice_eswitch_br_fwd_rule_create()
182 ice_eswitch_br_guard_rule_create(struct ice_hw *hw, u16 vsi_idx, in ice_eswitch_br_guard_rule_create() argument
208 rule_info.sw_act.vsi_handle = vsi_idx; in ice_eswitch_br_guard_rule_create()
229 ice_eswitch_br_flow_create(struct device *dev, struct ice_hw *hw, int vsi_idx, in ice_eswitch_br_flow_create() argument
240 fwd_rule = ice_eswitch_br_fwd_rule_create(hw, vsi_idx, port_type, mac, in ice_eswitch_br_flow_create()
250 guard_rule = ice_eswitch_br_guard_rule_create(hw, vsi_idx, mac, vid); in ice_eswitch_br_flow_create()
305 ice_esw_br_port_vlan_lookup(struct ice_esw_br *bridge, u16 vsi_idx, u16 vid) in ice_esw_br_port_vlan_lookup() argument
312 port = xa_load(&bridge->ports, vsi_idx); in ice_esw_br_port_vlan_lookup()
[all …]
H A Dice_eswitch_br.h47 u16 vsi_idx; member
H A Dice_ethtool_fdir.c290 void ice_fdir_rem_adq_chnl(struct ice_hw *hw, u16 vsi_idx) in ice_fdir_rem_adq_chnl() argument
310 if (prof->vsi_h[i] != vsi_idx) in ice_fdir_rem_adq_chnl()
324 status = ice_flow_rem_vsi_prof(hw, vsi_idx, prof_id); in ice_fdir_rem_adq_chnl()
600 ice_fdir_prof_vsi_idx(struct ice_fd_hw_prof *prof, int vsi_idx) in ice_fdir_prof_vsi_idx() argument
605 if (prof->vsi_h[idx] == vsi_idx) in ice_fdir_prof_vsi_idx()
609 prof->vsi_h[prof->cnt++] = vsi_idx; in ice_fdir_prof_vsi_idx()
706 u16 vsi_idx; in ice_fdir_set_hw_fltr_rule() local
724 vsi_idx = ice_fdir_prof_vsi_idx(hw_prof, in ice_fdir_set_hw_fltr_rule()
726 hw_prof->entry_h[vsi_idx][tun] = entry1_h; in ice_fdir_set_hw_fltr_rule()
H A Dice_base.c1033 status = ice_dis_vsi_txq(vsi->port_info, txq_meta->vsi_idx, in ice_vsi_stop_tx_ring()
1081 txq_meta->vsi_idx = ch->ch_vsi->idx; in ice_fill_txq_meta()
1084 txq_meta->vsi_idx = vsi->idx; in ice_fill_txq_meta()
H A Dice.h230 u16 vsi_idx; /* VSI index that Tx queue belongs to */ member
934 void ice_fdir_rem_adq_chnl(struct ice_hw *hw, u16 vsi_idx);
H A Dice_trace.h307 TP_fast_assign(__entry->vport_num = port->vsi_idx;
H A Dice_lag.c1151 u16 num_vsi, vsi_num, vsi_idx, rule_buf_sz, vsi_list_id; in ice_lag_del_prune_list() local
1159 vsi_idx = lag->pf->vsi[0]->idx; in ice_lag_del_prune_list()
1162 vsi_idx, &vsi_list_id)) { in ice_lag_del_prune_list()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dws.c42 node->vsi_index = vsi->vsi_idx; in irdma_alloc_node()
201 vsi_node = ws_find_node(ws_tree_root, vsi->vsi_idx, in irdma_remove_leaf()
274 vsi_node = ws_find_node(ws_tree_root, vsi->vsi_idx, in irdma_ws_add()
281 vsi->vsi_idx); in irdma_ws_add()
300 vsi_node->index, vsi->vsi_idx); in irdma_ws_add()
308 vsi->vsi_idx, traffic_class); in irdma_ws_add()
339 tc_node->index, vsi->vsi_idx, traffic_class); in irdma_ws_add()
H A Dmain.c175 qset.vport_id = vsi->vsi_idx; in irdma_lan_register_qset()
202 qset.vport_id = vsi->vsi_idx; in irdma_lan_unregister_qset()
236 rf->default_vsi.vsi_idx = vsi->vsi_num; in irdma_fill_device_info()
H A Dtype.h546 u16 vsi_idx; member
H A Dctrl.c1869 vsi->vsi_idx = info->pf_data_vsi_num; in irdma_sc_vsi_init()
2556 FIELD_PREP(IRDMA_CQPSQ_VSIIDX, cq->vsi->vsi_idx)); in irdma_sc_cq_create()
2683 FIELD_PREP(IRDMA_CQPSQ_VSIIDX, cq->vsi->vsi_idx)); in irdma_sc_cq_modify()
3683 FIELD_PREP(IRDMA_CQPSQ_VSIIDX, ceq->vsi->vsi_idx)); in irdma_sc_ceq_create()
H A Dpuda.c744 FIELD_PREP(IRDMA_CQPSQ_VSIIDX, cq->vsi->vsi_idx)); in irdma_puda_cq_wqe()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.h61 u16 vsi_idx; /* index in PF struct for all channel VSIs */ member
H A Di40e_virtchnl_pf.c860 vf->ch[idx].vsi_idx = vsi->idx; in i40e_alloc_vsi_res()
1053 if (vf->adq_enabled && vf->ch[0].vsi_idx) { in i40e_free_vf_res()
1060 i40e_vsi_release(pf->vsi[vf->ch[j].vsi_idx]); in i40e_free_vf_res()
1061 vf->ch[j].vsi_idx = 0; in i40e_free_vf_res()
2084 if (vf->ch[i].vsi_idx) { in i40e_del_qch()
2085 i40e_vsi_release(pf->vsi[vf->ch[i].vsi_idx]); in i40e_del_qch()
2086 vf->ch[i].vsi_idx = 0; in i40e_del_qch()
2434 vsi = pf->vsi[vf->ch[i].vsi_idx]; in i40e_vc_config_queues_msg()
2649 if (i40e_vsi_start_rings(pf->vsi[vf->ch[i].vsi_idx])) in i40e_vc_enable_queues_msg()
3843 vsi = pf->vsi[vf->ch[vcf->action_meta].vsi_idx]; in i40e_vc_del_cloud_filter()
[all …]
H A Di40e_main.c11498 int vsi_idx; in i40e_vsi_mem_alloc() local
11520 vsi_idx = i; /* Found one! */ in i40e_vsi_mem_alloc()
11536 vsi->idx = vsi_idx; in i40e_vsi_mem_alloc()
11564 pf->vsi[vsi_idx] = vsi; in i40e_vsi_mem_alloc()
11565 ret = vsi_idx; in i40e_vsi_mem_alloc()
14923 int vsi_idx, veb_idx; in i40e_veb_setup() local
14936 for (vsi_idx = 0; vsi_idx < pf->num_alloc_vsi; vsi_idx++) in i40e_veb_setup()
14937 if (pf->vsi[vsi_idx] && pf->vsi[vsi_idx]->seid == vsi_seid) in i40e_veb_setup()
14939 if (vsi_idx == pf->num_alloc_vsi && vsi_seid != 0) { in i40e_veb_setup()
14971 ret = i40e_add_veb(veb, pf->vsi[vsi_idx]); in i40e_veb_setup()
[all …]