Home
last modified time | relevance | path

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

123

/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.h144 u32 vport_id; member
152 u32 vport_id, u32 num);
162 u32 vport_id);
168 int idpf_send_destroy_vport_msg(struct idpf_adapter *adapter, u32 vport_id);
169 int idpf_send_enable_vport_msg(struct idpf_adapter *adapter, u32 vport_id);
170 int idpf_send_disable_vport_msg(struct idpf_adapter *adapter, u32 vport_id);
181 u32 vport_id);
184 u32 vport_id);
195 u32 vport_id,
200 const u8 *default_mac_addr, u32 vport_id,
[all …]
H A Dvirtchnl2.h677 __le32 vport_id; member
709 __le32 vport_id; member
773 __le32 vport_id; member
852 __le32 vport_id; member
878 __le32 vport_id; member
981 __le32 vport_id; member
1006 __le32 vport_id; member
1116 __le32 vport_id; member
1154 __le32 vport_id; member
1174 __le32 vport_id; member
[all …]
H A Didpf_virtchnl.c56 vport = idpf_vid_to_vport(adapter, le32_to_cpu(v2e->vport_id)); in idpf_handle_event_link()
59 v2e->vport_id); in idpf_handle_event_link()
726 u32 (*prepare_msg)(u32 vport_id, void *buf,
736 u32 vport_id; member
741 u32 vport_id, u32 num) in idpf_alloc_queue_set() argument
751 qp->vport_id = vport_id; in idpf_alloc_queue_set()
778 u32 vid = params->vport_id; in idpf_send_chunked_msg()
863 vport->vport_id, vport->num_txq); in idpf_wait_for_marker_event()
1673 int idpf_send_destroy_vport_msg(struct idpf_adapter *adapter, u32 vport_id) in idpf_send_destroy_vport_msg() argument
1679 v_id.vport_id = cpu_to_le32(vport_id); in idpf_send_destroy_vport_msg()
[all …]
H A Didpf_lib.c548 np->vport_id, false, async); in idpf_del_mac_filter()
619 np->vport_id, true, async); in idpf_add_mac_filter()
668 vport->default_mac_addr, vport->vport_id, in idpf_restore_mac_filters()
693 vport->default_mac_addr, vport->vport_id, in idpf_remove_mac_filters()
847 np->vport_id = vport->vport_id; in idpf_cfg_netdev()
865 np->vport_id = vport->vport_id; in idpf_cfg_netdev()
985 u32 vport_id = vport->vport_id; in idpf_vport_stop() local
998 idpf_send_disable_vport_msg(adapter, vport_id); in idpf_vport_stop()
1000 idpf_send_map_unmap_queue_vector_msg(adapter, rsrc, vport_id, false); in idpf_vport_stop()
1007 idpf_send_delete_queues_msg(adapter, chunks, vport_id); in idpf_vport_stop()
[all …]
H A Didpf_virtchnl_ptp.c360 send_tx_tstamp_caps.vport_id = cpu_to_le32(vport->vport_id); in idpf_ptp_get_vport_tstamps_caps()
555 u32 vport_id; in idpf_ptp_get_tx_tstamp_async_handler() local
559 vport_id = le32_to_cpu(recv_tx_tstamp_msg->vport_id); in idpf_ptp_get_tx_tstamp_async_handler()
565 if (vport->vport_id == vport_id) { in idpf_ptp_get_tx_tstamp_async_handler()
663 send_tx_tstamp_msg->vport_id = cpu_to_le32(vport->vport_id); in idpf_ptp_get_tx_tstamp()
H A Didpf_idc.c130 vdev_info->vport_id = vport->vport_id; in idpf_idc_init_aux_vport_dev()
/linux/drivers/net/ethernet/sfc/
H A Def10_sriov.c134 efx_ef10_vport_del_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_free_vf_vports()
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()
172 rc = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_assign_vf_vport()
178 rc = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_assign_vf_vport()
234 rc = efx_ef10_vadaptor_alloc(efx, efx->vport_id); in efx_ef10_vadaptor_alloc_set_features()
238 rc = efx_ef10_vadaptor_query(efx, efx->vport_id, in efx_ef10_vadaptor_alloc_set_features()
279 EFX_EF10_NO_VLAN, &efx->vport_id); in efx_ef10_vswitching_probe_pf()
[all …]
H A Dfilter.h159 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 Drx_common.c621 return memcmp(&left->vport_id, &right->vport_id, in efx_filter_spec_equal()
623 offsetof(struct efx_filter_spec, vport_id)) == 0; in efx_filter_spec_equal()
628 BUILD_BUG_ON(offsetof(struct efx_filter_spec, vport_id) & 3); in efx_filter_spec_hash()
629 return jhash2((const u32 *)&spec->vport_id, in efx_filter_spec_hash()
631 offsetof(struct efx_filter_spec, vport_id)) / 4, in efx_filter_spec_hash()
H A Def10_sriov.h24 unsigned int vport_id; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
H A Dqos_tracepoint.h18 __field(unsigned short, vport_id)
22 __entry->vport_id = vport->vport;
26 __get_str(devname), __entry->vport_id, __entry->sched_elem_ix
35 __field(unsigned short, vport_id)
42 __entry->vport_id = vport->vport;
49 __get_str(devname), __entry->vport_id, __entry->sched_elem_ix,
/linux/drivers/infiniband/hw/irdma/
H A Dvirtchnl.h89 u16 vport_id; member
172 int irdma_vchnl_req_add_vport(struct irdma_sc_dev *dev, u16 vport_id,
174 int irdma_vchnl_req_del_vport(struct irdma_sc_dev *dev, u16 vport_id,
H A Dmain.c86 iwdev->vport_id = idc_adev->vdev_info->vport_id; in ig3rdma_vport_probe()
110 rf->rdma_ver, idc_adev->vdev_info->vport_id, in ig3rdma_vport_probe()
H A Dvirtchnl.c322 int irdma_vchnl_req_add_vport(struct irdma_sc_dev *dev, u16 vport_id, in irdma_vchnl_req_add_vport() argument
335 req_vport.vport_id = vport_id; in irdma_vchnl_req_add_vport()
354 int irdma_vchnl_req_del_vport(struct irdma_sc_dev *dev, u16 vport_id, u32 qp1_id) in irdma_vchnl_req_del_vport() argument
364 req_vport.vport_id = vport_id; in irdma_vchnl_req_del_vport()
H A Dicrdma_if.c121 qset.vport_id = vsi->vsi_idx; in icrdma_lan_register_qset()
148 qset.vport_id = vsi->vsi_idx; in icrdma_lan_unregister_qset()
222 rf->default_vsi.vsi_idx = idc_priv->vport_id; in icrdma_fill_device_info()
233 iwdev->vsi_num = idc_priv->vport_id; in icrdma_fill_device_info()
/linux/include/linux/qed/
H A Dqed_eth_if.h22 u8 vport_id; member
67 u8 vport_id; member
101 u8 vport_id; member
117 u8 vport_id; member
281 u8 vport_id);
/linux/include/linux/net/intel/
H A Diidc_rdma_ice.h26 u16 vport_id; member
51 u16 vport_id; member
H A Diidc_rdma_idpf.h14 u16 vport_id; member
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.h140 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 Dqed_sriov.c453 vf->vport_id = idx + 1; in qed_iov_setup_vfdb()
1700 params.vport_id = p_vf->vport_id; in __qed_iov_spoofchk_set()
1729 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_reconfigure_unicast_vlan()
1787 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced()
1814 filter.vport_to_add_to = p_vf->vport_id; in qed_iov_configure_vport_forced()
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()
1996 rc = qed_sp_vport_stop(p_hwfn, vf->opaque_fid, vf->vport_id); in qed_iov_vf_mbx_stop_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()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c132 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 Dhclge_main.c1771 is_pf = !(vport->vport_id); in hclge_map_tqp_to_vport()
1772 ret = hclge_map_tqps_to_func(hdev, vport->vport_id, q->index, in hclge_map_tqp_to_vport()
1855 vport->vport_id = i; in hclge_alloc_vport()
3900 ret = hclge_set_vf_rst(hdev, vport->vport_id, reset); in hclge_set_all_vf_rst()
3904 vport->vport_id - HCLGE_VF_VPORT_START_NUM, in hclge_set_all_vf_rst()
3928 vport->vport_id - HCLGE_VF_VPORT_START_NUM, in hclge_set_all_vf_rst()
4772 hdev->vector_status[idx] = hdev->vport[0].vport_id; in hclge_get_vector_info()
5025 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector()
5052 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector()
5155 return hclge_cmd_set_promisc_mode(vport->back, vport->vport_id, in hclge_set_vport_promisc_mode()
[all …]
/linux/drivers/scsi/elx/efct/
H A Defct_lio.c771 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()
/linux/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c1676 struct fc_vport_identifiers vport_id; in tcm_qla2xxx_lport_register_npiv_cb() local
1689 memset(&vport_id, 0, sizeof(vport_id)); in tcm_qla2xxx_lport_register_npiv_cb()
1690 vport_id.port_name = npiv_wwpn; in tcm_qla2xxx_lport_register_npiv_cb()
1691 vport_id.node_name = npiv_wwnn; in tcm_qla2xxx_lport_register_npiv_cb()
1692 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR; in tcm_qla2xxx_lport_register_npiv_cb()
1693 vport_id.vport_type = FC_PORTTYPE_NPIV; in tcm_qla2xxx_lport_register_npiv_cb()
1694 vport_id.disable = false; in tcm_qla2xxx_lport_register_npiv_cb()
1696 vport = fc_vport_create(sh, 0, &vport_id); in tcm_qla2xxx_lport_register_npiv_cb()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_idc.c141 vsi = ice_find_vsi(pf, qset->vport_id); in ice_del_rdma_qset()
386 privd->vport_id = pf->vsi[0]->vsi_num; in ice_rdma_finalize_setup()

123