/kernel/linux/linux-5.10/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() 238 rc = efx_ef10_vadaptor_alloc(efx, efx->vport_id); in efx_ef10_vadaptor_alloc_set_features() 242 rc = efx_ef10_vadaptor_query(efx, efx->vport_id, in efx_ef10_vadaptor_alloc_set_features() 283 EFX_EF10_NO_VLAN, &efx->vport_id); in efx_ef10_vswitching_probe_pf() [all …]
|
D | ef10_sriov.h | 24 unsigned int vport_id; member
|
D | rx_common.c | 679 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()
|
D | filter.h | 160 u32 vport_id; member
|
D | mcdi_functions.c | 183 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()
|
D | ef10.c | 1390 efx->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_table_reset_mc_allocations() 1394 nic_data->vf[i].vport_id = 0; in efx_ef10_table_reset_mc_allocations() 3202 rc = efx_ef10_vadaptor_free(efx, efx->vport_id); in efx_ef10_vport_set_mac_address() 3207 rc = efx_ef10_vport_del_mac(efx, efx->vport_id, in efx_ef10_vport_set_mac_address() 3212 rc = efx_ef10_vport_add_mac(efx, efx->vport_id, in efx_ef10_vport_set_mac_address() 3217 rc2 = efx_ef10_vport_add_mac(efx, efx->vport_id, mac_old); in efx_ef10_vport_set_mac_address() 3226 rc2 = efx_ef10_vadaptor_alloc(efx, efx->vport_id); in efx_ef10_vport_set_mac_address() 3292 efx->vport_id); in efx_ef10_set_mac_address()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_l2.c | 209 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() 419 return qed_vf_pf_vport_start(p_hwfn, p_params->vport_id, in qed_sp_vport_start() 675 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id); in qed_sp_vport_update() 695 p_cmn->vport_id = abs_vport_id; in qed_sp_vport_update() 743 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 | 140 u8 vport_id; member 174 u8 vport_id; member 219 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id); 297 u8 vport_id; member
|
D | qed_sriov.c | 451 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 …]
|
D | qed_vf.h | 334 u8 vport_id; member 962 u8 vport_id, 1156 u8 vport_id, in qed_vf_pf_vport_start() argument
|
D | qed_sriov.h | 184 u8 vport_id; member
|
D | qed_hsi.h | 267 u8 vport_id; member 349 u8 vport_id; member 933 u8 vport_id; member 2660 u8 vport_id; member 5439 u8 vport_id; member 5702 u8 vport_id; member 5708 u8 vport_id; member 5719 u8 vport_id; member 5749 u8 vport_id; member 5758 u8 vport_id; member [all …]
|
D | qed_vf.c | 936 u8 vport_id, in qed_vf_pf_vport_start() argument 951 req->vport_id = vport_id; in qed_vf_pf_vport_start()
|
D | qed_dev.c | 1659 qm_info->qm_pq_params[pq_idx].vport_id = qm_info->start_vport + in qed_init_qm_pq() 2037 pq->vport_id, in qed_dp_init_qm_params() 4982 u16 vport_id, u32 req_rate, u32 min_pf_rate) in qed_init_wfq_param() argument 4993 if ((i != vport_id) && in qed_init_wfq_param() 5009 vport_id, req_rate, min_pf_rate); in qed_init_wfq_param() 5037 p_hwfn->qm_info.wfq_data[vport_id].min_speed = req_rate; in qed_init_wfq_param() 5038 p_hwfn->qm_info.wfq_data[vport_id].configured = true; in qed_init_wfq_param()
|
/kernel/linux/linux-5.10/include/linux/qed/ |
D | qed_eth_if.h | 22 u8 vport_id; member 67 u8 vport_id; member 101 u8 vport_id; member 117 u8 vport_id; member 292 u8 vport_id);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.c | 550 vport->vport_id, shap_cfg_cmd->qs_id, in hclge_tm_qs_shaper_cfg() 569 kinfo->num_tc = vport->vport_id ? 1 : in hclge_tm_vport_tc_info_update() 571 vport->qs_offset = (vport->vport_id ? HNAE3_MAX_TC : 0) + in hclge_tm_vport_tc_info_update() 572 (vport->vport_id ? (vport->vport_id - 1) : 0); in hclge_tm_vport_tc_info_update() 936 vport->vport_id, shaper_para); in hclge_tm_pri_vnet_base_shaper_pri_cfg() 945 vport->vport_id, shaper_para); in hclge_tm_pri_vnet_base_shaper_pri_cfg() 1071 ret = hclge_tm_pri_weight_cfg(hdev, vport->vport_id, vport->dwrr); in hclge_tm_pri_vnet_base_dwrr_pri_cfg() 1200 if (vport->vport_id >= HNAE3_MAX_TC) in hclge_tm_schd_mode_vnet_base_cfg() 1203 ret = hclge_tm_pri_schd_mode_cfg(hdev, vport->vport_id); in hclge_tm_schd_mode_vnet_base_cfg()
|
D | hclge_main.c | 1699 is_pf = !(vport->vport_id); in hclge_map_tqp_to_vport() 1700 ret = hclge_map_tqps_to_func(hdev, vport->vport_id, q->index, in hclge_map_tqp_to_vport() 1781 vport->vport_id = i; in hclge_alloc_vport() 3417 ret = hclge_set_vf_rst(hdev, vport->vport_id, reset); in hclge_set_all_vf_rst() 3421 vport->vport_id, ret); in hclge_set_all_vf_rst() 3436 vport->vport_id, ret); in hclge_set_all_vf_rst() 4147 vport->vport_id * in hclge_get_vector() 4149 hdev->vector_status[i] = vport->vport_id; in hclge_get_vector() 4735 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector() 4755 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector() [all …]
|
D | hclge_mbx.c | 131 dest_vfid = (u8)vport->vport_id; in hclge_inform_reset_assert_to_vf() 271 u8 dest_vfid = (u8)vport->vport_id; in hclge_inform_vf_promisc_info() 567 vport->vport_id); in hclge_reset_vf() 569 return hclge_func_reset_cmd(hdev, vport->vport_id); in hclge_reset_vf()
|
D | hclge_debugfs.c | 1413 int vport_id, i; in hclge_dbg_dump_qs_shaper_all() local 1415 for (vport_id = 0; vport_id <= pci_num_vf(hdev->pdev); vport_id++) { in hclge_dbg_dump_qs_shaper_all() 1416 vport = &hdev->vport[vport_id]; in hclge_dbg_dump_qs_shaper_all() 1419 dev_info(&hdev->pdev->dev, "qs cfg of vport%d:\n", vport_id); in hclge_dbg_dump_qs_shaper_all()
|
D | hclge_dcb.c | 467 vport->vport_id != 0) in hclge_dcb_ops_set()
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 1706 struct fc_vport_identifiers vport_id; in tcm_qla2xxx_lport_register_npiv_cb() local 1719 memset(&vport_id, 0, sizeof(vport_id)); in tcm_qla2xxx_lport_register_npiv_cb() 1720 vport_id.port_name = npiv_wwpn; in tcm_qla2xxx_lport_register_npiv_cb() 1721 vport_id.node_name = npiv_wwnn; in tcm_qla2xxx_lport_register_npiv_cb() 1722 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in tcm_qla2xxx_lport_register_npiv_cb() 1723 vport_id.vport_type = FC_PORTTYPE_NPIV; in tcm_qla2xxx_lport_register_npiv_cb() 1724 vport_id.disable = false; in tcm_qla2xxx_lport_register_npiv_cb() 1726 vport = fc_vport_create(sh, 0, &vport_id); in tcm_qla2xxx_lport_register_npiv_cb()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_83xx_hw.h | 176 u8 vport_id; member 181 u8 vport_id;
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 174 vport_params->vport_id = 0; in qede_sriov_configure() 2008 vport_update_params->vport_id = 0; in qede_stop_queues() 2160 start.vport_id = 0; in qede_start_queues() 2174 start.vport_id, edev->ndev->mtu + 0xe, vlan_removal_en); in qede_start_queues() 2189 q_params.vport_id = 0; in qede_start_queues() 2240 vport_update_params->vport_id = start.vport_id; in qede_start_queues()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_cmd.c | 179 u32 vport_id) in mlx5dr_cmd_set_fte_modify_and_vport() argument 210 MLX5_SET(dest_format_struct, in_dests, destination_id, vport_id); in mlx5dr_cmd_set_fte_modify_and_vport()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_hbadisc.c | 3776 struct fc_vport_identifiers vport_id; in lpfc_create_static_vport() local 3871 memset(&vport_id, 0, sizeof(vport_id)); in lpfc_create_static_vport() 3872 vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn); in lpfc_create_static_vport() 3873 vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn); in lpfc_create_static_vport() 3874 if (!vport_id.port_name || !vport_id.node_name) in lpfc_create_static_vport() 3877 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in lpfc_create_static_vport() 3878 vport_id.vport_type = FC_PORTTYPE_NPIV; in lpfc_create_static_vport() 3879 vport_id.disable = false; in lpfc_create_static_vport() 3880 new_fc_vport = fc_vport_create(shost, 0, &vport_id); in lpfc_create_static_vport()
|