| /Linux-v4.19/drivers/net/ethernet/sfc/ |
| D | ef10_sriov.c | 138 efx_ef10_vport_del_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_free_vf_vports() 142 if (vf->vport_id) { in efx_ef10_sriov_free_vf_vports() 143 efx_ef10_vport_free(efx, vf->vport_id); in efx_ef10_sriov_free_vf_vports() 144 vf->vport_id = 0; in efx_ef10_sriov_free_vf_vports() 172 vf->vlan, &vf->vport_id); in efx_ef10_sriov_assign_vf_vport() 176 rc = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_assign_vf_vport() 182 rc = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_assign_vf_vport() 242 rc = efx_ef10_vadaptor_alloc(efx, nic_data->vport_id); in efx_ef10_vadaptor_alloc_set_features() 246 rc = efx_ef10_vadaptor_query(efx, nic_data->vport_id, in efx_ef10_vadaptor_alloc_set_features() 287 EFX_EF10_NO_VLAN, &nic_data->vport_id); in efx_ef10_vswitching_probe_pf() [all …]
|
| D | ef10_sriov.h | 27 unsigned int vport_id; member
|
| D | ef10.c | 697 nic_data->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_probe() 1510 nic_data->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_reset_mc_allocations() 1514 nic_data->vf[i].vport_id = 0; in efx_ef10_reset_mc_allocations() 2455 MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_PORT_ID, nic_data->vport_id); in efx_ef10_tx_init() 2750 nic_data->vport_id); in efx_ef10_alloc_rss_context() 3110 MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_PORT_ID, nic_data->vport_id); in efx_ef10_rx_init() 4179 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_PORT_ID, nic_data->vport_id); in efx_ef10_filter_push_prep() 5546 rc = efx_ef10_vadaptor_free(efx, nic_data->vport_id); in efx_ef10_vport_set_mac_address() 5551 rc = efx_ef10_vport_del_mac(efx, nic_data->vport_id, in efx_ef10_vport_set_mac_address() 5556 rc = efx_ef10_vport_add_mac(efx, nic_data->vport_id, in efx_ef10_vport_set_mac_address() [all …]
|
| D | nic.h | 429 unsigned int vport_id; member
|
| /Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
| D | qed_l2.c | 233 p_cid->rel.vport_id = p_params->vport_id; in _qed_eth_queue_to_cid() 259 rc = qed_fw_vport(p_hwfn, p_cid->rel.vport_id, &p_cid->abs.vport_id); in _qed_eth_queue_to_cid() 295 p_cid->rel.vport_id, in _qed_eth_queue_to_cid() 296 p_cid->abs.vport_id, in _qed_eth_queue_to_cid() 375 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_sp_eth_vport_start() 391 p_ramrod->vport_id = abs_vport_id; in qed_sp_eth_vport_start() 440 return qed_vf_pf_vport_start(p_hwfn, p_params->vport_id, in qed_sp_vport_start() 692 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_sp_vport_update() 712 p_cmn->vport_id = abs_vport_id; in qed_sp_vport_update() 756 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id) in qed_sp_vport_stop() argument [all …]
|
| D | qed_l2.h | 165 u8 vport_id; member 199 u8 vport_id; member 241 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id); 319 u8 vport_id; member
|
| D | qed_init_fw_funcs.c | 477 vport_id_in_pf = pq_params[i].vport_id - p_params->start_vport; in qed_tx_pq_map_rt_init() 496 if (rl_valid && pq_params[i].vport_id >= max_qm_global_rls) { in qed_tx_pq_map_rt_init() 509 rl_valid ? pq_params[i].vport_id : 0, in qed_tx_pq_map_rt_init() 534 pq_params[i].vport_id : 0); in qed_tx_pq_map_rt_init() 718 u8 i, vport_id; in qed_vport_rl_rt_init() local 728 for (i = 0, vport_id = start_vport; i < num_vports; i++, vport_id++) { in qed_vport_rl_rt_init() 738 STORE_RT_REG(p_hwfn, QM_REG_RLGLBLCRD_RT_OFFSET + vport_id, in qed_vport_rl_rt_init() 741 QM_REG_RLGLBLUPPERBOUND_RT_OFFSET + vport_id, in qed_vport_rl_rt_init() 744 STORE_RT_REG(p_hwfn, QM_REG_RLGLBLINCVAL_RT_OFFSET + vport_id, in qed_vport_rl_rt_init() 953 u8 vport_id, u32 vport_rl, u32 link_speed) in qed_init_vport_rl() argument [all …]
|
| D | qed_sriov.c | 474 vf->vport_id = idx + 1; in qed_iov_setup_vfdb() 1716 params.vport_id = p_vf->vport_id; in __qed_iov_spoofchk_set() 1745 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_reconfigure_unicast_vlan() 1803 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced() 1830 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced() 1847 vport_update.vport_id = p_vf->vport_id; in qed_iov_configure_vport_forced() 1968 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_vport() 2010 rc = qed_sp_vport_stop(p_hwfn, vf->opaque_fid, vf->vport_id); in qed_iov_vf_mbx_stop_vport() 2135 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_rxq() 2470 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_txq() [all …]
|
| D | qed_vf.h | 361 u8 vport_id; member 989 u8 vport_id, 1183 u8 vport_id, in qed_vf_pf_vport_start() argument
|
| D | qed_sriov.h | 209 u8 vport_id; member
|
| D | qed_dev.c | 444 qm_info->qm_pq_params[pq_idx].vport_id = qm_info->start_vport + in qed_init_qm_pq() 804 pq->vport_id, in qed_dp_init_qm_params() 4031 u16 vport_id, u32 req_rate, u32 min_pf_rate) in qed_init_wfq_param() argument 4042 if ((i != vport_id) && in qed_init_wfq_param() 4058 vport_id, req_rate, min_pf_rate); in qed_init_wfq_param() 4086 p_hwfn->qm_info.wfq_data[vport_id].min_speed = req_rate; in qed_init_wfq_param() 4087 p_hwfn->qm_info.wfq_data[vport_id].configured = true; in qed_init_wfq_param()
|
| D | qed_vf.c | 932 u8 vport_id, in qed_vf_pf_vport_start() argument 947 req->vport_id = vport_id; in qed_vf_pf_vport_start()
|
| D | qed_hsi.h | 2628 u8 vport_id; member 3989 u8 vport_id, u32 vport_rl, u32 link_speed); 5630 u8 vport_id; member 5871 u8 vport_id; member 5877 u8 vport_id; member 5888 u8 vport_id; member 5918 u8 vport_id; member 5927 u8 vport_id; member 5961 __le16 vport_id; member 5974 u8 vport_id; member [all …]
|
| /Linux-v4.19/include/linux/qed/ |
| D | qed_eth_if.h | 48 u8 vport_id; member 93 u8 vport_id; member 127 u8 vport_id; member 143 u8 vport_id; member 318 u8 vport_id);
|
| /Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| D | hclge_mbx.c | 87 dest_vfid = (u8)vport->vport_id; in hclge_inform_reset_assert_to_vf() 200 hclge_promisc_param_init(¶m, en_uc, en_mc, true, vport->vport_id); in hclge_set_vf_promisc_mode() 288 u8 func_id = vport->vport_id; in hclge_set_vf_mc_mac_addr() 434 ret, vport->vport_id); in hclge_reset_vf()
|
| D | hclge_main.c | 1348 is_pf = !(vport->vport_id); in hclge_map_tqp_to_vport() 1349 ret = hclge_map_tqps_to_func(hdev, vport->vport_id, q->index, in hclge_map_tqp_to_vport() 1441 vport->vport_id = i; in hclge_alloc_vport() 2289 ret = hclge_cfg_func_mta_filter(hdev, vport->vport_id, false); in hclge_mac_init() 2947 vport->vport_id * in hclge_get_vector() 2949 hdev->vector_status[i] = vport->vport_id; in hclge_get_vector() 3477 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector() 3497 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector() 3584 bool en_mc, bool en_bc, int vport_id) in hclge_promisc_param_init() argument 3596 param->vf_id = vport_id; in hclge_promisc_param_init() [all …]
|
| D | hclge_tm.c | 527 vport->qs_offset = hdev->tm_info.num_tc * vport->vport_id; in hclge_tm_vport_tc_info_update() 831 vport->vport_id, in hclge_tm_pri_vnet_base_shaper_pri_cfg() 838 vport->vport_id, in hclge_tm_pri_vnet_base_shaper_pri_cfg() 944 ret = hclge_tm_pri_weight_cfg(hdev, vport->vport_id, vport->dwrr); in hclge_tm_pri_vnet_base_dwrr_pri_cfg() 1060 ret = hclge_tm_pri_schd_mode_cfg(hdev, vport->vport_id); in hclge_tm_schd_mode_vnet_base_cfg()
|
| D | hclge_main.h | 608 int vport_id; member 618 bool en_mc, bool en_bc, int vport_id);
|
| D | hclge_dcb.c | 351 vport->vport_id != 0) in hclge_dcb_ops_set()
|
| /Linux-v4.19/drivers/scsi/qla2xxx/ |
| D | tcm_qla2xxx.c | 1763 struct fc_vport_identifiers vport_id; in tcm_qla2xxx_lport_register_npiv_cb() local 1776 memset(&vport_id, 0, sizeof(vport_id)); in tcm_qla2xxx_lport_register_npiv_cb() 1777 vport_id.port_name = npiv_wwpn; in tcm_qla2xxx_lport_register_npiv_cb() 1778 vport_id.node_name = npiv_wwnn; in tcm_qla2xxx_lport_register_npiv_cb() 1779 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in tcm_qla2xxx_lport_register_npiv_cb() 1780 vport_id.vport_type = FC_PORTTYPE_NPIV; in tcm_qla2xxx_lport_register_npiv_cb() 1781 vport_id.disable = false; in tcm_qla2xxx_lport_register_npiv_cb() 1783 vport = fc_vport_create(sh, 0, &vport_id); in tcm_qla2xxx_lport_register_npiv_cb()
|
| /Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/ |
| D | qlcnic_83xx_hw.h | 177 u8 vport_id; member 182 u8 vport_id;
|
| D | qlcnic_sriov_pf.c | 35 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()
|
| /Linux-v4.19/drivers/net/ethernet/qlogic/qede/ |
| D | qede_main.c | 206 vport_params->vport_id = 0; in qede_sriov_configure() 1792 vport_update_params->vport_id = 0; in qede_stop_queues() 1939 start.vport_id = 0; in qede_start_queues() 1953 start.vport_id, edev->ndev->mtu + 0xe, vlan_removal_en); in qede_start_queues() 1968 q_params.vport_id = 0; in qede_start_queues() 2023 vport_update_params->vport_id = start.vport_id; in qede_start_queues()
|
| /Linux-v4.19/drivers/scsi/lpfc/ |
| D | lpfc_hbadisc.c | 3661 struct fc_vport_identifiers vport_id; in lpfc_create_static_vport() local 3755 memset(&vport_id, 0, sizeof(vport_id)); in lpfc_create_static_vport() 3756 vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn); in lpfc_create_static_vport() 3757 vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn); in lpfc_create_static_vport() 3758 if (!vport_id.port_name || !vport_id.node_name) in lpfc_create_static_vport() 3761 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in lpfc_create_static_vport() 3762 vport_id.vport_type = FC_PORTTYPE_NPIV; in lpfc_create_static_vport() 3763 vport_id.disable = false; in lpfc_create_static_vport() 3764 new_fc_vport = fc_vport_create(shost, 0, &vport_id); in lpfc_create_static_vport()
|
| /Linux-v4.19/include/scsi/ |
| D | scsi_transport_fc.h | 242 u32 vport_id; /* Admin Identifier for the vport */ member
|