Searched refs:vport_id (Results 1 - 25 of 51) sorted by relevance

123

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
H A Dqos_tracepoint.h17 __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,
/linux-master/drivers/net/ethernet/intel/idpf/
H A Dvirtchnl2.h578 * @vport_id: Vport id. CP populates this field on response.
611 __le32 vport_id; member in struct:virtchnl2_create_vport
628 * @vport_id: Vport id.
632 * in the vport_id in virtchnl2_vport structure.
639 __le32 vport_id; member in struct:virtchnl2_vport
689 * @vport_id: Vport id.
703 __le32 vport_id; member in struct:virtchnl2_config_tx_queues
768 * @vport_id: Vport id.
782 __le32 vport_id; member in struct:virtchnl2_config_rx_queues
791 * @vport_id
808 __le32 vport_id; member in struct:virtchnl2_add_queues
911 __le32 vport_id; member in struct:virtchnl2_rss_lut
936 __le32 vport_id; member in struct:virtchnl2_rss_hash
1046 __le32 vport_id; member in struct:virtchnl2_vport_stats
1084 __le32 vport_id; member in struct:virtchnl2_event
1104 __le32 vport_id; member in struct:virtchnl2_rss_key
1153 __le32 vport_id; member in struct:virtchnl2_del_ena_dis_queues
1195 __le32 vport_id; member in struct:virtchnl2_queue_vector_maps
1215 __le32 vport_id; member in struct:virtchnl2_loopback
1247 __le32 vport_id; member in struct:virtchnl2_mac_addr_list
1266 __le32 vport_id; member in struct:virtchnl2_promisc_info
[all...]
H A Didpf_virtchnl.h61 u32 vport_id);
H A Didpf_virtchnl.c134 vport = idpf_vid_to_vport(adapter, le32_to_cpu(v2e->vport_id));
136 dev_err_ratelimited(&adapter->pdev->dev, "Failed to find vport_id %d for link event\n",
137 v2e->vport_id);
1360 v_id.vport_id = cpu_to_le32(vport->vport_id);
1384 v_id.vport_id = cpu_to_le32(vport->vport_id);
1408 v_id.vport_id = cpu_to_le32(vport->vport_id);
1518 ctq->vport_id
3664 idpf_set_promiscuous(struct idpf_adapter *adapter, struct idpf_vport_user_config_data *config_data, u32 vport_id) argument
[all...]
H A Didpf_lib.c738 np->vport_id = vport->vport_id;
755 np->vport_id = vport->vport_id;
1364 vport->vport_id, err);
1371 vport->vport_id, err);
1378 vport->vport_id, err);
1385 vport->vport_id, err);
1392 vport->vport_id, err);
1401 vport->vport_id, er
[all...]
H A Didpf.h145 * @vport_id: Vport identifier
154 u32 vport_id; member in struct:idpf_netdev_priv
280 * @vport_id: Device given vport identifier
323 u32 vport_id; member in struct:idpf_vport
/linux-master/drivers/net/ethernet/sfc/
H A Def10_sriov.c134 efx_ef10_vport_del_mac(efx, vf->vport_id, vf->mac);
138 if (vf->vport_id) {
139 efx_ef10_vport_free(efx, vf->vport_id);
140 vf->vport_id = 0;
168 vf->vlan, &vf->vport_id);
172 rc = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac);
178 rc = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i);
235 rc = efx_ef10_vadaptor_alloc(efx, efx->vport_id);
239 rc = efx_ef10_vadaptor_query(efx, efx->vport_id,
280 EFX_EF10_NO_VLAN, &efx->vport_id);
[all...]
H A Dfilter.h126 * @vport_id: Virtual port ID associated with RX queue, for adapter switching,
127 * if %EFX_FILTER_FLAG_VPORT_ID is set. This is an MCFW vport_id, or on
159 u32 vport_id; member in struct:efx_filter_spec
319 * @vport_id: firmware ID of the virtual port
322 u32 vport_id)
325 spec->vport_id = vport_id;
321 efx_filter_set_vport_id(struct efx_filter_spec *spec, u32 vport_id) argument
H A Def10_sriov.h16 * @vport_id: vport ID for the VF
24 unsigned int vport_id; member in struct:ef10_vf
H A Drx_common.c667 return memcmp(&left->vport_id, &right->vport_id,
669 offsetof(struct efx_filter_spec, vport_id)) == 0;
674 BUILD_BUG_ON(offsetof(struct efx_filter_spec, vport_id) & 3);
675 return jhash2((const u32 *)&spec->vport_id,
677 offsetof(struct efx_filter_spec, vport_id)) / 4,
H A Dmcdi_functions.c183 MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_PORT_ID, efx->vport_id);
306 MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_PORT_ID, efx->vport_id);
/linux-master/include/linux/net/intel/
H A Diidc.h46 u16 vport_id; /* VSI index */ member in struct:iidc_rdma_qset_params
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.h140 u8 vport_id; member in struct:qed_sp_vport_start_params
173 u8 vport_id; member in struct:qed_sp_vport_update_params
213 * @vport_id: VPort ID.
217 int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id);
320 u8 vport_id; member in struct:qed_queue_cid_params
H A Dqed_l2.c209 p_cid->rel.vport_id = p_params->vport_id;
235 rc = qed_fw_vport(p_hwfn, p_cid->rel.vport_id, &p_cid->abs.vport_id);
271 p_cid->rel.vport_id,
272 p_cid->abs.vport_id,
352 rc = qed_fw_vport(p_hwfn, p_params->vport_id, &abs_vport_id);
368 p_ramrod->vport_id = abs_vport_id;
420 return qed_vf_pf_vport_start(p_hwfn, p_params->vport_id,
676 rc = qed_fw_vport(p_hwfn, p_params->vport_id,
744 qed_sp_vport_stop(struct qed_hwfn *p_hwfn, u16 opaque_fid, u8 vport_id) argument
2355 qed_stop_vport(struct qed_dev *cdev, u8 vport_id) argument
[all...]
H A Dqed_sriov.c453 vf->vport_id = idx + 1;
1700 params.vport_id = p_vf->vport_id;
1729 filter.vport_to_add_to = p_vf->vport_id;
1787 filter.vport_to_add_to = p_vf->vport_id;
1814 filter.vport_to_add_to = p_vf->vport_id;
1831 vport_update.vport_id = p_vf->vport_id;
1952 params.vport_id = vf->vport_id;
4393 u8 vport_id; local
[all...]
H A Dqed_vf.h334 u8 vport_id; member in struct:vfpf_vport_start_tlv
978 * @vport_id: Vport ID.
988 u8 vport_id,
1193 u8 vport_id,
1192 qed_vf_pf_vport_start(struct qed_hwfn *p_hwfn, u8 vport_id, u16 mtu, u8 inner_vlan_removal, enum qed_tpa_mode tpa_mode, u8 max_buffers_per_cqe, u8 only_untagged) argument
H A Dqed_sriov.h184 u8 vport_id; member in struct:qed_vf_info
/linux-master/include/linux/qed/
H A Dqed_eth_if.h22 u8 vport_id; member in struct:qed_queue_start_common_params
67 u8 vport_id; member in struct:qed_ntuple_filter_params
101 u8 vport_id; member in struct:qed_update_vport_params
117 u8 vport_id; member in struct:qed_start_vport_params
281 u8 vport_id);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c132 dest_vfid = (u8)vport->vport_id;
277 req->vfid = vport->vport_id;
596 HCLGE_MBX_LINK_STAT_CHANGE, vport->vport_id);
645 vport->vport_id - HCLGE_VF_VPORT_START_NUM, ret);
655 vport->vport_id - HCLGE_VF_VPORT_START_NUM);
657 return hclge_func_reset_cmd(hdev, vport->vport_id);
673 vport->vport_id - HCLGE_VF_VPORT_START_NUM);
684 vport->vport_id,
690 vport->vport_id - HCLGE_VF_VPORT_START_NUM);
707 vport->vport_id
[all...]
H A Dhclge_main.c1732 is_pf = !(vport->vport_id);
1733 ret = hclge_map_tqps_to_func(hdev, vport->vport_id, q->index,
1815 vport->vport_id = i;
3831 ret = hclge_set_vf_rst(hdev, vport->vport_id, reset);
3835 vport->vport_id - HCLGE_VF_VPORT_START_NUM,
3859 vport->vport_id - HCLGE_VF_VPORT_START_NUM,
4689 hdev->vector_status[idx] = hdev->vport[0].vport_id;
4942 req->vfid = vport->vport_id;
4969 req->vfid = vport->vport_id;
5072 return hclge_cmd_set_promisc_mode(vport->back, vport->vport_id,
6422 hclge_fd_parse_ring_cookie(struct hclge_dev *hdev, u64 ring_cookie, u16 *vport_id, u8 *action, u16 *queue_id) argument
9665 hclge_need_update_port_vlan(struct hclge_dev *hdev, u16 vport_id, u16 vlan_id, bool is_kill) argument
9691 hclge_set_vlan_filter_hw(struct hclge_dev *hdev, __be16 proto, u16 vport_id, u16 vlan_id, bool is_kill) argument
[all...]
H A Dhclge_tm.c626 vport->vport_id, shap_cfg_cmd->qs_id,
683 * one tc for VF for simplicity. VF's vport_id is non zero.
685 if (vport->vport_id) {
689 vport->vport_id - HCLGE_VF_VPORT_START_NUM;
726 if (vport->vport_id == PF_VPORT_ID)
1106 vport->vport_id, shaper_para,
1116 vport->vport_id, shaper_para,
1249 ret = hclge_tm_pri_weight_cfg(hdev, vport->vport_id, vport->dwrr);
1413 if (vport->vport_id >= HNAE3_MAX_TC)
1416 ret = hclge_tm_pri_schd_mode_cfg(hdev, vport->vport_id);
[all...]
/linux-master/drivers/scsi/elx/efct/
H A Defct_lio.c771 struct fc_vport_identifiers vport_id; local
819 memset(&vport_id, 0, sizeof(vport_id));
820 vport_id.port_name = npiv_wwpn;
821 vport_id.node_name = npiv_wwnn;
822 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR;
823 vport_id.vport_type = FC_PORTTYPE_NPIV;
824 vport_id.disable = false;
826 new_fc_vport = fc_vport_create(efct->shost, 0, &vport_id);
/linux-master/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c1658 struct fc_vport_identifiers vport_id; local
1671 memset(&vport_id, 0, sizeof(vport_id));
1672 vport_id.port_name = npiv_wwpn;
1673 vport_id.node_name = npiv_wwnn;
1674 vport_id.roles = FC_PORT_ROLE_FCP_INITIATOR;
1675 vport_id.vport_type = FC_PORTTYPE_NPIV;
1676 vport_id.disable = false;
1678 vport = fc_vport_create(sh, 0, &vport_id);
/linux-master/drivers/infiniband/hw/irdma/
H A Dmain.c175 qset.vport_id = vsi->vsi_idx;
202 qset.vport_id = vsi->vsi_idx;
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.h163 * @vport_id: virtual port id
176 u8 vport_id; member in struct:qlcnic_rcv_mbx_out
181 u8 vport_id;

Completed in 505 milliseconds

123