/linux-master/drivers/scsi/bfa/ |
H A D | bfa_fcs.h | 279 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 D | bfa_fcs.c | 1124 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...] |
H A D | bfad_bsg.c | 454 iocmd->vf_id, iocmd->pwwn); 478 iocmd->vf_id, iocmd->pwwn); 505 iocmd->vf_id, iocmd->vpwwn); 536 iocmd->vf_id, iocmd->pwwn); 576 iocmd->vf_id, iocmd->pwwn); 603 iocmd->vf_id, iocmd->pwwn); 642 iocmd->vf_id, iocmd->pwwn); 690 iocmd->vf_id, iocmd->pwwn); 732 iocmd->vf_id, iocmd->pwwn); 767 iocmd->vf_id, iocm [all...] |
H A D | bfa_fcs_lport.c | 350 aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; 384 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, 418 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, 563 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, 620 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, 728 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, 1062 u16 vf_id, struct bfa_fcs_vport_s *vport) 1065 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); 1866 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, por 1061 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_fcs_vport_s *vport) argument 5803 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) argument 6639 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) argument 6689 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) argument 6799 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) argument [all...] |
H A D | bfi_ms.h | 347 __be16 vf_id; /* vsan tag if applicable */ member in struct:bfi_fcxp_send_req_s 510 u16 vf_id; /* virtual fabric ID */ member in struct:bfi_rport_create_req_s
|
H A D | bfa_fcpim.h | 471 bfa_status_t bfa_fcpim_lunmask_delete(struct bfa_s *bfa, u16 vf_id, 473 bfa_status_t bfa_fcpim_lunmask_add(struct bfa_s *bfa, u16 vf_id,
|
/linux-master/drivers/vfio/pci/hisilicon/ |
H A D | hisi_acc_vfio_pci.c | 278 static int pf_qm_get_qp_num(struct hisi_qm *qm, int vf_id, u32 *rbase) argument 294 writel(vf_id, qm->io_base + QM_VFT_CFG); 418 int vf_id = hisi_acc_vdev->vf_id; local 426 ret = pf_qm_get_qp_num(pf_qm, vf_id, &vf_data->qp_base); 1328 hisi_acc_vdev->vf_id = pci_iov_vf_id(pdev) + 1; 1382 int vf_id; local 1387 vf_id = pci_iov_vf_id(pdev); 1388 if (vf_id >= 0)
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_iro_hsi.h | 126 #define MSTORM_ETH_VF_PRODS_OFFSET(vf_id, vf_queue_id) \ 128 + ((vf_id) * IRO[IRO_MSTORM_ETH_VF_PRODS].m1) \ 409 #define USTORM_VF_PF_CHANNEL_READY_GTT_OFFSET(vf_id) \ 411 + ((vf_id) * IRO[IRO_USTORM_VF_PF_CHANNEL_READY_GTT].m1))
|
H A D | qed_sriov.c | 68 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); 130 p_ramrod->vf_id = GET_FIELD(concrete_vfid, PXP_CONCRETE_FID_VFID); 4698 int vf_id, struct ifla_vf_info *ivi) 4710 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, false)) { 4712 "VF index [%d] isn't active\n", vf_id); 4716 vf_info = qed_iov_get_public_vf_info(hwfn, vf_id, true); 4718 ret = qed_iov_get_link(hwfn, vf_id, NULL, &link, NULL); 4723 ivi->vf = vf_id; 4731 ivi->spoofchk = qed_iov_spoofchk_get(hwfn, vf_id); 4735 ivi->min_tx_rate = qed_iov_get_vf_min_rate(hwfn, vf_id); 4697 qed_get_vf_config(struct qed_dev *cdev, int vf_id, struct ifla_vf_info *ivi) argument 4816 qed_set_vf_link_state(struct qed_dev *cdev, int vf_id, int link_state) argument 5065 qed_update_mac_for_vf_trust_change(struct qed_hwfn *hwfn, int vf_id) argument [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_port.h | 67 * @vf_id: for %NFP_PORT_VF_PORT ID of the PCI VF within @pf_id 97 unsigned int vf_id; member in struct:nfp_port::__anon175::__anon177
|
H A D | nfp_port.c | 131 n = snprintf(name, len, "pf%dvf%d", port->pf_id, port->vf_id);
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mae.h | 26 void efx_mae_mport_vf(struct efx_nic *efx, u32 vf_id, u32 *out);
|
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | hmc.h | 119 u32 vf_id; member in struct:irdma_hmc_fcn_info
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_lnode.h | 62 uint16_t vf_id; member in struct:csio_fcf_info
|
H A D | t4fw_api_stor.h | 356 __be32 vf_id; member in struct:fw_fcoe_vnp_cmd 519 __be16 vf_id; member in struct:fw_fcoe_fcf_cmd
|
/linux-master/drivers/vfio/pci/qat/ |
H A D | main.c | 567 int ret, vf_id; local 580 vf_id = pci_iov_vf_id(qat_vdev->core_device.pdev); 581 if (vf_id < 0) { 586 mdev = qat_vfmig_create(parent, vf_id);
|
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf.c | 614 int vf_id) 616 struct enetc_vf_state *vf_state = &pf->vf_state[vf_id]; 617 struct enetc_msg_swbd *msg = &pf->rxmsg[vf_id]; 631 vf_id); 633 enetc_pf_set_primary_mac_addr(&pf->si->hw, vf_id + 1, addr); 638 void enetc_msg_handle_rxmsg(struct enetc_pf *pf, int vf_id, u16 *status) argument 640 struct enetc_msg_swbd *msg = &pf->rxmsg[vf_id]; 651 *status = enetc_msg_pf_set_vf_primary_mac_addr(pf, vf_id); 613 enetc_msg_pf_set_vf_primary_mac_addr(struct enetc_pf *pf, int vf_id) argument
|
/linux-master/drivers/net/ethernet/intel/ice/devlink/ |
H A D | devlink_port.c | 403 attrs.pci_vf.vf = vf->vf_id; 413 vf->vf_id, err);
|
/linux-master/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 258 static void bgx_lmac_remove_filters(struct lmac *lmac, u8 vf_id) argument 271 lmac->dmacs[i].vf_map &= ~BIT_ULL(vf_id); 280 static int bgx_lmac_save_filter(struct lmac *lmac, u64 dmac, u8 vf_id) argument 296 lmac->dmacs[i].vf_map |= BIT_ULL(vf_id); 306 lmac->dmacs[lmac->dmacs_cfg].vf_map = BIT_ULL(vf_id); 332 u64 cam_dmac, u8 vf_id) 350 bgx_lmac_save_filter(lmac, cam_dmac, vf_id); 388 void bgx_reset_xcast_mode(int node, int bgx_idx, int lmacid, u8 vf_id) argument 395 bgx_lmac_remove_filters(&bgx->lmac[lmacid], vf_id); 331 bgx_set_dmac_cam_filter(int node, int bgx_idx, int lmacid, u64 cam_dmac, u8 vf_id) argument
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_cmd.h | 276 u8 vf_id; member in struct:hclge_promisc_cfg_cmd 461 u8 vf_id; member in struct:hclge_vlan_filter_ctrl_cmd 492 u8 vf_id; member in struct:hclge_port_vlan_filter_bypass_cmd
|
/linux-master/drivers/net/ethernet/amd/pds_core/ |
H A D | main.c | 185 vf->vf_id = pci_iov_vf_id(vf->pdev); 192 pf->vfs[vf->vf_id].vf = vf; 421 pf->vfs[pdsc->vf_id].vf = NULL;
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_vf_rep.c | 245 int vf_id, max_vfs = CN23XX_MAX_VFS_PER_PF + 1; local 255 vf_id = (ifidx & vfid_mask) - 1; 257 return oct->vf_rep_list.ndev[vf_id];
|
/linux-master/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.h | 458 int hns_mac_add_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id, 460 int hns_mac_rm_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id,
|
H A D | hns_dsaf_mac.c | 314 int hns_mac_add_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id, argument 327 ret = hns_mac_get_inner_port_num(mac_cb, vf_id, &mac_entry.port_num); 334 int hns_mac_rm_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id, argument 347 ret = hns_mac_get_inner_port_num(mac_cb, vf_id, &mac_entry.port_num);
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hw_v2.c | 1478 static void __hns_roce_function_clear(struct hns_roce_dev *hr_dev, int vf_id) argument 1491 resp->rst_funcid_en = cpu_to_le32(vf_id); 1512 resp->rst_funcid_en = cpu_to_le32(vf_id); 1518 if (vf_id == 0) 1528 static int hns_roce_free_vf_resource(struct hns_roce_dev *hr_dev, int vf_id) argument 1538 hr_reg_write(req_a, FUNC_RES_A_VF_ID, vf_id); 1560 "failed to free vf resource, vf_id = %d, ret = %d.\n", 1792 u32 vf_id) 1801 hr_reg_write(swt, VF_SWITCH_VF_ID, vf_id); 1817 u32 vf_id; local 1791 __hns_roce_set_vf_switch_param(struct hns_roce_dev *hr_dev, u32 vf_id) argument 1828 config_vf_hem_resource(struct hns_roce_dev *hr_dev, int vf_id) argument 1876 u32 vf_id; local [all...] |