Home
last modified time | relevance | path

Searched refs:vport_id (Results 1 – 25 of 38) sorted by relevance

12

/drivers/net/ethernet/sfc/
Def10_sriov.c134 efx_ef10_vport_del_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_free_vf_vports()
138 if (vf->vport_id) { in efx_ef10_sriov_free_vf_vports()
139 efx_ef10_vport_free(efx, vf->vport_id); in efx_ef10_sriov_free_vf_vports()
140 vf->vport_id = 0; in efx_ef10_sriov_free_vf_vports()
168 vf->vlan, &vf->vport_id); in efx_ef10_sriov_assign_vf_vport()
172 rc = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_assign_vf_vport()
178 rc = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_assign_vf_vport()
235 rc = efx_ef10_vadaptor_alloc(efx, efx->vport_id); in efx_ef10_vadaptor_alloc_set_features()
239 rc = efx_ef10_vadaptor_query(efx, efx->vport_id, in efx_ef10_vadaptor_alloc_set_features()
280 EFX_EF10_NO_VLAN, &efx->vport_id); in efx_ef10_vswitching_probe_pf()
[all …]
Drx_common.c679 return memcmp(&left->vport_id, &right->vport_id, in efx_filter_spec_equal()
681 offsetof(struct efx_filter_spec, vport_id)) == 0; in efx_filter_spec_equal()
686 BUILD_BUG_ON(offsetof(struct efx_filter_spec, vport_id) & 3); in efx_filter_spec_hash()
687 return jhash2((const u32 *)&spec->vport_id, in efx_filter_spec_hash()
689 offsetof(struct efx_filter_spec, vport_id)) / 4, in efx_filter_spec_hash()
Def10_sriov.h24 unsigned int vport_id; member
Dmcdi_functions.c183 MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_PORT_ID, efx->vport_id); in efx_mcdi_tx_init()
306 MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_PORT_ID, efx->vport_id); in efx_mcdi_rx_init()
Dfilter.h160 u32 vport_id; member
Def10.c1403 efx->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_table_reset_mc_allocations()
1407 nic_data->vf[i].vport_id = 0; in efx_ef10_table_reset_mc_allocations()
3236 rc = efx_ef10_vadaptor_free(efx, efx->vport_id); in efx_ef10_vport_set_mac_address()
3241 rc = efx_ef10_vport_del_mac(efx, efx->vport_id, in efx_ef10_vport_set_mac_address()
3246 rc = efx_ef10_vport_add_mac(efx, efx->vport_id, in efx_ef10_vport_set_mac_address()
3251 rc2 = efx_ef10_vport_add_mac(efx, efx->vport_id, mac_old); in efx_ef10_vport_set_mac_address()
3260 rc2 = efx_ef10_vadaptor_alloc(efx, efx->vport_id); in efx_ef10_vport_set_mac_address()
3326 efx->vport_id); in efx_ef10_set_mac_address()
/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
Dqos_tracepoint.h17 __field(unsigned short, vport_id)
21 __entry->vport_id = vport->vport;
25 __get_str(devname), __entry->vport_id, __entry->tsar_ix
33 __field(unsigned short, vport_id)
40 __entry->vport_id = vport->vport;
47 __get_str(devname), __entry->vport_id, __entry->tsar_ix,
/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c209 p_cid->rel.vport_id = p_params->vport_id; in _qed_eth_queue_to_cid()
235 rc = qed_fw_vport(p_hwfn, p_cid->rel.vport_id, &p_cid->abs.vport_id); in _qed_eth_queue_to_cid()
271 p_cid->rel.vport_id, in _qed_eth_queue_to_cid()
272 p_cid->abs.vport_id, in _qed_eth_queue_to_cid()
352 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_sp_eth_vport_start()
368 p_ramrod->vport_id = abs_vport_id; in qed_sp_eth_vport_start()
420 return qed_vf_pf_vport_start(p_hwfn, p_params->vport_id, in qed_sp_vport_start()
676 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_sp_vport_update()
696 p_cmn->vport_id = abs_vport_id; in qed_sp_vport_update()
744 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id) in qed_sp_vport_stop() argument
[all …]
Dqed_l2.h140 u8 vport_id; member
174 u8 vport_id; member
218 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id);
321 u8 vport_id; member
Dqed_sriov.c451 vf->vport_id = idx + 1; in qed_iov_setup_vfdb()
1698 params.vport_id = p_vf->vport_id; in __qed_iov_spoofchk_set()
1727 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_reconfigure_unicast_vlan()
1785 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced()
1812 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced()
1829 vport_update.vport_id = p_vf->vport_id; in qed_iov_configure_vport_forced()
1950 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_vport()
1994 rc = qed_sp_vport_stop(p_hwfn, vf->opaque_fid, vf->vport_id); in qed_iov_vf_mbx_stop_vport()
2119 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_rxq()
2454 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_txq()
[all …]
Dqed_vf.h334 u8 vport_id; member
988 u8 vport_id,
1193 u8 vport_id, in qed_vf_pf_vport_start() argument
Dqed_sriov.h184 u8 vport_id; member
Dqed_hsi.h268 u8 vport_id; member
350 u8 vport_id; member
934 u8 vport_id; member
2661 u8 vport_id; member
5482 u8 vport_id; member
5745 u8 vport_id; member
5751 u8 vport_id; member
5762 u8 vport_id; member
5792 u8 vport_id; member
5801 u8 vport_id; member
[all …]
Dqed_vf.c936 u8 vport_id, in qed_vf_pf_vport_start() argument
951 req->vport_id = vport_id; in qed_vf_pf_vport_start()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c1782 is_pf = !(vport->vport_id); in hclge_map_tqp_to_vport()
1783 ret = hclge_map_tqps_to_func(hdev, vport->vport_id, q->index, in hclge_map_tqp_to_vport()
1865 vport->vport_id = i; in hclge_alloc_vport()
3655 ret = hclge_set_vf_rst(hdev, vport->vport_id, reset); in hclge_set_all_vf_rst()
3659 vport->vport_id - HCLGE_VF_VPORT_START_NUM, in hclge_set_all_vf_rst()
3675 vport->vport_id - HCLGE_VF_VPORT_START_NUM, in hclge_set_all_vf_rst()
4483 hdev->vector_status[idx] = hdev->vport[0].vport_id; in hclge_get_vector_info()
5144 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector()
5171 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector()
5274 return hclge_cmd_set_promisc_mode(vport->back, vport->vport_id, in hclge_set_vport_promisc_mode()
[all …]
Dhclge_mbx.c135 dest_vfid = (u8)vport->vport_id; in hclge_inform_reset_assert_to_vf()
515 HCLGE_MBX_LINK_STAT_CHANGE, vport->vport_id); in hclge_push_vf_link_status()
564 vport->vport_id - HCLGE_VF_VPORT_START_NUM, ret); in hclge_mbx_reset_vf_queue()
574 vport->vport_id - HCLGE_VF_VPORT_START_NUM); in hclge_reset_vf()
576 return hclge_func_reset_cmd(hdev, vport->vport_id); in hclge_reset_vf()
Dhclge_tm.c585 vport->vport_id, shap_cfg_cmd->qs_id, in hclge_tm_qs_shaper_cfg()
644 if (vport->vport_id) { in hclge_tm_update_kinfo_rss_size()
647 vport->vport_id - HCLGE_VF_VPORT_START_NUM; in hclge_tm_update_kinfo_rss_size()
1019 vport->vport_id, shaper_para, in hclge_tm_pri_vnet_base_shaper_pri_cfg()
1029 vport->vport_id, shaper_para, in hclge_tm_pri_vnet_base_shaper_pri_cfg()
1156 ret = hclge_tm_pri_weight_cfg(hdev, vport->vport_id, vport->dwrr); in hclge_tm_pri_vnet_base_dwrr_pri_cfg()
1285 if (vport->vport_id >= HNAE3_MAX_TC) in hclge_tm_schd_mode_vnet_base_cfg()
1288 ret = hclge_tm_pri_schd_mode_cfg(hdev, vport->vport_id); in hclge_tm_schd_mode_vnet_base_cfg()
/drivers/scsi/elx/efct/
Defct_lio.c788 struct fc_vport_identifiers vport_id; in efct_lio_npiv_make_nport() local
836 memset(&vport_id, 0, sizeof(vport_id)); in efct_lio_npiv_make_nport()
837 vport_id.port_name = npiv_wwpn; in efct_lio_npiv_make_nport()
838 vport_id.node_name = npiv_wwnn; in efct_lio_npiv_make_nport()
839 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in efct_lio_npiv_make_nport()
840 vport_id.vport_type = FC_PORTTYPE_NPIV; in efct_lio_npiv_make_nport()
841 vport_id.disable = false; in efct_lio_npiv_make_nport()
843 new_fc_vport = fc_vport_create(efct->shost, 0, &vport_id); in efct_lio_npiv_make_nport()
/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c1719 struct fc_vport_identifiers vport_id; in tcm_qla2xxx_lport_register_npiv_cb() local
1732 memset(&vport_id, 0, sizeof(vport_id)); in tcm_qla2xxx_lport_register_npiv_cb()
1733 vport_id.port_name = npiv_wwpn; in tcm_qla2xxx_lport_register_npiv_cb()
1734 vport_id.node_name = npiv_wwnn; in tcm_qla2xxx_lport_register_npiv_cb()
1735 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in tcm_qla2xxx_lport_register_npiv_cb()
1736 vport_id.vport_type = FC_PORTTYPE_NPIV; in tcm_qla2xxx_lport_register_npiv_cb()
1737 vport_id.disable = false; in tcm_qla2xxx_lport_register_npiv_cb()
1739 vport = fc_vport_create(sh, 0, &vport_id); in tcm_qla2xxx_lport_register_npiv_cb()
/drivers/infiniband/hw/irdma/
Dmain.c170 qset.vport_id = vsi->vsi_idx; in irdma_lan_register_qset()
197 qset.vport_id = vsi->vsi_idx; in irdma_lan_unregister_qset()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.h176 u8 vport_id; member
181 u8 vport_id;
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c169 vport_params->vport_id = 0; in qede_sriov_configure()
2041 vport_update_params->vport_id = 0; in qede_stop_queues()
2193 start.vport_id = 0; in qede_start_queues()
2207 start.vport_id, edev->ndev->mtu + 0xe, vlan_removal_en); in qede_start_queues()
2222 q_params.vport_id = 0; in qede_start_queues()
2273 vport_update_params->vport_id = start.vport_id; in qede_start_queues()
/drivers/net/ethernet/intel/ice/
Dice_idc.c137 vsi = ice_find_vsi(pf, qset->vport_id); in ice_del_rdma_qset()
/drivers/scsi/lpfc/
Dlpfc_hbadisc.c4028 struct fc_vport_identifiers vport_id; in lpfc_create_static_vport() local
4123 memset(&vport_id, 0, sizeof(vport_id)); in lpfc_create_static_vport()
4124 vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn); in lpfc_create_static_vport()
4125 vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn); in lpfc_create_static_vport()
4126 if (!vport_id.port_name || !vport_id.node_name) in lpfc_create_static_vport()
4129 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in lpfc_create_static_vport()
4130 vport_id.vport_type = FC_PORTTYPE_NPIV; in lpfc_create_static_vport()
4131 vport_id.disable = false; in lpfc_create_static_vport()
4132 new_fc_vport = fc_vport_create(shost, 0, &vport_id); in lpfc_create_static_vport()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c277 u32 vport_id) in mlx5dr_cmd_set_fte_modify_and_vport() argument
308 MLX5_SET(dest_format_struct, in_dests, destination_id, vport_id); in mlx5dr_cmd_set_fte_modify_and_vport()

12