Searched refs:vf_id (Results 26 - 50 of 132) sorted by relevance

123456

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c333 * @vf_id: The VF id.
337 int vf_id,
344 if (WARN_ON(vf_id < 0 || vf_id >= sriov->num_vfs))
347 vfs_ctx = &sriov->vfs_ctx[vf_id];
357 * @vf_id: The VF id.
363 int vf_id,
370 if (vf_id < 0 || vf_id >= sriov->num_vfs)
373 vfs_ctx = &sriov->vfs_ctx[vf_id];
336 mlx5_sriov_blocking_notifier_unregister(struct mlx5_core_dev *mdev, int vf_id, struct notifier_block *nb) argument
362 mlx5_sriov_blocking_notifier_register(struct mlx5_core_dev *mdev, int vf_id, struct notifier_block *nb) argument
[all...]
/linux-master/drivers/net/ethernet/cavium/thunder/
H A Dnic_main.c165 mbx.nic_cfg.vf_id = vf;
236 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]);
237 lmac = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]);
240 mbx.bgx_stats.vf_id = bgx->vf_id;
249 nic_send_msg_to_vf(nic, bgx->vf_id, &mbx);
480 vnic = cfg->vf_id;
504 qset = cfg->vf_id;
545 nic->cpi_base[cfg->vf_id] = cpi_base;
546 nic->rssi_base[cfg->vf_id]
[all...]
H A Dnicvf_main.c145 (mbx->msg.msg & 0xFF), nic->vf_id);
155 (mbx->msg.msg & 0xFF), nic->vf_id);
220 nic->vf_id = mbx.nic_cfg.vf_id & 0x7F;
306 mbx.mac.vf_id = nic->vf_id;
317 mbx.cpi_cfg.vf_id = nic->vf_id;
329 mbx.rss_size.vf_id = nic->vf_id;
[all...]
/linux-master/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_mbox.c60 static void dump_mbox_msg(struct otx_cpt_mbox *mbox_msg, int vf_id) argument
66 if (vf_id >= 0)
68 get_mbox_opcode_str(mbox_msg->msg), vf_id,
H A Dotx_cptpf_mbox.c59 static void dump_mbox_msg(struct otx_cpt_mbox *mbox_msg, int vf_id) argument
65 if (vf_id >= 0)
67 get_mbox_opcode_str(mbox_msg->msg), vf_id,
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_client.c16 u32 vf_id, u8 *msg, u16 len);
28 bool is_vf, u32 vf_id,
75 * @vf_id: the absolute VF id that sent the message
82 i40e_notify_client_of_vf_msg(struct i40e_vsi *vsi, u32 vf_id, u8 *msg, u16 len) argument
99 vf_id, msg, len);
189 * @vf_id: asolute id of VF being reset
193 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) argument
208 cdev->client->ops->vf_reset(&cdev->lan_info, cdev->client, vf_id);
240 * @vf_id: the VF in question
245 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) argument
535 i40e_client_virtchnl_send(struct i40e_info *ldev, struct i40e_client *client, u32 vf_id, u8 *msg, u16 len) argument
663 i40e_client_update_vsi_ctxt(struct i40e_info *ldev, struct i40e_client *client, bool is_vf, u32 vf_id, u32 flag, u32 valid_flag) argument
[all...]
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf.h17 int vf_id; member in struct:otx2_cptvf_info
H A Dotx2_cptvf_mbox.c93 cptvf->vf_id = ((msg->pcifunc >> RVU_PFVF_FUNC_SHIFT)
191 req->hdr.pcifunc = OTX2_CPT_RVU_PFFUNC(cptvf->vf_id, 0);
212 req->pcifunc = OTX2_CPT_RVU_PFFUNC(cptvf->vf_id, 0);
232 req->pcifunc = OTX2_CPT_RVU_PFFUNC(cptvf->vf_id, 0);
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.h94 int hinic_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link);
H A Dhinic_hw_mbox.c340 u16 vf_id = 0; local
355 vf_id = src_func_idx -
357 ret = cb(func_to_func->hwdev, vf_id, recv_mbox->cmd,
1085 enum hinic_mod_type mod, u16 vf_id, u8 cmd, void *buf_in,
1106 if (!vf_id) {
1108 "VF id(%d) error!\n", vf_id);
1112 /* vf_offset_to_pf + vf_id is the vf's global function id of vf in
1115 dst_func_idx = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id;
1235 u16 vf_id, u8 cmd, void *buf_in,
1238 u16 src_idx = vf_id
1084 hinic_mbox_to_vf(struct hinic_hwdev *hwdev, enum hinic_mod_type mod, u16 vf_id, u8 cmd, void *buf_in, u16 in_size, void *buf_out, u16 *out_size, u32 timeout) argument
1233 hinic_mbox_check_cmd_valid(struct hinic_hwdev *hwdev, struct vf_cmd_check_handle *cmd_handle, u16 vf_id, u8 cmd, void *buf_in, u16 in_size, u8 size) argument
1364 comm_pf_mbox_handler(void *handle, u16 vf_id, u8 cmd, void *buf_in, u16 in_size, void *buf_out, u16 *out_size) argument
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_repr.c153 int vf_id = np->repr->vf->vf_id; local
158 tx_ring = np->vsi->tx_rings[vf_id];
165 rx_ring = np->vsi->rx_rings[vf_id];
H A Dice_vf_lib.h90 u16 vf_id; /* VF ID in the PF space */ member in struct:ice_vf
183 * entries. It is *not* guaranteed to be the VF's vf_id. Do not assume it is.
184 * Use vf->vf_id to get the id number if needed.
199 * entries. It is *not* guaranteed to be the VF's vf_id. Do not assume it is.
200 * Use vf->vf_id to get the id number if needed.
210 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id);
230 static inline struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id) argument
H A Dice_virtchnl.c194 ice_aq_send_msg_to_vf(hw, vf->vf_id, v_opcode, v_retval, msg,
245 ice_aq_send_msg_to_vf(hw, vf->vf_id, VIRTCHNL_OP_EVENT,
305 aq_ret = ice_aq_send_msg_to_vf(&pf->hw, vf->vf_id, v_opcode, v_retval,
309 vf->vf_id, aq_ret,
777 vf->vf_id);
784 vf->vf_id);
798 vf->vf_id);
886 vf->vf_id, status);
1073 vf->vf_id);
1119 vf->vf_id, re
4015 s16 vf_id = le16_to_cpu(event->desc.retval); local
[all...]
/linux-master/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.h111 int vf_id; member in struct:hisi_acc_vf_core_device
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.h127 u8 vf_id; /* ME register value */ member in struct:vfpf_acquire_tlv::vf_pf_vfdev_info
355 u16 vf_id; /* for debug */ member in struct:vfpf_close_tlv
362 u16 vf_id; member in struct:vfpf_release_tlv
H A Dbnx2x_vfpf.c194 static int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) argument
218 *vf_id = (me_reg & ME_REG_VF_NUM_MASK) >> ME_REG_VF_NUM_SHIFT;
230 u32 vf_id; local
236 if (bnx2x_get_vf_id(bp, &vf_id)) {
241 req->vfdev_info.vf_id = vf_id;
399 u32 rc, vf_id; local
404 if (bnx2x_get_vf_id(bp, &vf_id)) {
409 req->vf_id = vf_id;
493 u32 vf_id; local
[all...]
/linux-master/drivers/net/ethernet/amd/pds_core/
H A Dauxbus.c188 padev = pf->vfs[cf->vf_id].padev;
195 pf->vfs[cf->vf_id].padev = NULL;
261 pf->vfs[cf->vf_id].padev = padev;
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_hw.h302 u8 vf_id; member in struct:qed_qm_pq_params::__anon1338
/linux-master/drivers/vdpa/pds/
H A Daux_drv.c47 vdpa_aux->vf_id = pci_iov_vf_id(padev->vf_pdev);
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ae_adapt.c99 for (ae_handle->vf_id = 0;
100 ae_handle->vf_id < vfnum_per_port; ae_handle->vf_id++) {
105 if (ae_handle->vf_id >= vfnum_per_port) {
219 ret = hns_mac_change_vf_addr(mac_cb, handle->vf_id, p);
237 return hns_mac_add_uc_addr(mac_cb, handle->vf_id, addr);
248 return hns_mac_rm_uc_addr(mac_cb, handle->vf_id, addr);
271 ret = hns_mac_get_inner_port_num(mac_cb, handle->vf_id, &port_num);
291 return hns_mac_clr_multicast(mac_cb, handle->vf_id);
/linux-master/drivers/scsi/bfa/
H A Dbfad_drv.h291 bfa_status_t bfad_vport_create(struct bfad_s *bfad, u16 vf_id,
294 bfa_status_t bfad_vf_create(struct bfad_s *bfad, u16 vf_id,
H A Dbfa_fcs.h279 u16 vf_id; /* virtual fabric ID */ member in struct:bfa_fcs_fabric_s
380 u16 vf_id, wwn_t lpwwn);
406 u16 vf_id, struct bfa_fcs_vport_s *vport);
482 struct bfa_fcs_s *fcs, u16 vf_id,
486 struct bfa_fcs_s *fcs, u16 vf_id,
496 u16 vf_id, wwn_t vpwwn);
908 bfa_fcs_vf_t *bfa_fcs_vf_lookup(struct bfa_fcs_s *fcs, u16 vf_id);
H A Dbfa_fcs.c1124 bfa_trc(fabric->fcs, fabric->vf_id);
1343 bfa_fcxp_send(fcxp, NULL, fabric->vf_id, fabric->lps->bfa_tag,
1429 * Returns FCS vf structure for a given vf_id.
1431 * param[in] vf_id - VF_ID
1437 bfa_fcs_vf_lookup(struct bfa_fcs_s *fcs, u16 vf_id) argument
1439 bfa_trc(fcs, vf_id);
1440 if (vf_id == FC_VF_ID_NULL)
1468 bfa_trc(fcs, vf->vf_id);
1537 if (fcs->port_vfid == vft->vf_id)
1540 fabric = bfa_fcs_vf_lookup(fcs, (u16) vft->vf_id);
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c1470 pos += scnprintf(buf + pos, len - pos, "pf_id vf_id q_id drop\n");
2080 static int hclge_get_vlan_rx_offload_cfg(struct hclge_dev *hdev, u8 vf_id, argument
2092 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD;
2093 bmap_index = vf_id % HCLGE_VF_NUM_PER_CMD / HCLGE_VF_NUM_PER_BYTE;
2094 req->vf_bitmap[bmap_index] = 1U << (vf_id % HCLGE_VF_NUM_PER_BYTE);
2100 vf_id, ret);
2115 static int hclge_get_vlan_tx_offload_cfg(struct hclge_dev *hdev, u8 vf_id, argument
2126 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD;
2127 bmap_index = vf_id % HCLGE_VF_NUM_PER_CMD / HCLGE_VF_NUM_PER_BYTE;
2128 req->vf_bitmap[bmap_index] = 1U << (vf_id
2152 hclge_get_vlan_filter_config_cmd(struct hclge_dev *hdev, u8 vlan_type, u8 vf_id, struct hclge_desc *desc) argument
2173 hclge_get_vlan_filter_state(struct hclge_dev *hdev, u8 vlan_type, u8 vf_id, u8 *vlan_fe) argument
2190 hclge_get_port_vlan_filter_bypass_state(struct hclge_dev *hdev, u8 vf_id, u8 *bypass_en) argument
[all...]
/linux-master/drivers/vfio/pci/pds/
H A Ddirty.c259 pds_vfio->vf_id);
530 dev_dbg(dev, "vf%u: Get dirty page bitmap\n", pds_vfio->vf_id);
534 pds_vfio->vf_id);
541 pds_vfio->vf_id, iova, length);
551 pds_vfio->vf_id, iova, length, region->page_size,

Completed in 414 milliseconds

123456