Home
last modified time | relevance | path

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

/drivers/net/ethernet/sfc/
Def10_sriov.c137 efx_ef10_vport_del_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_free_vf_vports()
141 if (vf->vport_id) { in efx_ef10_sriov_free_vf_vports()
142 efx_ef10_vport_free(efx, vf->vport_id); in efx_ef10_sriov_free_vf_vports()
143 vf->vport_id = 0; in efx_ef10_sriov_free_vf_vports()
171 vf->vlan, &vf->vport_id); in efx_ef10_sriov_assign_vf_vport()
175 rc = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_assign_vf_vport()
181 rc = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_assign_vf_vport()
246 efx_ef10_vadaptor_alloc(efx, nic_data->vport_id); in efx_ef10_vswitching_probe_pf()
257 EFX_EF10_NO_VLAN, &nic_data->vport_id); in efx_ef10_vswitching_probe_pf()
261 rc = efx_ef10_vport_add_mac(efx, nic_data->vport_id, net_dev->dev_addr); in efx_ef10_vswitching_probe_pf()
[all …]
Def10_sriov.h27 unsigned int vport_id; member
Def10.c335 nic_data->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_probe()
1041 nic_data->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_reset_mc_allocations()
1045 nic_data->vf[i].vport_id = 0; in efx_ef10_reset_mc_allocations()
1782 MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_PORT_ID, nic_data->vport_id); in efx_ef10_tx_init()
1935 nic_data->vport_id); in efx_ef10_alloc_rss_context()
2161 MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_PORT_ID, nic_data->vport_id); in efx_ef10_rx_init()
2976 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_PORT_ID, nic_data->vport_id); in efx_ef10_filter_push_prep()
4111 rc = efx_ef10_vadaptor_free(efx, nic_data->vport_id); in efx_ef10_vport_set_mac_address()
4116 rc = efx_ef10_vport_del_mac(efx, nic_data->vport_id, in efx_ef10_vport_set_mac_address()
4121 rc = efx_ef10_vport_add_mac(efx, nic_data->vport_id, in efx_ef10_vport_set_mac_address()
[all …]
Dnic.h544 unsigned int vport_id; member
Dmcdi_port.c949 MCDI_SET_DWORD(inbuf, MAC_STATS_IN_PORT_ID, nic_data->vport_id); in efx_mcdi_mac_stats()
/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c121 u8 vport_id; member
138 u8 vport_id, in qed_sp_vport_start() argument
150 rc = qed_fw_vport(p_hwfn, vport_id, &abs_vport_id); in qed_sp_vport_start()
168 p_ramrod->vport_id = abs_vport_id; in qed_sp_vport_start()
369 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_sp_vport_update()
391 p_cmn->vport_id = abs_vport_id; in qed_sp_vport_update()
413 u8 vport_id) in qed_sp_vport_stop() argument
421 rc = qed_fw_vport(p_hwfn, vport_id, &abs_vport_id); in qed_sp_vport_stop()
439 p_ramrod->vport_id = abs_vport_id; in qed_sp_vport_stop()
455 vport_update_params.vport_id = vport; in qed_filter_accept_cmd()
[all …]
Dqed_init_fw_funcs.c342 u8 vport_id_in_pf = p_params->pq_params[i].vport_id - in qed_tx_pq_map_rt_init()
366 is_vf_pq ? p_params->pq_params[i].vport_id : 0); in qed_tx_pq_map_rt_init()
520 u8 tc, i, vport_id; in qed_vp_wfq_rt_init() local
524 for (i = 0, vport_id = start_vport; i < num_vports; i++, vport_id++) { in qed_vp_wfq_rt_init()
568 u8 i, vport_id; in qed_vport_rl_rt_init() local
571 for (i = 0, vport_id = start_vport; i < num_vports; i++, vport_id++) { in qed_vport_rl_rt_init()
581 QM_REG_RLGLBLCRD_RT_OFFSET + vport_id, in qed_vport_rl_rt_init()
584 QM_REG_RLGLBLUPPERBOUND_RT_OFFSET + vport_id, in qed_vport_rl_rt_init()
587 QM_REG_RLGLBLINCVAL_RT_OFFSET + vport_id, in qed_vport_rl_rt_init()
745 u8 vport_id, in qed_init_vport_rl() argument
[all …]
Dqed_hsi.h1509 u8 vport_id /* VPORT ID */; member
1656 u8 vport_id,
2603 u8 vport_id /* the vport id */; member
2742 u8 vport_id; member
2762 u8 vport_id; member
2771 u8 vport_id; member
2782 u8 vport_id; member
2817 u8 vport_id; member
2838 u8 vport_id; member
2843 u8 vport_id; member
Dqed_dev.c118 u8 num_vports, i, vport_id, num_ports; in qed_init_qm_info() local
151 vport_id = (u8)RESC_START(p_hwfn, QED_VPORT); in qed_init_qm_info()
157 params->vport_id = vport_id; in qed_init_qm_info()
164 qm_info->qm_pq_params[i].vport_id = (u8)RESC_START(p_hwfn, QED_VPORT); in qed_init_qm_info()
Dqed.h162 u8 vport_id; member
/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c1599 struct fc_vport_identifiers vport_id; in tcm_qla2xxx_lport_register_npiv_cb() local
1612 memset(&vport_id, 0, sizeof(vport_id)); in tcm_qla2xxx_lport_register_npiv_cb()
1613 vport_id.port_name = npiv_wwpn; in tcm_qla2xxx_lport_register_npiv_cb()
1614 vport_id.node_name = npiv_wwnn; in tcm_qla2xxx_lport_register_npiv_cb()
1615 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in tcm_qla2xxx_lport_register_npiv_cb()
1616 vport_id.vport_type = FC_PORTTYPE_NPIV; in tcm_qla2xxx_lport_register_npiv_cb()
1617 vport_id.disable = false; in tcm_qla2xxx_lport_register_npiv_cb()
1619 vport = fc_vport_create(sh, 0, &vport_id); in tcm_qla2xxx_lport_register_npiv_cb()
/drivers/net/ethernet/qlogic/qede/
Dqede_main.c2032 vport_update_params.vport_id = 0; in qede_stop_queues()
2097 int vport_id = 0, drop_ttl0_flg = 1, vlan_removal_en = 1; in qede_start_queues() local
2109 rc = edev->ops->vport_start(cdev, vport_id, in qede_start_queues()
2121 vport_id, edev->ndev->mtu + 0xe, vlan_removal_en); in qede_start_queues()
2130 q_params.vport_id = 0; in qede_start_queues()
2156 q_params.vport_id = 0; in qede_start_queues()
2186 vport_update_params.vport_id = vport_id; in qede_start_queues()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.h177 u8 vport_id; member
182 u8 vport_id;
Dqlcnic_sriov_pf.c35 u16 vport_id) in qlcnic_sriov_pf_set_vport_info() argument
43 cmd.req.arg[1] = (vport_id << 16) | 0x1; in qlcnic_sriov_pf_set_vport_info()
Dqlcnic_sriov_common.c352 struct qlcnic_info *npar_info, u16 vport_id) in qlcnic_sriov_get_vf_vport_info() argument
363 cmd.req.arg[1] = vport_id << 16 | 0x1; in qlcnic_sriov_get_vf_vport_info()
Dqlcnic_83xx_hw.c1264 recv_ctx->virt_port = mbx_out->vport_id; in qlcnic_83xx_create_rx_ctx()
/drivers/scsi/lpfc/
Dlpfc_hbadisc.c3619 struct fc_vport_identifiers vport_id; in lpfc_create_static_vport() local
3713 memset(&vport_id, 0, sizeof(vport_id)); in lpfc_create_static_vport()
3714 vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn); in lpfc_create_static_vport()
3715 vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn); in lpfc_create_static_vport()
3716 if (!vport_id.port_name || !vport_id.node_name) in lpfc_create_static_vport()
3719 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in lpfc_create_static_vport()
3720 vport_id.vport_type = FC_PORTTYPE_NPIV; in lpfc_create_static_vport()
3721 vport_id.disable = false; in lpfc_create_static_vport()
3722 new_fc_vport = fc_vport_create(shost, 0, &vport_id); in lpfc_create_static_vport()