/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ef10_sriov.c | 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() 280 EFX_EF10_NO_VLAN, &efx->vport_id); in efx_ef10_vswitching_probe_pf() 298 efx_ef10_vport_free(efx, efx->vport_id); in efx_ef10_vswitching_probe_pf() 299 efx->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_vswitching_probe_pf() 365 efx->vport_id = EVB_PORT_ID_ASSIGNED; in efx_ef10_vswitching_remove_pf() 604 if (vf->vport_id) { in efx_ef10_sriov_set_vf_vlan() 608 vf->vport_id = 0; in efx_ef10_sriov_set_vf_vlan() [all …]
|
H A D | filter.h | 159 u32 vport_id; member 322 u32 vport_id) in efx_filter_set_vport_id() argument 325 spec->vport_id = vport_id; in efx_filter_set_vport_id()
|
H A D | ef10_sriov.h | 24 unsigned int vport_id; member
|
H A D | rx_common.c | 666 return memcmp(&left->vport_id, &right->vport_id, in efx_filter_spec_equal() 668 offsetof(struct efx_filter_spec, vport_id)) == 0; in efx_filter_spec_equal() 673 BUILD_BUG_ON(offsetof(struct efx_filter_spec, vport_id) & 3); in efx_filter_spec_hash() 674 return jhash2((const u32 *)&spec->vport_id, in efx_filter_spec_hash() 676 offsetof(struct efx_filter_spec, vport_id)) / 4, in efx_filter_spec_hash()
|
H A 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()
|
H A D | mcdi_filters.c | 225 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_PORT_ID, spec->vport_id); in efx_mcdi_filter_push_prep() 227 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_PORT_ID, efx->vport_id); in efx_mcdi_filter_push_prep() 494 saved_spec->vport_id = spec->vport_id; in efx_mcdi_filter_insert_locked() 1960 efx->vport_id); in efx_mcdi_filter_alloc_rss_context()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/ |
H A D | qos_tracepoint.h | 17 __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,
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A 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() 696 p_cmn->vport_id = abs_vport_id; in qed_sp_vport_update() 871 p_ramrod->vport_id = p_cid->abs.vport_id; in qed_eth_rxq_start_ramrod() 996 p_ramrod->vport_id = p_cid->abs.vport_id; in qed_sp_eth_rx_queues_update() 1032 p_ramrod->vport_id = p_cid->abs.vport_id; in qed_eth_pf_rx_queue_stop() 1089 p_ramrod->vport_id = p_cid->abs.vport_id; in qed_eth_txq_start_ramrod() 2328 start.vport_id = params->vport_id; in qed_start_vport() [all …]
|
H A D | qed_l2.h | 140 u8 vport_id; member 173 u8 vport_id; member 217 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id); 320 u8 vport_id; member
|
H A D | qed_sriov.c | 453 vf->vport_id = idx + 1; in qed_iov_setup_vfdb() 1700 params.vport_id = p_vf->vport_id; in __qed_iov_spoofchk_set() 1831 vport_update.vport_id = p_vf->vport_id; in qed_iov_configure_vport_forced() 1952 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_vport() 2121 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_rxq() 2456 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_start_txq() 3053 params.vport_id = vf->vport_id; in qed_iov_vf_mbx_vport_update() 3287 params.vport_to_add_to = vf->vport_id; in qed_iov_vf_mbx_ucast_filter() 4393 u8 vport_id; in qed_iov_configure_min_tx_rate() local 4410 vport_id = vf->vport_id; in qed_iov_configure_min_tx_rate() [all …]
|
H A D | qed_vf.h | 334 u8 vport_id; member 988 u8 vport_id, 1193 u8 vport_id, in qed_vf_pf_vport_start() argument
|
H A D | qed_sriov.h | 184 u8 vport_id; member
|
H A D | qed_hsi.h | 304 u8 vport_id; member 386 u8 vport_id; member 967 u8 vport_id; member 3854 u8 vport_id; member 4095 u8 vport_id; member 4101 u8 vport_id; member 4136 u8 vport_id; member 4166 u8 vport_id; member 4175 u8 vport_id; member 4222 u8 vport_id; member [all …]
|
/openbmc/linux/include/linux/qed/ |
H A 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 281 u8 vport_id);
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_mbx.c | 132 dest_vfid = (u8)vport->vport_id; in hclge_inform_vf_reset() 277 req->vfid = vport->vport_id; in hclge_query_ring_vector_map() 596 HCLGE_MBX_LINK_STAT_CHANGE, vport->vport_id); in hclge_push_vf_link_status() 645 vport->vport_id - HCLGE_VF_VPORT_START_NUM, ret); in hclge_mbx_reset_vf_queue() 655 vport->vport_id - HCLGE_VF_VPORT_START_NUM); in hclge_reset_vf() 657 return hclge_func_reset_cmd(hdev, vport->vport_id); in hclge_reset_vf() 673 vport->vport_id - HCLGE_VF_VPORT_START_NUM); in hclge_notify_vf_config() 684 vport->vport_id, in hclge_notify_vf_config() 690 vport->vport_id - HCLGE_VF_VPORT_START_NUM); in hclge_notify_vf_config() 707 vport->vport_id - HCLGE_VF_VPORT_START_NUM); in hclge_vf_keep_alive()
|
H A D | hclge_main.c | 1808 vport->vport_id = i; in hclge_alloc_vport() 6454 *vport_id = vf ? hdev->vport[vf].vport_id : vport->vport_id; in hclge_fd_parse_ring_cookie() 8037 if (vport->vport_id) { in hclge_vport_start() 9083 vport->vport_id); in hclge_uninit_vport_mac_list() 9446 vport->vport_id); in hclge_set_vport_vlan_filter() 9471 if (vport->vport_id) { in hclge_need_enable_vport_vlan_filter() 9685 vport_id, vlan_id); in hclge_need_update_port_vlan() 9693 vport_id, vlan_id); in hclge_need_update_port_vlan() 9717 vport_id, ret); in hclge_set_vlan_filter_hw() 10089 vport->vport_id, in hclge_rm_vport_all_vlan_table() [all …]
|
H A D | hclge_tm.c | 626 vport->vport_id, shap_cfg_cmd->qs_id, in hclge_tm_qs_shaper_cfg() 685 if (vport->vport_id) { in hclge_tm_update_kinfo_rss_size() 689 vport->vport_id - HCLGE_VF_VPORT_START_NUM; in hclge_tm_update_kinfo_rss_size() 726 if (vport->vport_id == PF_VPORT_ID) in hclge_tm_vport_tc_info_update() 1106 vport->vport_id, shaper_para, in hclge_tm_pri_vnet_base_shaper_pri_cfg() 1116 vport->vport_id, shaper_para, in hclge_tm_pri_vnet_base_shaper_pri_cfg() 1249 ret = hclge_tm_pri_weight_cfg(hdev, vport->vport_id, vport->dwrr); in hclge_tm_pri_vnet_base_dwrr_pri_cfg() 1413 if (vport->vport_id >= HNAE3_MAX_TC) in hclge_tm_schd_mode_vnet_base_cfg() 1416 ret = hclge_tm_pri_schd_mode_cfg(hdev, vport->vport_id); in hclge_tm_schd_mode_vnet_base_cfg()
|
/openbmc/linux/include/linux/net/intel/ |
H A D | iidc.h | 46 u16 vport_id; /* VSI index */ member
|
/openbmc/linux/drivers/scsi/elx/efct/ |
H A D | efct_lio.c | 771 struct fc_vport_identifiers vport_id; in efct_lio_npiv_make_nport() local 819 memset(&vport_id, 0, sizeof(vport_id)); in efct_lio_npiv_make_nport() 820 vport_id.port_name = npiv_wwpn; in efct_lio_npiv_make_nport() 821 vport_id.node_name = npiv_wwnn; in efct_lio_npiv_make_nport() 822 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in efct_lio_npiv_make_nport() 823 vport_id.vport_type = FC_PORTTYPE_NPIV; in efct_lio_npiv_make_nport() 824 vport_id.disable = false; in efct_lio_npiv_make_nport() 826 new_fc_vport = fc_vport_create(efct->shost, 0, &vport_id); in efct_lio_npiv_make_nport()
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | tcm_qla2xxx.c | 1658 struct fc_vport_identifiers vport_id; in tcm_qla2xxx_lport_register_npiv_cb() local 1671 memset(&vport_id, 0, sizeof(vport_id)); in tcm_qla2xxx_lport_register_npiv_cb() 1672 vport_id.port_name = npiv_wwpn; in tcm_qla2xxx_lport_register_npiv_cb() 1673 vport_id.node_name = npiv_wwnn; in tcm_qla2xxx_lport_register_npiv_cb() 1674 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in tcm_qla2xxx_lport_register_npiv_cb() 1675 vport_id.vport_type = FC_PORTTYPE_NPIV; in tcm_qla2xxx_lport_register_npiv_cb() 1676 vport_id.disable = false; in tcm_qla2xxx_lport_register_npiv_cb() 1678 vport = fc_vport_create(sh, 0, &vport_id); in tcm_qla2xxx_lport_register_npiv_cb()
|
/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | main.c | 175 qset.vport_id = vsi->vsi_idx; in irdma_lan_register_qset() 202 qset.vport_id = vsi->vsi_idx; in irdma_lan_unregister_qset()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_83xx_hw.h | 176 u8 vport_id; member 181 u8 vport_id;
|
/openbmc/linux/include/linux/avf/ |
H A D | virtchnl.h | 721 u16 vport_id; member 839 u16 vport_id; member
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_main.c | 168 vport_params->vport_id = 0; in qede_sriov_configure() 2112 vport_update_params->vport_id = 0; in qede_stop_queues() 2264 start.vport_id = 0; in qede_start_queues() 2278 start.vport_id, edev->ndev->mtu + 0xe, vlan_removal_en); in qede_start_queues() 2293 q_params.vport_id = 0; in qede_start_queues() 2344 vport_update_params->vport_id = start.vport_id; in qede_start_queues()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_idc.c | 124 vsi = ice_find_vsi(pf, qset->vport_id); in ice_del_rdma_qset()
|