| /Linux-v5.4/drivers/net/ethernet/sfc/ |
| D | ef10_sriov.c | 135 efx_ef10_vport_del_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_free_vf_vports() 139 if (vf->vport_id) { in efx_ef10_sriov_free_vf_vports() 140 efx_ef10_vport_free(efx, vf->vport_id); in efx_ef10_sriov_free_vf_vports() 141 vf->vport_id = 0; in efx_ef10_sriov_free_vf_vports() 169 vf->vlan, &vf->vport_id); in efx_ef10_sriov_assign_vf_vport() 173 rc = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_assign_vf_vport() 179 rc = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_assign_vf_vport() 239 rc = efx_ef10_vadaptor_alloc(efx, nic_data->vport_id); in efx_ef10_vadaptor_alloc_set_features() 243 rc = efx_ef10_vadaptor_query(efx, nic_data->vport_id, in efx_ef10_vadaptor_alloc_set_features() 284 EFX_EF10_NO_VLAN, &nic_data->vport_id); in efx_ef10_vswitching_probe_pf() [all …]
|
| D | ef10_sriov.h | 24 unsigned int vport_id; member
|
| D | ef10.c | 694 nic_data->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_probe() 1507 nic_data->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_reset_mc_allocations() 1511 nic_data->vf[i].vport_id = 0; in efx_ef10_reset_mc_allocations() 2452 MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_PORT_ID, nic_data->vport_id); in efx_ef10_tx_init() 2747 nic_data->vport_id); in efx_ef10_alloc_rss_context() 3107 MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_PORT_ID, nic_data->vport_id); in efx_ef10_rx_init() 4176 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_PORT_ID, nic_data->vport_id); in efx_ef10_filter_push_prep() 5543 rc = efx_ef10_vadaptor_free(efx, nic_data->vport_id); in efx_ef10_vport_set_mac_address() 5548 rc = efx_ef10_vport_del_mac(efx, nic_data->vport_id, in efx_ef10_vport_set_mac_address() 5553 rc = efx_ef10_vport_add_mac(efx, nic_data->vport_id, in efx_ef10_vport_set_mac_address() [all …]
|
| D | nic.h | 426 unsigned int vport_id; member
|
| /Linux-v5.4/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() 696 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_sp_vport_update() 716 p_cmn->vport_id = abs_vport_id; in qed_sp_vport_update() 764 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 244 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id); 322 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 | 475 vf->vport_id = idx + 1; in qed_iov_setup_vfdb() 1718 params.vport_id = p_vf->vport_id; in __qed_iov_spoofchk_set() 1747 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_reconfigure_unicast_vlan() 1805 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced() 1832 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced() 1849 vport_update.vport_id = p_vf->vport_id; in qed_iov_configure_vport_forced() 1970 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_vport() 2014 rc = qed_sp_vport_stop(p_hwfn, vf->opaque_fid, vf->vport_id); in qed_iov_vf_mbx_stop_vport() 2139 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_rxq() 2474 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_hsi.h | 355 u8 vport_id; member 922 u8 vport_id; member 2644 u8 vport_id; member 4072 u8 vport_id, u32 vport_rl, u32 link_speed); 5721 u8 vport_id; member 5970 u8 vport_id; member 5976 u8 vport_id; member 5987 u8 vport_id; member 6017 u8 vport_id; member 6026 u8 vport_id; member [all …]
|
| D | qed_vf.c | 942 u8 vport_id, in qed_vf_pf_vport_start() argument 957 req->vport_id = vport_id; in qed_vf_pf_vport_start()
|
| D | qed_dev.c | 1676 qm_info->qm_pq_params[pq_idx].vport_id = qm_info->start_vport + in qed_init_qm_pq() 2055 pq->vport_id, in qed_dp_init_qm_params() 5133 u16 vport_id, u32 req_rate, u32 min_pf_rate) in qed_init_wfq_param() argument 5144 if ((i != vport_id) && in qed_init_wfq_param() 5160 vport_id, req_rate, min_pf_rate); in qed_init_wfq_param() 5188 p_hwfn->qm_info.wfq_data[vport_id].min_speed = req_rate; in qed_init_wfq_param() 5189 p_hwfn->qm_info.wfq_data[vport_id].configured = true; in qed_init_wfq_param()
|
| /Linux-v5.4/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-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| D | hclge_tm.c | 524 kinfo->num_tc = vport->vport_id ? 1 : in hclge_tm_vport_tc_info_update() 526 vport->qs_offset = (vport->vport_id ? hdev->tm_info.num_tc : 0) + in hclge_tm_vport_tc_info_update() 527 (vport->vport_id ? (vport->vport_id - 1) : 0); in hclge_tm_vport_tc_info_update() 870 vport->vport_id, shaper_para); in hclge_tm_pri_vnet_base_shaper_pri_cfg() 878 vport->vport_id, shaper_para); in hclge_tm_pri_vnet_base_shaper_pri_cfg() 1011 ret = hclge_tm_pri_weight_cfg(hdev, vport->vport_id, vport->dwrr); in hclge_tm_pri_vnet_base_dwrr_pri_cfg() 1140 if (vport->vport_id >= HNAE3_MAX_TC) in hclge_tm_schd_mode_vnet_base_cfg() 1143 ret = hclge_tm_pri_schd_mode_cfg(hdev, vport->vport_id); in hclge_tm_schd_mode_vnet_base_cfg()
|
| D | hclge_main.c | 1569 is_pf = !(vport->vport_id); in hclge_map_tqp_to_vport() 1570 ret = hclge_map_tqps_to_func(hdev, vport->vport_id, q->index, in hclge_map_tqp_to_vport() 1651 vport->vport_id = i; in hclge_alloc_vport() 3241 ret = hclge_set_vf_rst(hdev, vport->vport_id, reset); in hclge_set_all_vf_rst() 3245 vport->vport_id, ret); in hclge_set_all_vf_rst() 3260 vport->vport_id, ret); in hclge_set_all_vf_rst() 3950 vport->vport_id * in hclge_get_vector() 3952 hdev->vector_status[i] = vport->vport_id; in hclge_get_vector() 4521 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector() 4541 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector() [all …]
|
| D | hclge_mbx.c | 93 dest_vfid = (u8)vport->vport_id; in hclge_inform_reset_assert_to_vf() 212 hclge_promisc_param_init(¶m, false, false, en_bc, vport->vport_id); in hclge_set_vf_promisc_mode() 493 vport->vport_id); in hclge_reset_vf() 495 ret = hclge_func_reset_cmd(hdev, vport->vport_id); in hclge_reset_vf()
|
| D | hclge_main.h | 912 u16 vport_id; member 927 bool en_mc, bool en_bc, int vport_id);
|
| D | hclge_dcb.c | 462 vport->vport_id != 0) in hclge_dcb_ops_set()
|
| /Linux-v5.4/drivers/scsi/qla2xxx/ |
| D | tcm_qla2xxx.c | 1680 struct fc_vport_identifiers vport_id; in tcm_qla2xxx_lport_register_npiv_cb() local 1693 memset(&vport_id, 0, sizeof(vport_id)); in tcm_qla2xxx_lport_register_npiv_cb() 1694 vport_id.port_name = npiv_wwpn; in tcm_qla2xxx_lport_register_npiv_cb() 1695 vport_id.node_name = npiv_wwnn; in tcm_qla2xxx_lport_register_npiv_cb() 1696 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in tcm_qla2xxx_lport_register_npiv_cb() 1697 vport_id.vport_type = FC_PORTTYPE_NPIV; in tcm_qla2xxx_lport_register_npiv_cb() 1698 vport_id.disable = false; in tcm_qla2xxx_lport_register_npiv_cb() 1700 vport = fc_vport_create(sh, 0, &vport_id); in tcm_qla2xxx_lport_register_npiv_cb()
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
| D | qlcnic_83xx_hw.h | 177 u8 vport_id; member 182 u8 vport_id;
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | dr_cmd.c | 174 u32 vport_id) in mlx5dr_cmd_set_fte_modify_and_vport() argument 205 MLX5_SET(dest_format_struct, in_dests, destination_id, vport_id); in mlx5dr_cmd_set_fte_modify_and_vport()
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qede/ |
| D | qede_main.c | 195 vport_params->vport_id = 0; in qede_sriov_configure() 1903 vport_update_params->vport_id = 0; in qede_stop_queues() 2055 start.vport_id = 0; in qede_start_queues() 2069 start.vport_id, edev->ndev->mtu + 0xe, vlan_removal_en); in qede_start_queues() 2084 q_params.vport_id = 0; in qede_start_queues() 2139 vport_update_params->vport_id = start.vport_id; in qede_start_queues()
|
| /Linux-v5.4/drivers/scsi/lpfc/ |
| D | lpfc_hbadisc.c | 3712 struct fc_vport_identifiers vport_id; in lpfc_create_static_vport() local 3806 memset(&vport_id, 0, sizeof(vport_id)); in lpfc_create_static_vport() 3807 vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn); in lpfc_create_static_vport() 3808 vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn); in lpfc_create_static_vport() 3809 if (!vport_id.port_name || !vport_id.node_name) in lpfc_create_static_vport() 3812 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in lpfc_create_static_vport() 3813 vport_id.vport_type = FC_PORTTYPE_NPIV; in lpfc_create_static_vport() 3814 vport_id.disable = false; in lpfc_create_static_vport() 3815 new_fc_vport = fc_vport_create(shost, 0, &vport_id); in lpfc_create_static_vport()
|
| /Linux-v5.4/include/scsi/ |
| D | scsi_transport_fc.h | 228 u32 vport_id; /* Admin Identifier for the vport */ member
|