vf_id 1385 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int vf_id) vf_id 1397 drivers/infiniband/hw/hns/hns_roce_hw_v2.c vf_id); vf_id 1388 drivers/infiniband/hw/hns/hns_roce_hw_v2.h __le32 vf_id; vf_id 4226 drivers/infiniband/hw/i40iw/i40iw_ctrl.c (u8)pcmdinfo->in.u.manage_hmc_pm.info.vf_id, vf_id 167 drivers/infiniband/hw/i40iw/i40iw_hmc.h u32 vf_id; vf_id 88 drivers/infiniband/hw/i40iw/i40iw_main.c u32 vf_id, u8 *msg, u16 len); vf_id 1821 drivers/infiniband/hw/i40iw/i40iw_main.c static void i40iw_vf_reset(struct i40e_info *ldev, struct i40e_client *client, u32 vf_id) vf_id 1840 drivers/infiniband/hw/i40iw/i40iw_main.c if (!dev->vf_dev[i] || (dev->vf_dev[i]->vf_id != vf_id)) vf_id 1850 drivers/infiniband/hw/i40iw/i40iw_main.c hmc_fcn_info.vf_id = vf_id; vf_id 1898 drivers/infiniband/hw/i40iw/i40iw_main.c u32 vf_id) vf_id 1911 drivers/infiniband/hw/i40iw/i40iw_main.c if (!dev->vf_dev[i] || (dev->vf_dev[i]->vf_id == vf_id)) vf_id 1931 drivers/infiniband/hw/i40iw/i40iw_main.c u32 vf_id, vf_id 1951 drivers/infiniband/hw/i40iw/i40iw_main.c ret_code = dev->vchnl_if.vchnl_recv(dev, vf_id, msg, len); vf_id 2004 drivers/infiniband/hw/i40iw/i40iw_main.c u32 vf_id, vf_id 2018 drivers/infiniband/hw/i40iw/i40iw_main.c return ldev->ops->virtchnl_send(ldev, &i40iw_client, vf_id, msg, len); vf_id 444 drivers/infiniband/hw/i40iw/i40iw_type.h u32 vf_id; vf_id 509 drivers/infiniband/hw/i40iw/i40iw_type.h u8 vf_id; vf_id 202 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c u32 vf_id, vf_id 214 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c ret_code = dev->vchnl_if.vchnl_send(dev, vf_id, resp_buffer, sizeof(resp_buffer)); vf_id 227 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c u32 vf_id, vf_id 240 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c ret_code = dev->vchnl_if.vchnl_send(dev, vf_id, resp_buffer, sizeof(resp_buffer)); vf_id 255 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c u32 vf_id, vf_id 268 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c ret_code = dev->vchnl_if.vchnl_send(dev, vf_id, resp_buffer, sizeof(resp_buffer)); vf_id 280 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c static void vchnl_pf_send_error_resp(struct i40iw_sc_dev *dev, u32 vf_id, vf_id 292 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c ret_code = dev->vchnl_if.vchnl_send(dev, vf_id, resp_buffer, sizeof(resp_buffer)); vf_id 314 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_pf_send_error_resp(dev, vf_dev->vf_id, &vf_dev->vf_msg_buffer.vchnl_msg, vf_id 326 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vf_dev->vf_id, vf_id 369 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_pf_send_error_resp(vf_dev->pf_dev, vf_dev->vf_id, vchnl_msg, (u16)ret_code); vf_id 402 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_pf_send_error_resp(vf_dev->pf_dev, vf_dev->vf_id, vchnl_msg, (u16)ret_code); vf_id 426 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c u32 vf_id, vf_id 446 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_pf_send_get_ver_resp(dev, vf_id, vchnl_msg); vf_id 455 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c if (dev->vf_dev[iw_vf_idx]->vf_id == vf_id) { vf_id 466 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vf_id); vf_id 481 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vf_dev->vf_id = vf_id; vf_id 493 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vf_id); vf_id 494 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_pf_send_error_resp(dev, vf_id, vchnl_msg, (u16)I40IW_ERR_NO_MEMORY); vf_id 499 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c hmc_fcn_info.vf_id = vf_id; vf_id 507 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vf_id); vf_id 513 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_pf_send_get_hmc_fcn_resp(dev, vf_id, vchnl_msg, vf_dev->pmf_index); vf_id 515 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_pf_send_error_resp(dev, vf_id, vchnl_msg, vf_id 542 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_pf_send_get_pe_stats_resp(dev, vf_id, vchnl_msg, &stats->hw_stats); vf_id 548 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c vchnl_pf_send_error_resp(dev, vf_id, vf_id 562 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c u32 vf_id, vf_id 86 drivers/infiniband/hw/i40iw/i40iw_virtchnl.h u32 vf_id, vf_id 91 drivers/infiniband/hw/i40iw/i40iw_virtchnl.h u32 vf_id, vf_id 99 drivers/infiniband/hw/i40iw/i40iw_virtchnl.h u32 vf_id; vf_id 5228 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u8 vf_id; vf_id 5239 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u8 vf_id; vf_id 5250 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u8 vf_id; vf_id 5550 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u8 vf_id; vf_id 5556 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u8 vf_id; vf_id 952 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c sp_sb_data.p_func.vf_id, vf_id 1048 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c sb_data_e2.common.p_func.vf_id, vf_id 1056 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c sb_data_e1x.common.p_func.vf_id, vf_id 5961 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c sb_data_e2.common.p_func.vf_id = vfid; vf_id 5976 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c sb_data_e1x.common.p_func.vf_id = 0xff; vf_id 6091 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c sp_sb_data.p_func.vf_id = 0xff; vf_id 1770 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c abs_vfid = elem->message.data.vf_flr_event.vf_id; vf_id 1775 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c abs_vfid = elem->message.data.malicious_vf_event.vf_id; vf_id 194 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c static int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) vf_id 218 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c *vf_id = (me_reg & ME_REG_VF_NUM_MASK) >> ME_REG_VF_NUM_SHIFT; vf_id 230 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c u32 vf_id; vf_id 236 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c if (bnx2x_get_vf_id(bp, &vf_id)) { vf_id 241 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c req->vfdev_info.vf_id = vf_id; vf_id 400 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c u32 rc, vf_id; vf_id 405 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c if (bnx2x_get_vf_id(bp, &vf_id)) { vf_id 410 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c req->vf_id = vf_id; vf_id 494 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c u32 vf_id; vf_id 499 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c if (bnx2x_get_vf_id(bp, &vf_id)) vf_id 512 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c req->vf_id = vf_id; vf_id 1406 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c vf->abs_vfid, acquire->vfdev_info.vf_id, acquire->vfdev_info.vf_os, vf_id 2197 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c vfpf_event->vf_id, vfpf_event->msg_addr_hi, vfpf_event->msg_addr_lo); vf_id 2201 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c if (vfpf_event->vf_id - BP_VFDB(bp)->sriov.first_vf_in_pf > vf_id 2204 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c vfpf_event->vf_id, BNX2X_NR_VIRTFN(bp)); vf_id 2208 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c vf_idx = bnx2x_vf_idx_by_abs_fid(bp, vfpf_event->vf_id); vf_id 127 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.h u8 vf_id; /* ME register value */ vf_id 355 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.h u16 vf_id; /* for debug */ vf_id 362 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.h u16 vf_id; vf_id 2059 drivers/net/ethernet/broadcom/bnxt/bnxt.c u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; vf_id 2074 drivers/net/ethernet/broadcom/bnxt/bnxt.c vf_id = le16_to_cpu(fwd_req_cmpl->source_id); vf_id 2076 drivers/net/ethernet/broadcom/bnxt/bnxt.c if ((vf_id < bp->pf.first_vf_id) || vf_id 2077 drivers/net/ethernet/broadcom/bnxt/bnxt.c (vf_id >= bp->pf.first_vf_id + bp->pf.active_vfs)) { vf_id 2079 drivers/net/ethernet/broadcom/bnxt/bnxt.c vf_id); vf_id 2083 drivers/net/ethernet/broadcom/bnxt/bnxt.c set_bit(vf_id - bp->pf.first_vf_id, bp->pf.vf_event_bmap); vf_id 926 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le16 vf_id; vf_id 1475 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le16 vf_id; vf_id 1580 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le16 vf_id; vf_id 1715 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le16 vf_id; vf_id 6344 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le16 vf_id; vf_id 49 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) vf_id 59 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c if (vf_id >= bp->pf.active_vfs) { vf_id 60 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c netdev_err(bp->dev, "Invalid VF id %d\n", vf_id); vf_id 66 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c int bnxt_set_vf_spoofchk(struct net_device *dev, int vf_id, bool setting) vf_id 78 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c rc = bnxt_vf_ndo_prep(bp, vf_id); vf_id 82 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c vf = &bp->pf.vf[vf_id]; vf_id 154 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c int bnxt_set_vf_trust(struct net_device *dev, int vf_id, bool trusted) vf_id 159 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c if (bnxt_vf_ndo_prep(bp, vf_id)) vf_id 162 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c vf = &bp->pf.vf[vf_id]; vf_id 172 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c int bnxt_get_vf_config(struct net_device *dev, int vf_id, vf_id 179 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c rc = bnxt_vf_ndo_prep(bp, vf_id); vf_id 183 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c ivi->vf = vf_id; vf_id 184 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c vf = &bp->pf.vf[vf_id]; vf_id 209 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c int bnxt_set_vf_mac(struct net_device *dev, int vf_id, u8 *mac) vf_id 216 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c rc = bnxt_vf_ndo_prep(bp, vf_id); vf_id 226 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c vf = &bp->pf.vf[vf_id]; vf_id 236 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c int bnxt_set_vf_vlan(struct net_device *dev, int vf_id, u16 vlan_id, u8 qos, vf_id 251 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c rc = bnxt_vf_ndo_prep(bp, vf_id); vf_id 261 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c vf = &bp->pf.vf[vf_id]; vf_id 276 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c int bnxt_set_vf_bw(struct net_device *dev, int vf_id, int min_tx_rate, vf_id 285 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c rc = bnxt_vf_ndo_prep(bp, vf_id); vf_id 289 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c vf = &bp->pf.vf[vf_id]; vf_id 293 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c max_tx_rate, vf_id); vf_id 299 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c min_tx_rate, vf_id); vf_id 318 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c int bnxt_set_vf_link_state(struct net_device *dev, int vf_id, int link) vf_id 324 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c rc = bnxt_vf_ndo_prep(bp, vf_id); vf_id 328 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c vf = &bp->pf.vf[vf_id]; vf_id 374 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c req.vf_id = cpu_to_le16(i); vf_id 469 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c static void __bnxt_set_vf_params(struct bnxt *bp, int vf_id) vf_id 474 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c vf = &bp->pf.vf[vf_id]; vf_id 578 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c req.vf_id = cpu_to_le16(pf->first_vf_id + i); vf_id 1106 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c u32 i = 0, active_vfs = bp->pf.active_vfs, vf_id; vf_id 1110 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c vf_id = find_next_bit(bp->pf.vf_event_bmap, active_vfs, i); vf_id 1111 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c if (vf_id >= active_vfs) vf_id 1114 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c clear_bit(vf_id, bp->pf.vf_event_bmap); vf_id 1115 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c bnxt_vf_req_validate_snd(bp, &bp->pf.vf[vf_id]); vf_id 1116 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c i = vf_id + 1; vf_id 37 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h int bnxt_set_vf_trust(struct net_device *dev, int vf_id, bool trust); vf_id 35 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c req.vf_id = cpu_to_le16(vf_idx); vf_id 245 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c int vf_id, max_vfs = CN23XX_MAX_VFS_PER_PF + 1; vf_id 255 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c vf_id = (ifidx & vfid_mask) - 1; vf_id 257 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c return oct->vf_rep_list.ndev[vf_id]; vf_id 972 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 vf_id:8; vf_id 974 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 vf_id:8; vf_id 285 drivers/net/ethernet/cavium/thunder/nic.h u8 vf_id; vf_id 427 drivers/net/ethernet/cavium/thunder/nic.h u8 vf_id; vf_id 463 drivers/net/ethernet/cavium/thunder/nic.h u8 vf_id; vf_id 470 drivers/net/ethernet/cavium/thunder/nic.h u8 vf_id; vf_id 477 drivers/net/ethernet/cavium/thunder/nic.h u8 vf_id; vf_id 485 drivers/net/ethernet/cavium/thunder/nic.h u8 vf_id; vf_id 492 drivers/net/ethernet/cavium/thunder/nic.h u8 vf_id; vf_id 502 drivers/net/ethernet/cavium/thunder/nic.h u8 vf_id; vf_id 520 drivers/net/ethernet/cavium/thunder/nic.h u8 vf_id; vf_id 526 drivers/net/ethernet/cavium/thunder/nic.h u8 vf_id; vf_id 535 drivers/net/ethernet/cavium/thunder/nic.h u8 vf_id; vf_id 165 drivers/net/ethernet/cavium/thunder/nic_main.c mbx.nic_cfg.vf_id = vf; vf_id 236 drivers/net/ethernet/cavium/thunder/nic_main.c bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); vf_id 237 drivers/net/ethernet/cavium/thunder/nic_main.c lmac = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); vf_id 240 drivers/net/ethernet/cavium/thunder/nic_main.c mbx.bgx_stats.vf_id = bgx->vf_id; vf_id 249 drivers/net/ethernet/cavium/thunder/nic_main.c nic_send_msg_to_vf(nic, bgx->vf_id, &mbx); vf_id 480 drivers/net/ethernet/cavium/thunder/nic_main.c vnic = cfg->vf_id; vf_id 504 drivers/net/ethernet/cavium/thunder/nic_main.c qset = cfg->vf_id; vf_id 545 drivers/net/ethernet/cavium/thunder/nic_main.c nic->cpi_base[cfg->vf_id] = cpi_base; vf_id 546 drivers/net/ethernet/cavium/thunder/nic_main.c nic->rssi_base[cfg->vf_id] = rssi_base; vf_id 571 drivers/net/ethernet/cavium/thunder/nic_main.c rssi_base = nic->rssi_base[cfg->vf_id] + cfg->tbl_offset; vf_id 579 drivers/net/ethernet/cavium/thunder/nic_main.c qset = nic->vf_sqs[cfg->vf_id][svf - 1]; vf_id 581 drivers/net/ethernet/cavium/thunder/nic_main.c qset = cfg->vf_id; vf_id 587 drivers/net/ethernet/cavium/thunder/nic_main.c cpi_base = nic->cpi_base[cfg->vf_id]; vf_id 709 drivers/net/ethernet/cavium/thunder/nic_main.c int sqs_id = nic->vf_sqs[nicvf->vf_id][nicvf->sqs_id]; vf_id 714 drivers/net/ethernet/cavium/thunder/nic_main.c nic_send_msg_to_vf(nic, nicvf->vf_id, &mbx); vf_id 748 drivers/net/ethernet/cavium/thunder/nic_main.c nic->vf_sqs[sqs->vf_id][idx] = sqs_id; vf_id 749 drivers/net/ethernet/cavium/thunder/nic_main.c nic->pqs_vf[sqs_id] = sqs->vf_id; vf_id 755 drivers/net/ethernet/cavium/thunder/nic_main.c mbx.sqs_alloc.vf_id = sqs->vf_id; vf_id 757 drivers/net/ethernet/cavium/thunder/nic_main.c nic_send_msg_to_vf(nic, sqs->vf_id, &mbx); vf_id 764 drivers/net/ethernet/cavium/thunder/nic_main.c if (lbk->vf_id >= nic->num_vf_en) vf_id 767 drivers/net/ethernet/cavium/thunder/nic_main.c bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[lbk->vf_id]); vf_id 768 drivers/net/ethernet/cavium/thunder/nic_main.c lmac_idx = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[lbk->vf_id]); vf_id 1033 drivers/net/ethernet/cavium/thunder/nic_main.c lmac = mbx.mac.vf_id; vf_id 1040 drivers/net/ethernet/cavium/thunder/nic_main.c mbx.frs.vf_id); vf_id 145 drivers/net/ethernet/cavium/thunder/nicvf_main.c (mbx->msg.msg & 0xFF), nic->vf_id); vf_id 156 drivers/net/ethernet/cavium/thunder/nicvf_main.c (mbx->msg.msg & 0xFF), nic->vf_id); vf_id 221 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->vf_id = mbx.nic_cfg.vf_id & 0x7F; vf_id 308 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.mac.vf_id = nic->vf_id; vf_id 319 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.cpi_cfg.vf_id = nic->vf_id; vf_id 331 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.rss_size.vf_id = nic->vf_id; vf_id 342 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.rss_cfg.vf_id = nic->vf_id; vf_id 415 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.sqs_alloc.vf_id = nic->vf_id; vf_id 437 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.nicvf.vf_id = nic->vf_id; vf_id 1435 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.frs.vf_id = nic->vf_id; vf_id 1640 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.bgx_stats.vf_id = nic->vf_id; vf_id 1774 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.lbk.vf_id = nic->vf_id; vf_id 2255 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->vf_id); vf_id 966 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qs->vnic_id = nic->vf_id; vf_id 258 drivers/net/ethernet/cavium/thunder/thunder_bgx.c static void bgx_lmac_remove_filters(struct lmac *lmac, u8 vf_id) vf_id 271 drivers/net/ethernet/cavium/thunder/thunder_bgx.c lmac->dmacs[i].vf_map &= ~BIT_ULL(vf_id); vf_id 280 drivers/net/ethernet/cavium/thunder/thunder_bgx.c static int bgx_lmac_save_filter(struct lmac *lmac, u64 dmac, u8 vf_id) vf_id 296 drivers/net/ethernet/cavium/thunder/thunder_bgx.c lmac->dmacs[i].vf_map |= BIT_ULL(vf_id); vf_id 306 drivers/net/ethernet/cavium/thunder/thunder_bgx.c lmac->dmacs[lmac->dmacs_cfg].vf_map = BIT_ULL(vf_id); vf_id 332 drivers/net/ethernet/cavium/thunder/thunder_bgx.c u64 cam_dmac, u8 vf_id) vf_id 350 drivers/net/ethernet/cavium/thunder/thunder_bgx.c bgx_lmac_save_filter(lmac, cam_dmac, vf_id); vf_id 388 drivers/net/ethernet/cavium/thunder/thunder_bgx.c void bgx_reset_xcast_mode(int node, int bgx_idx, int lmacid, u8 vf_id) vf_id 395 drivers/net/ethernet/cavium/thunder/thunder_bgx.c bgx_lmac_remove_filters(&bgx->lmac[lmacid], vf_id); vf_id 578 drivers/net/ethernet/freescale/enetc/enetc_pf.c int vf_id) vf_id 580 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_vf_state *vf_state = &pf->vf_state[vf_id]; vf_id 581 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_msg_swbd *msg = &pf->rxmsg[vf_id]; vf_id 595 drivers/net/ethernet/freescale/enetc/enetc_pf.c vf_id); vf_id 597 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_pf_set_primary_mac_addr(&pf->si->hw, vf_id + 1, addr); vf_id 602 drivers/net/ethernet/freescale/enetc/enetc_pf.c void enetc_msg_handle_rxmsg(struct enetc_pf *pf, int vf_id, u16 *status) vf_id 604 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_msg_swbd *msg = &pf->rxmsg[vf_id]; vf_id 615 drivers/net/ethernet/freescale/enetc/enetc_pf.c *status = enetc_msg_pf_set_vf_primary_mac_addr(pf, vf_id); vf_id 555 drivers/net/ethernet/hisilicon/hns/hnae.h int vf_id; vf_id 101 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c for (ae_handle->vf_id = 0; vf_id 102 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ae_handle->vf_id < vfnum_per_port; ae_handle->vf_id++) { vf_id 107 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c if (ae_handle->vf_id >= vfnum_per_port) { vf_id 222 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ret = hns_mac_change_vf_addr(mac_cb, handle->vf_id, p); vf_id 240 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c return hns_mac_add_uc_addr(mac_cb, handle->vf_id, addr); vf_id 251 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c return hns_mac_rm_uc_addr(mac_cb, handle->vf_id, addr); vf_id 274 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ret = hns_mac_get_inner_port_num(mac_cb, handle->vf_id, &port_num); vf_id 294 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c return hns_mac_clr_multicast(mac_cb, handle->vf_id); vf_id 285 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c int hns_mac_add_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id, vf_id 298 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c ret = hns_mac_get_inner_port_num(mac_cb, vf_id, &mac_entry.port_num); vf_id 305 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c int hns_mac_rm_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id, vf_id 318 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c ret = hns_mac_get_inner_port_num(mac_cb, vf_id, &mac_entry.port_num); vf_id 462 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h int hns_mac_add_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id, vf_id 464 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h int hns_mac_rm_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id, vf_id 551 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h u8 vf_id; vf_id 564 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h u8 vf_id; vf_id 757 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h u8 vf_id; vf_id 1704 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_query_over_8bd_err_info(struct hclge_dev *hdev, u16 *vf_id, vf_id 1717 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c *vf_id = le16_to_cpu(req->over_8bd_no_fe_vf_id); vf_id 1734 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c u16 vf_id; vf_id 1738 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c ret = hclge_query_over_8bd_err_info(hdev, &vf_id, &q_id); vf_id 1746 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c vf_id, q_id); vf_id 1748 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c if (vf_id) { vf_id 1749 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c if (vf_id >= hdev->num_alloc_vport) { vf_id 1750 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c dev_err(dev, "invalid vf id(%d)\n", vf_id); vf_id 1761 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c ret = hclge_inform_reset_assert_to_vf(&hdev->vport[vf_id]); vf_id 4608 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c req->vf_id = param->vf_id; vf_id 4639 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c param->vf_id = vport_id; vf_id 4988 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u8 vf_id, u8 network_port_id) vf_id 4996 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vf_id); vf_id 5026 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->vf_id, 0); vf_id 5622 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->vf_id = dst_vport_id; vf_id 5959 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u64 vf_id; vf_id 5962 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vf_id = rule->vf_id; vf_id 5963 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vf_id <<= ETHTOOL_RX_FLOW_SPEC_RING_VF_OFF; vf_id 5964 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c fs->ring_cookie |= vf_id; vf_id 6051 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->vf_id = 0; vf_id 7560 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u8 fe_type, bool filter_en, u8 vf_id) vf_id 7571 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c req->vf_id = vf_id; vf_id 616 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u16 vf_id; vf_id 800 drivers/net/ethernet/intel/i40e/i40e.h s16 vf_id; /* Virtual function ID for SRIOV VSIs */ vf_id 1047 drivers/net/ethernet/intel/i40e/i40e.h void i40e_notify_client_of_vf_msg(struct i40e_vsi *vsi, u32 vf_id, vf_id 1085 drivers/net/ethernet/intel/i40e/i40e.h void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id); vf_id 1087 drivers/net/ethernet/intel/i40e/i40e.h int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id); vf_id 840 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 vf_id; vf_id 18 drivers/net/ethernet/intel/i40e/i40e_client.c u32 vf_id, u8 *msg, u16 len); vf_id 30 drivers/net/ethernet/intel/i40e/i40e_client.c bool is_vf, u32 vf_id, vf_id 84 drivers/net/ethernet/intel/i40e/i40e_client.c i40e_notify_client_of_vf_msg(struct i40e_vsi *vsi, u32 vf_id, u8 *msg, u16 len) vf_id 101 drivers/net/ethernet/intel/i40e/i40e_client.c vf_id, msg, len); vf_id 193 drivers/net/ethernet/intel/i40e/i40e_client.c void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) vf_id 208 drivers/net/ethernet/intel/i40e/i40e_client.c cdev->client->ops->vf_reset(&cdev->lan_info, cdev->client, vf_id); vf_id 245 drivers/net/ethernet/intel/i40e/i40e_client.c int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) vf_id 262 drivers/net/ethernet/intel/i40e/i40e_client.c vf_id); vf_id 550 drivers/net/ethernet/intel/i40e/i40e_client.c u32 vf_id, u8 *msg, u16 len) vf_id 556 drivers/net/ethernet/intel/i40e/i40e_client.c err = i40e_aq_send_msg_to_vf(hw, vf_id, VIRTCHNL_OP_IWARP, vf_id 680 drivers/net/ethernet/intel/i40e/i40e_client.c bool is_vf, u32 vf_id, vf_id 120 drivers/net/ethernet/intel/i40e/i40e_client.h u32 vf_id, u8 *msg, u16 len); vf_id 133 drivers/net/ethernet/intel/i40e/i40e_client.h bool is_vf, u32 vf_id, vf_id 156 drivers/net/ethernet/intel/i40e/i40e_client.h struct i40e_client *client, u32 vf_id, vf_id 161 drivers/net/ethernet/intel/i40e/i40e_client.h struct i40e_client *client, u32 vf_id); vf_id 169 drivers/net/ethernet/intel/i40e/i40e_client.h struct i40e_client *client, u32 vf_id); vf_id 1977 drivers/net/ethernet/intel/i40e/i40e_common.c cmd->vf_id = vsi_ctx->vf_num; vf_id 341 drivers/net/ethernet/intel/i40e/i40e_debugfs.c dev_info(&pf->pdev->dev, " VF ID = %i\n", vsi->vf_id); vf_id 655 drivers/net/ethernet/intel/i40e/i40e_debugfs.c static void i40e_dbg_dump_vf(struct i40e_pf *pf, int vf_id) vf_id 662 drivers/net/ethernet/intel/i40e/i40e_debugfs.c } else if ((vf_id >= 0) && (vf_id < pf->num_alloc_vfs)) { vf_id 663 drivers/net/ethernet/intel/i40e/i40e_debugfs.c vf = &pf->vf[vf_id]; vf_id 666 drivers/net/ethernet/intel/i40e/i40e_debugfs.c vf_id, vf->lan_vsi_id, vsi->seid, vf->num_queue_pairs); vf_id 672 drivers/net/ethernet/intel/i40e/i40e_debugfs.c dev_info(&pf->pdev->dev, "invalid VF id %d\n", vf_id); vf_id 709 drivers/net/ethernet/intel/i40e/i40e_debugfs.c int vf_id; vf_id 912 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cnt = sscanf(&cmd_buf[7], "%i", &vf_id); vf_id 914 drivers/net/ethernet/intel/i40e/i40e_debugfs.c i40e_dbg_dump_vf(pf, vf_id); vf_id 3282 drivers/net/ethernet/intel/i40e/i40e_ethtool.c u64 ring_vf = vsi->vf_id + 1; vf_id 2300 drivers/net/ethernet/intel/i40e/i40e_main.c snprintf(vsi_name, sizeof(vsi_name) - 1, "VF %d", vsi->vf_id); vf_id 2508 drivers/net/ethernet/intel/i40e/i40e_main.c if ((vsi->type == I40E_VSI_SRIOV) && !pf->vf[vsi->vf_id].trusted) { vf_id 8697 drivers/net/ethernet/intel/i40e/i40e_main.c u16 vf_id; vf_id 8705 drivers/net/ethernet/intel/i40e/i40e_main.c vf_id = (u16)((qtx_ctl & I40E_QTX_CTL_VFVM_INDX_MASK) vf_id 8707 drivers/net/ethernet/intel/i40e/i40e_main.c vf_id -= hw->func_caps.vf_base_id; vf_id 8708 drivers/net/ethernet/intel/i40e/i40e_main.c vf = &pf->vf[vf_id]; vf_id 11469 drivers/net/ethernet/intel/i40e/i40e_main.c u16 vf_id = vsi->vf_id; vf_id 11481 drivers/net/ethernet/intel/i40e/i40e_main.c wr32(hw, I40E_VFQF_HKEY1(i, vf_id), seed_dw[i]); vf_id 11499 drivers/net/ethernet/intel/i40e/i40e_main.c wr32(hw, I40E_VFQF_HLUT1(i, vf_id), lut_dw[i]); vf_id 12076 drivers/net/ethernet/intel/i40e/i40e_main.c u16 vf_id = vsi->vf_id; vf_id 12084 drivers/net/ethernet/intel/i40e/i40e_main.c i40e_write_rx_ctl(hw, I40E_VFQF_HLUT1(i, vf_id), 0); vf_id 13227 drivers/net/ethernet/intel/i40e/i40e_main.c ctxt.vf_num = vsi->vf_id + hw->func_caps.vf_base_id; vf_id 13252 drivers/net/ethernet/intel/i40e/i40e_main.c if (pf->vf[vsi->vf_id].spoofchk) { vf_id 13651 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->vf_id = param1; vf_id 28 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int abs_vf_id = vf->vf_id + (int)hw->func_caps.vf_base_id; vf_id 54 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int abs_vf_id = vf->vf_id + (int)hw->func_caps.vf_base_id; vf_id 120 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (!vf || vf->vf_id >= vf->pf->num_alloc_vfs) vf_id 128 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c abs_vf_id = vf->vf_id + (int)vf->pf->hw.func_caps.vf_base_id; vf_id 163 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 178 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c return (vsi && (vsi->vf_id == vf->vf_id)); vf_id 298 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg_idx = I40E_VPINT_LNKLST0(vf->vf_id); vf_id 301 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c ((pf->hw.func_caps.num_msix_vectors_vf - 1) * vf->vf_id) + vf_id 414 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg_idx = (msix_vf - 1) * vf->vf_id + qv_info->ceq_idx; vf_id 421 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); vf_id 489 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); vf_id 501 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg_idx = (msix_vf - 1) * vf->vf_id + qv_info->ceq_idx; vf_id 509 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); vf_id 522 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c wr32(hw, I40E_VPINT_AEQCTL(vf->vf_id), reg); vf_id 601 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c qtx_ctl |= (((vf->vf_id + hw->func_caps.vf_base_id) vf_id 718 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 723 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, pf->hw.aq.asq_last_status); vf_id 750 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->default_lan_addr.addr, vf->vf_id); vf_id 758 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c wr32(&pf->hw, I40E_VFQF_HENA1(0, vf->vf_id), (u32)hena); vf_id 759 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c wr32(&pf->hw, I40E_VFQF_HENA1(1, vf->vf_id), (u32)(hena >> 32)); vf_id 785 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, ret); vf_id 871 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c wr32(hw, I40E_VPLAN_QTABLE(total_qps, vf->vf_id), vf_id 899 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c wr32(hw, I40E_VPLAN_MAPENA(vf->vf_id), reg); vf_id 920 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c wr32(hw, I40E_VPLAN_MAPENA(vf->vf_id), 0); vf_id 922 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c wr32(hw, I40E_VPLAN_QTABLE(i, vf->vf_id), vf_id 980 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg_idx = I40E_VFINT_DYN_CTL0(vf->vf_id); vf_id 983 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c (vf->vf_id)) vf_id 993 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg_idx = I40E_VPINT_LNKLST0(vf->vf_id); vf_id 996 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c (vf->vf_id)) vf_id 1047 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 1097 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf_abs_id = vf->vf_id + hw->func_caps.vf_base_id; vf_id 1148 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, vf_id 1163 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, vf_id 1211 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, vf_id 1224 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, vf_id 1263 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg = rd32(hw, I40E_VPGEN_VFRTRIG(vf->vf_id)); vf_id 1265 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c wr32(hw, I40E_VPGEN_VFRTRIG(vf->vf_id), reg); vf_id 1269 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg_idx = (hw->func_caps.vf_base_id + vf->vf_id) / 32; vf_id 1270 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c bit_idx = (hw->func_caps.vf_base_id + vf->vf_id) % 32; vf_id 1276 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 1309 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg = rd32(hw, I40E_VPGEN_VFRTRIG(vf->vf_id)); vf_id 1311 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c wr32(hw, I40E_VPGEN_VFRTRIG(vf->vf_id), reg); vf_id 1315 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int abs_vf_id = vf->vf_id + hw->func_caps.vf_base_id; vf_id 1330 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c wr32(hw, I40E_VFGEN_RSTAT1(vf->vf_id), VIRTCHNL_VFR_VFACTIVE); vf_id 1366 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg = rd32(hw, I40E_VPGEN_VFRSTAT(vf->vf_id)); vf_id 1378 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 1438 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg = rd32(hw, I40E_VPGEN_VFRSTAT(vf->vf_id)); vf_id 1457 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c pf->vf[v].vf_id); vf_id 1507 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int i, tmp, vf_id; vf_id 1561 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c for (vf_id = 0; vf_id < tmp; vf_id++) { vf_id 1562 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg_idx = (hw->func_caps.vf_base_id + vf_id) / 32; vf_id 1563 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c bit_idx = (hw->func_caps.vf_base_id + vf_id) % 32; vf_id 1607 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vfs[i].vf_id = i; vf_id 1744 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (!vf || vf->vf_id >= vf->pf->num_alloc_vfs) vf_id 1749 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c abs_vf_id = vf->vf_id + hw->func_caps.vf_base_id; vf_id 1755 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, v_opcode, v_retval); vf_id 1760 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 1775 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, pf->hw.aq.asq_last_status); vf_id 1881 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (i40e_vf_client_capable(pf, vf->vf_id) && vf_id 1916 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 2019 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 2054 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 2059 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 2066 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 2071 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 2474 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, vf_id 2480 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, vf_id 2653 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c al->list[i].addr, vf->vf_id); vf_id 2668 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, ret); vf_id 2702 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c al->list[i].addr, vf->vf_id); vf_id 2712 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->default_lan_addr.addr, vf->vf_id); vf_id 2736 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, ret); vf_id 2807 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vfl->vlan_id[i], vf->vf_id, ret); vf_id 2883 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int abs_vf_id = vf->vf_id + pf->hw.func_caps.vf_base_id; vf_id 3057 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_write_rx_ctl(hw, I40E_VFQF_HENA1(0, vf->vf_id), (u32)vrh->hena); vf_id 3058 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_write_rx_ctl(hw, I40E_VFQF_HENA1(1, vf->vf_id), vf_id 3140 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3148 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, tc_filter->action_meta); vf_id 3168 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c data.dst_mac, vf->vf_id); vf_id 3183 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, ntohs(data.vlan_id)); vf_id 3192 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3201 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, data.dst_mac); vf_id 3210 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, data.src_mac); vf_id 3218 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3226 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3234 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3241 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3290 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, cfilter->seid); vf_id 3302 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, i40e_stat_str(&pf->hw, ret), vf_id 3339 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3347 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3389 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3405 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, i40e_stat_str(&pf->hw, ret), vf_id 3470 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3478 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3523 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3539 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, i40e_stat_str(&pf->hw, ret), vf_id 3587 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3596 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, tci->num_tc, I40E_MAX_VF_VSI); vf_id 3607 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id, i, tci->list[i].count, vf_id 3619 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3665 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3718 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3721 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->vf_id); vf_id 3748 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int i40e_vc_process_vf_msg(struct i40e_pf *pf, s16 vf_id, u32 v_opcode, vf_id 3752 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int local_vf_id = vf_id - (s16)hw->func_caps.vf_base_id; vf_id 3889 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int vf_id; vf_id 3905 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c for (vf_id = 0; vf_id < pf->num_alloc_vfs; vf_id++) { vf_id 3906 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c reg_idx = (hw->func_caps.vf_base_id + vf_id) / 32; vf_id 3907 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c bit_idx = (hw->func_caps.vf_base_id + vf_id) % 32; vf_id 3909 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 3928 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c static int i40e_validate_vf(struct i40e_pf *pf, int vf_id) vf_id 3934 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (vf_id >= pf->num_alloc_vfs) { vf_id 3936 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c "Invalid VF Identifier %d\n", vf_id); vf_id 3940 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 3956 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int i40e_ndo_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac) vf_id 3974 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c ret = i40e_validate_vf(pf, vf_id); vf_id 3978 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 3997 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf_id); vf_id 4004 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c "Invalid Ethernet address %pM for VF %d\n", mac, vf_id); vf_id 4036 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c dev_info(&pf->pdev->dev, "Removing MAC on VF %d\n", vf_id); vf_id 4040 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c mac, vf_id); vf_id 4092 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int i40e_ndo_set_vf_port_vlan(struct net_device *netdev, int vf_id, vf_id 4109 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c ret = i40e_validate_vf(pf, vf_id); vf_id 4125 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 4129 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf_id); vf_id 4141 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf_id); vf_id 4199 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vlan_id, qos, vf_id); vf_id 4258 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate, vf_id 4273 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c ret = i40e_validate_vf(pf, vf_id); vf_id 4279 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c min_tx_rate, vf_id); vf_id 4284 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 4288 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf_id); vf_id 4312 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int vf_id, struct ifla_vf_info *ivi) vf_id 4326 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c ret = i40e_validate_vf(pf, vf_id); vf_id 4330 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 4338 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c ivi->vf = vf_id; vf_id 4370 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int i40e_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link) vf_id 4386 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (vf_id >= pf->num_alloc_vfs) { vf_id 4387 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c dev_err(&pf->pdev->dev, "Invalid VF Identifier %d\n", vf_id); vf_id 4392 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 4393 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c abs_vf_id = vf->vf_id + hw->func_caps.vf_base_id; vf_id 4440 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int i40e_ndo_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool enable) vf_id 4456 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (vf_id >= pf->num_alloc_vfs) { vf_id 4457 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c dev_err(&pf->pdev->dev, "Invalid VF Identifier %d\n", vf_id); vf_id 4462 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf = &(pf->vf[vf_id]); vf_id 4465 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf_id); vf_id 4500 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int i40e_ndo_set_vf_trust(struct net_device *netdev, int vf_id, bool setting) vf_id 4513 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (vf_id >= pf->num_alloc_vfs) { vf_id 4514 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c dev_err(&pf->pdev->dev, "Invalid VF Identifier %d\n", vf_id); vf_id 4525 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 4533 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf_id, setting ? "" : "un"); vf_id 4539 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf_id); vf_id 69 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h s16 vf_id; vf_id 121 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h int i40e_vc_process_vf_msg(struct i40e_pf *pf, s16 vf_id, u32 v_opcode, vf_id 129 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h int i40e_ndo_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac); vf_id 130 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h int i40e_ndo_set_vf_port_vlan(struct net_device *netdev, int vf_id, vf_id 132 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate, vf_id 134 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h int i40e_ndo_set_vf_trust(struct net_device *netdev, int vf_id, bool setting); vf_id 136 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h int vf_id, struct ifla_vf_info *ivi); vf_id 137 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h int i40e_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link); vf_id 138 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h int i40e_ndo_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool enable); vf_id 236 drivers/net/ethernet/intel/ice/ice.h s16 vf_id; /* VF ID for SR-IOV VSIs */ vf_id 278 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h u8 vf_id; vf_id 147 drivers/net/ethernet/intel/ice/ice_lib.c tlan_ctx->vmvf_num = hw->func_caps.vf_base_id + vsi->vf_id; vf_id 336 drivers/net/ethernet/intel/ice/ice_lib.c static void ice_vsi_set_num_qs(struct ice_vsi *vsi, u16 vf_id) vf_id 342 drivers/net/ethernet/intel/ice/ice_lib.c vsi->vf_id = vf_id; vf_id 363 drivers/net/ethernet/intel/ice/ice_lib.c vf = &pf->vf[vsi->vf_id]; vf_id 429 drivers/net/ethernet/intel/ice/ice_lib.c ctxt->vf_num = vsi->vf_id; vf_id 540 drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_alloc(struct ice_pf *pf, enum ice_vsi_type type, u16 vf_id) vf_id 567 drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_set_num_qs(vsi, vf_id); vf_id 1050 drivers/net/ethernet/intel/ice/ice_lib.c ctxt->vf_num = vsi->vf_id + hw->func_caps.vf_base_id; vf_id 1069 drivers/net/ethernet/intel/ice/ice_lib.c if (vsi->type == ICE_VSI_VF && pf->vf[vsi->vf_id].spoofchk) { vf_id 2389 drivers/net/ethernet/intel/ice/ice_lib.c struct ice_vf *vf = &vsi->back->vf[vsi->vf_id]; vf_id 2515 drivers/net/ethernet/intel/ice/ice_lib.c enum ice_vsi_type type, u16 vf_id) vf_id 2524 drivers/net/ethernet/intel/ice/ice_lib.c vsi = ice_vsi_alloc(pf, type, vf_id); vf_id 2539 drivers/net/ethernet/intel/ice/ice_lib.c vsi->vf_id = vf_id; vf_id 3050 drivers/net/ethernet/intel/ice/ice_lib.c vf = &pf->vf[vsi->vf_id]; vf_id 3072 drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_set_num_qs(vsi, vf->vf_id); vf_id 84 drivers/net/ethernet/intel/ice/ice_lib.h enum ice_vsi_type type, u16 vf_id); vf_id 189 drivers/net/ethernet/intel/ice/ice_switch.c cmd->vf_id = vsi_ctx->vf_num; vf_id 63 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ice_aq_send_msg_to_vf(hw, vf->vf_id, v_opcode, v_retval, msg, vf_id 141 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ice_aq_send_msg_to_vf(hw, vf->vf_id, VIRTCHNL_OP_EVENT, vf_id 193 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPINT_ALLOC(vf->vf_id), 0); vf_id 194 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPINT_ALLOC_PCI(vf->vf_id), 0); vf_id 209 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPLAN_TX_QBASE(vf->vf_id), 0); vf_id 215 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPLAN_RX_QBASE(vf->vf_id), 0); vf_id 281 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ice_vsi_stop_lan_tx_rings(vsi, ICE_NO_RESET, vf->vf_id); vf_id 339 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c int vf_id; vf_id 344 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c for (vf_id = 0; vf_id < tmp; vf_id++) { vf_id 347 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c reg_idx = (hw->func_caps.vf_base_id + vf_id) / 32; vf_id 348 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c bit_idx = (hw->func_caps.vf_base_id + vf_id) % 32; vf_id 374 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf_abs_id = vf->vf_id + hw->func_caps.vf_base_id; vf_id 400 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c reg = rd32(hw, VPGEN_VFRTRIG(vf->vf_id)); vf_id 402 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPGEN_VFRTRIG(vf->vf_id), reg); vf_id 419 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c "VF %d PCI transactions stuck\n", vf->vf_id); vf_id 501 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ice_vf_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi, u16 vf_id) vf_id 503 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c return ice_vsi_setup(pf, pi, ICE_VSI_VF, vf_id); vf_id 520 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c return pf->sriov_base_vector + vf->vf_id * pf->num_vf_msix; vf_id 540 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vsi = ice_vf_vsi_setup(pf, pf->hw.port_info, vf->vf_id); vf_id 648 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c abs_vf_id = vf->vf_id + hw->func_caps.vf_base_id; vf_id 654 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPINT_ALLOC(vf->vf_id), reg); vf_id 660 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPINT_ALLOC_PCI(vf->vf_id), reg); vf_id 675 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPLAN_TXQ_MAPENA(vf->vf_id), VPLAN_TXQ_MAPENA_TX_ENA_M); vf_id 687 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPLAN_TX_QBASE(vf->vf_id), reg); vf_id 694 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPLAN_RXQ_MAPENA(vf->vf_id), VPLAN_RXQ_MAPENA_RX_ENA_M); vf_id 706 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPLAN_RX_QBASE(vf->vf_id), reg); vf_id 767 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c return pf->sriov_base_vector + pf->num_vf_msix * vf->vf_id + vf_id 955 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c reg = rd32(hw, VPGEN_VFRTRIG(vf->vf_id)); vf_id 957 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VPGEN_VFRTRIG(vf->vf_id), reg); vf_id 971 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c wr32(hw, VFGEN_RSTAT(vf->vf_id), VIRTCHNL_VFR_VFACTIVE); vf_id 1046 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id, vf->num_vf_qs); vf_id 1094 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c NULL, ICE_VF_RESET, vf->vf_id, NULL); vf_id 1110 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c reg = rd32(hw, VPGEN_VFRSTAT(vf->vf_id)); vf_id 1195 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c NULL, ICE_VF_RESET, vf->vf_id, NULL); vf_id 1206 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c reg = rd32(hw, VPGEN_VFRSTAT(vf->vf_id)); vf_id 1221 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id); vf_id 1288 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c if (!vf || vf->vf_id >= vf->pf->num_alloc_vfs) vf_id 1301 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ice_aq_send_msg_to_vf(&vf->pf->hw, vf->vf_id, VIRTCHNL_OP_EVENT, vf_id 1341 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vfs[i].vf_id = i; vf_id 1480 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c int vf_id; vf_id 1487 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c for (vf_id = 0; vf_id < pf->num_alloc_vfs; vf_id++) { vf_id 1488 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c struct ice_vf *vf = &pf->vf[vf_id]; vf_id 1491 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c reg_idx = (hw->func_caps.vf_base_id + vf_id) / 32; vf_id 1492 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c bit_idx = (hw->func_caps.vf_base_id + vf_id) % 32; vf_id 1531 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c if (!vf || vf->vf_id >= vf->pf->num_alloc_vfs) vf_id 1540 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id, v_opcode, v_retval); vf_id 1544 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id); vf_id 1555 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c aq_ret = ice_aq_send_msg_to_vf(&pf->hw, vf->vf_id, v_opcode, v_retval, vf_id 1560 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id, aq_ret, pf->hw.mailboxq.sq_last_status); vf_id 1736 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c return (vsi && (vsi->vf_id == vf->vf_id)); vf_id 2067 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c if (ice_vsi_stop_tx_ring(vsi, ICE_NO_RESET, vf->vf_id, vf_id 2260 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id, min_t(u16, vsi->alloc_txq, vsi->alloc_rxq)); vf_id 2389 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id); vf_id 2414 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c maddr, vf->vf_id); vf_id 2420 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c maddr, vf->vf_id); vf_id 2429 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c maddr, vf->vf_id); vf_id 2438 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id); vf_id 2449 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c set ? "add" : "remove", maddr, vf->vf_id, vf_id 2454 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c set ? "add" : "remove", vf->vf_id, status); vf_id 2530 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id); vf_id 2534 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id, ICE_MAX_BASE_QS_PER_VF); vf_id 2540 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id, req_queues - cur_queues, tx_rx_queue_left); vf_id 2549 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id, req_queues); vf_id 2570 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ice_set_vf_port_vlan(struct net_device *netdev, int vf_id, u16 vlan_id, u8 qos, vf_id 2581 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c if (vf_id >= pf->num_alloc_vfs) { vf_id 2582 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c dev_err(&pf->pdev->dev, "invalid VF id: %d\n", vf_id); vf_id 2596 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 2599 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c dev_err(&pf->pdev->dev, "VF %d in reset. Try again.\n", vf_id); vf_id 2626 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vlan_id, qos, vf_id); vf_id 2678 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id); vf_id 2726 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf->vf_id); vf_id 2905 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c s16 vf_id = le16_to_cpu(event->desc.retval); vf_id 2911 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c if (vf_id >= pf->num_alloc_vfs) { vf_id 2916 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 2938 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf_id, v_opcode, msglen, err); vf_id 2999 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c v_opcode, vf_id); vf_id 3011 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf_id, v_opcode, err); vf_id 3024 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ice_get_vf_cfg(struct net_device *netdev, int vf_id, struct ifla_vf_info *ivi) vf_id 3032 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c if (vf_id >= pf->num_alloc_vfs) { vf_id 3033 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c netdev_err(netdev, "invalid VF id: %d\n", vf_id); vf_id 3037 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 3041 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c netdev_err(netdev, "VF %d in reset. Try again.\n", vf_id); vf_id 3045 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ivi->vf = vf_id; vf_id 3074 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c int ice_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool ena) vf_id 3085 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c if (vf_id >= pf->num_alloc_vfs) { vf_id 3086 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c netdev_err(netdev, "invalid VF id: %d\n", vf_id); vf_id 3090 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 3092 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c netdev_err(netdev, "VF %d in reset. Try again.\n", vf_id); vf_id 3137 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c int ice_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac) vf_id 3146 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c if (vf_id >= pf->num_alloc_vfs) { vf_id 3147 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c netdev_err(netdev, "invalid VF id: %d\n", vf_id); vf_id 3151 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 3153 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c netdev_err(netdev, "VF %d in reset. Try again.\n", vf_id); vf_id 3171 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf_id, mac); vf_id 3185 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c int ice_set_vf_trust(struct net_device *netdev, int vf_id, bool trusted) vf_id 3193 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c if (vf_id >= pf->num_alloc_vfs) { vf_id 3194 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c dev_err(&pf->pdev->dev, "invalid VF id: %d\n", vf_id); vf_id 3198 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 3200 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c dev_err(&pf->pdev->dev, "VF %d in reset. Try again.\n", vf_id); vf_id 3211 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf_id, trusted ? "" : "un"); vf_id 3224 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c int ice_set_vf_link_state(struct net_device *netdev, int vf_id, int link_state) vf_id 3233 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c if (vf_id >= pf->num_alloc_vfs) { vf_id 3234 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c dev_err(&pf->pdev->dev, "Invalid VF Identifier %d\n", vf_id); vf_id 3238 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c vf = &pf->vf[vf_id]; vf_id 3243 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c dev_err(&pf->pdev->dev, "vf %d in reset. Try again.\n", vf_id); vf_id 3273 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c ice_aq_send_msg_to_vf(hw, vf->vf_id, VIRTCHNL_OP_EVENT, vf_id 63 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h s16 vf_id; /* VF ID in the PF space */ vf_id 101 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h int ice_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac); vf_id 103 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h ice_get_vf_cfg(struct net_device *netdev, int vf_id, struct ifla_vf_info *ivi); vf_id 112 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h ice_set_vf_port_vlan(struct net_device *netdev, int vf_id, u16 vlan_id, u8 qos, vf_id 115 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h int ice_set_vf_trust(struct net_device *netdev, int vf_id, bool trusted); vf_id 117 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h int ice_set_vf_link_state(struct net_device *netdev, int vf_id, int link_state); vf_id 119 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h int ice_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool ena); vf_id 148 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h int __always_unused vf_id, u8 __always_unused *mac) vf_id 155 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h int __always_unused vf_id, vf_id 163 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h int __always_unused vf_id, bool __always_unused trusted) vf_id 170 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h int __always_unused vf_id, u16 __always_unused vid, vf_id 178 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h int __always_unused vf_id, bool __always_unused ena) vf_id 185 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h int __always_unused vf_id, int __always_unused link_state) vf_id 128 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c u16 vf_id; vf_id 134 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c pci_read_config_word(pdev, pos + PCI_SRIOV_VF_DID, &vf_id); vf_id 136 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c vfdev = pci_get_device(vendor, vf_id, NULL); vf_id 137 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c for (; vfdev; vfdev = pci_get_device(vendor, vf_id, vfdev)) { vf_id 426 drivers/net/ethernet/netronome/nfp/flower/main.c port->vf_id = i; vf_id 148 drivers/net/ethernet/netronome/nfp/nfp_port.c n = snprintf(name, len, "pf%dvf%d", port->pf_id, port->vf_id); vf_id 83 drivers/net/ethernet/netronome/nfp/nfp_port.h unsigned int vf_id; vf_id 2506 drivers/net/ethernet/qlogic/qed/qed_debug.c u8 port_id = 0, pf_id = 0, vf_id = 0, fid = 0; vf_id 2535 drivers/net/ethernet/qlogic/qed/qed_debug.c vf_id = split_id; vf_id 2573 drivers/net/ethernet/qlogic/qed/qed_debug.c (vf_id << PXP_PRETEND_CONCRETE_FID_VFID_SHIFT); vf_id 2604 drivers/net/ethernet/qlogic/qed/qed_dev.c u8 vf_id, max_num_vfs; vf_id 2655 drivers/net/ethernet/qlogic/qed/qed_dev.c for (vf_id = 0; vf_id < max_num_vfs; vf_id++) { vf_id 2656 drivers/net/ethernet/qlogic/qed/qed_dev.c concrete_fid = qed_vfid_to_concrete(p_hwfn, vf_id); vf_id 960 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 vf_id; vf_id 967 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 vf_id; vf_id 1345 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 vf_id; vf_id 1356 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 vf_id; vf_id 4261 drivers/net/ethernet/qlogic/qed/qed_hsi.h #define USTORM_VF_PF_CHANNEL_READY_OFFSET(vf_id) \ vf_id 4262 drivers/net/ethernet/qlogic/qed/qed_hsi.h (IRO[3].base + ((vf_id) * IRO[3].m1)) vf_id 4342 drivers/net/ethernet/qlogic/qed/qed_hsi.h #define MSTORM_ETH_VF_PRODS_OFFSET(vf_id, vf_queue_id) \ vf_id 4343 drivers/net/ethernet/qlogic/qed/qed_hsi.h (IRO[20].base + ((vf_id) * IRO[20].m1) + ((vf_queue_id) * IRO[20].m2)) vf_id 7122 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 vf_id; vf_id 7202 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 vf_id; vf_id 7271 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 vf_id; vf_id 302 drivers/net/ethernet/qlogic/qed/qed_hw.h u8 vf_id; vf_id 2841 drivers/net/ethernet/qlogic/qed/qed_l2.c if (!qed_iov_is_valid_vfid(p_hwfn, params->vf_id, false, vf_id 2844 drivers/net/ethernet/qlogic/qed/qed_l2.c params->vf_id); vf_id 2848 drivers/net/ethernet/qlogic/qed/qed_l2.c params->vport_id = params->vf_id + 1; vf_id 2423 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u8 vf_id, u8 num) vf_id 2433 drivers/net/ethernet/qlogic/qed/qed_mcp.c param |= (vf_id << DRV_MB_PARAM_CFG_VF_MSIX_VF_ID_SHIFT) & vf_id 2442 drivers/net/ethernet/qlogic/qed/qed_mcp.c DP_NOTICE(p_hwfn, "VF[%d]: MFW failed to set MSI-X\n", vf_id); vf_id 2447 drivers/net/ethernet/qlogic/qed/qed_mcp.c num, vf_id); vf_id 2475 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct qed_ptt *p_ptt, u8 vf_id, u8 num) vf_id 2478 drivers/net/ethernet/qlogic/qed/qed_mcp.c return qed_mcp_config_vf_msix_bb(p_hwfn, p_ptt, vf_id, num); vf_id 968 drivers/net/ethernet/qlogic/qed/qed_mcp.h struct qed_ptt *p_ptt, u8 vf_id, u8 num); vf_id 91 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); vf_id 152 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_ramrod->vf_id = GET_FIELD(concrete_vfid, PXP_CONCRETE_FID_VFID); vf_id 4043 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_vf = qed_sriov_get_vf_from_absid(p_hwfn, p_data->vf_id); vf_id 4680 drivers/net/ethernet/qlogic/qed/qed_sriov.c int vf_id, struct ifla_vf_info *ivi) vf_id 4691 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, false)) { vf_id 4693 drivers/net/ethernet/qlogic/qed/qed_sriov.c "VF index [%d] isn't active\n", vf_id); vf_id 4697 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info = qed_iov_get_public_vf_info(hwfn, vf_id, true); vf_id 4699 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_get_link(hwfn, vf_id, NULL, &link, NULL); vf_id 4702 drivers/net/ethernet/qlogic/qed/qed_sriov.c ivi->vf = vf_id; vf_id 4710 drivers/net/ethernet/qlogic/qed/qed_sriov.c ivi->spoofchk = qed_iov_spoofchk_get(hwfn, vf_id); vf_id 4714 drivers/net/ethernet/qlogic/qed/qed_sriov.c ivi->min_tx_rate = qed_iov_get_vf_min_rate(hwfn, vf_id); vf_id 4794 drivers/net/ethernet/qlogic/qed/qed_sriov.c int vf_id, int link_state) vf_id 4802 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, true)) { vf_id 4804 drivers/net/ethernet/qlogic/qed/qed_sriov.c "VF index [%d] isn't active\n", vf_id); vf_id 4813 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf = qed_iov_get_public_vf_info(hwfn, vf_id, true); vf_id 5042 drivers/net/ethernet/qlogic/qed/qed_sriov.c static void qed_update_mac_for_vf_trust_change(struct qed_hwfn *hwfn, int vf_id) vf_id 5049 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info = qed_iov_get_public_vf_info(hwfn, vf_id, true); vf_id 5050 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf = qed_iov_get_vf_info(hwfn, vf_id, true); vf_id 5058 drivers/net/ethernet/qlogic/qed/qed_sriov.c force_mac = qed_iov_bulletin_get_forced_mac(hwfn, vf_id); vf_id 5071 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->mac, vf_id); vf_id 5096 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->mac, vf_id); vf_id 5103 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_bulletin_set_mac(hwfn, empty_mac, vf_id); vf_id 133 drivers/net/ethernet/qlogic/qede/qede_filter.c params.vf_id = n->vfid - 1; vf_id 123 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c static int qlcnic_sriov_virtid_fn(struct qlcnic_adapter *adapter, int vf_id) vf_id 138 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c return (dev->devfn + offset + stride * vf_id) & 0xff; vf_id 20 drivers/pci/iov.c int pci_iov_virtfn_bus(struct pci_dev *dev, int vf_id) vf_id 25 drivers/pci/iov.c dev->sriov->stride * vf_id) >> 8); vf_id 28 drivers/pci/iov.c int pci_iov_virtfn_devfn(struct pci_dev *dev, int vf_id) vf_id 33 drivers/pci/iov.c dev->sriov->stride * vf_id) & 0xff; vf_id 492 drivers/scsi/bfa/bfa_defs.h u16 vf_id; /* vf_id of this logical port */ vf_id 507 drivers/scsi/bfa/bfa_defs.h u16 vf_id; /* vf_id of the IT nexus */ vf_id 1423 drivers/scsi/bfa/bfa_defs_svc.h u16 vf_id; /* vf_id of this logical port */ vf_id 1043 drivers/scsi/bfa/bfa_fc.h u32 vf_id:12; vf_id 2272 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_lunmask_add(struct bfa_s *bfa, u16 vf_id, wwn_t *pwwn, vf_id 2286 drivers/scsi/bfa/bfa_fcpim.c vf_id, *pwwn); vf_id 2334 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_lunmask_delete(struct bfa_s *bfa, u16 vf_id, wwn_t *pwwn, vf_id 2355 drivers/scsi/bfa/bfa_fcpim.c vf_id, *pwwn); vf_id 411 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t bfa_fcpim_lunmask_delete(struct bfa_s *bfa, u16 vf_id, vf_id 413 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t bfa_fcpim_lunmask_add(struct bfa_s *bfa, u16 vf_id, vf_id 1124 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->vf_id); vf_id 1343 drivers/scsi/bfa/bfa_fcs.c bfa_fcxp_send(fcxp, NULL, fabric->vf_id, fabric->lps->bfa_tag, vf_id 1437 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_vf_lookup(struct bfa_fcs_s *fcs, u16 vf_id) vf_id 1439 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fcs, vf_id); vf_id 1440 drivers/scsi/bfa/bfa_fcs.c if (vf_id == FC_VF_ID_NULL) vf_id 1468 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fcs, vf->vf_id); vf_id 1537 drivers/scsi/bfa/bfa_fcs.c if (fcs->port_vfid == vft->vf_id) vf_id 1540 drivers/scsi/bfa/bfa_fcs.c fabric = bfa_fcs_vf_lookup(fcs, (u16) vft->vf_id); vf_id 1558 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fcs, vft->vf_id); vf_id 186 drivers/scsi/bfa/bfa_fcs.h u16 vf_id; /* virtual fabric ID */ vf_id 290 drivers/scsi/bfa/bfa_fcs.h u16 vf_id, wwn_t lpwwn); vf_id 316 drivers/scsi/bfa/bfa_fcs.h u16 vf_id, struct bfa_fcs_vport_s *vport); vf_id 368 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcs_s *fcs, u16 vf_id, vf_id 372 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcs_s *fcs, u16 vf_id, vf_id 382 drivers/scsi/bfa/bfa_fcs.h u16 vf_id, wwn_t vpwwn); vf_id 797 drivers/scsi/bfa/bfa_fcs.h bfa_fcs_vf_t *bfa_fcs_vf_lookup(struct bfa_fcs_s *fcs, u16 vf_id); vf_id 429 drivers/scsi/bfa/bfa_fcs_fcpim.c aen_entry->aen_data.itnim.vf_id = rport->port->fabric->vf_id; vf_id 465 drivers/scsi/bfa/bfa_fcs_fcpim.c bfa_fcxp_send(fcxp, rport->bfa_rport, port->fabric->vf_id, port->lp_tag, vf_id 363 drivers/scsi/bfa/bfa_fcs_lport.c aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; vf_id 397 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, vf_id 431 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, vf_id 576 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, vf_id 633 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, vf_id 741 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, vf_id 1075 drivers/scsi/bfa/bfa_fcs_lport.c u16 vf_id, struct bfa_fcs_vport_s *vport) vf_id 1078 drivers/scsi/bfa/bfa_fcs_lport.c lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); vf_id 1891 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 2224 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 2545 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 3156 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 3357 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 3438 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 4403 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 4499 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 4578 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 4676 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 4750 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 4828 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 4911 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 5201 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 5401 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 5475 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, vf_id 5866 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) vf_id 5873 drivers/scsi/bfa/bfa_fcs_lport.c vf = bfa_fcs_vf_lookup(fcs, vf_id); vf_id 5875 drivers/scsi/bfa/bfa_fcs_lport.c bfa_trc(fcs, vf_id); vf_id 5969 drivers/scsi/bfa/bfa_fcs_lport.c #define __vport_vfid(__vp) ((__vp)->lport.fabric->vf_id) vf_id 6486 drivers/scsi/bfa/bfa_fcs_lport.c aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; vf_id 6708 drivers/scsi/bfa/bfa_fcs_lport.c u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, vf_id 6717 drivers/scsi/bfa/bfa_fcs_lport.c if (bfa_fcs_vport_lookup(fcs, vf_id, vport_cfg->pwwn) != NULL) vf_id 6732 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_attach(&vport->lport, fcs, vf_id, vport); vf_id 6758 drivers/scsi/bfa/bfa_fcs_lport.c u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, vf_id 6763 drivers/scsi/bfa/bfa_fcs_lport.c rc = bfa_fcs_vport_create(vport, fcs, vf_id, vport_cfg, vport_drv); vf_id 6867 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) vf_id 6872 drivers/scsi/bfa/bfa_fcs_lport.c bfa_trc(fcs, vf_id); vf_id 6875 drivers/scsi/bfa/bfa_fcs_lport.c fabric = bfa_fcs_vf_lookup(fcs, vf_id); vf_id 6877 drivers/scsi/bfa/bfa_fcs_lport.c bfa_trc(fcs, vf_id); vf_id 1718 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 1840 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 1870 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 1940 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 2091 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 2125 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 2195 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 2232 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 2267 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, vf_id 2287 drivers/scsi/bfa/bfa_fcs_rport.c rport_info.vf_id = port->fabric->vf_id; vf_id 2411 drivers/scsi/bfa/bfa_fcs_rport.c aen_entry->aen_data.rport.vf_id = rport->port->fabric->vf_id; vf_id 2932 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, rport->bfa_rport, port->fabric->vf_id, vf_id 2959 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, vf_id 3386 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, vf_id 814 drivers/scsi/bfa/bfa_svc.c send_req->vf_id = cpu_to_be16(reqi->vf_id); vf_id 1006 drivers/scsi/bfa/bfa_svc.c u16 vf_id, u8 lp_tag, bfa_boolean_t cts, enum fc_cos cos, vf_id 1021 drivers/scsi/bfa/bfa_svc.c reqi->vf_id = vf_id; vf_id 4913 drivers/scsi/bfa/bfa_svc.c m->vf_id = rp->rport_info.vf_id; vf_id 140 drivers/scsi/bfa/bfa_svc.h u16 vf_id; /* vsan tag if applicable */ vf_id 283 drivers/scsi/bfa/bfa_svc.h u16 vf_id; /* virtual fabric ID */ vf_id 322 drivers/scsi/bfa/bfa_svc.h u16 vf_id; vf_id 628 drivers/scsi/bfa/bfa_svc.h u16 vf_id, u8 lp_tag, vf_id 635 drivers/scsi/bfa/bfad.c bfad_vport_create(struct bfad_s *bfad, u16 vf_id, vf_id 651 drivers/scsi/bfa/bfad.c rc = bfa_fcs_vport_create(&vport->fcs_vport, &bfad->bfa_fcs, vf_id, vf_id 454 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->pwwn); vf_id 478 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->pwwn); vf_id 505 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->vpwwn); vf_id 536 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->pwwn); vf_id 576 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->pwwn); vf_id 603 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->pwwn); vf_id 642 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->pwwn); vf_id 690 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->pwwn); vf_id 732 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->pwwn); vf_id 767 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->pwwn); vf_id 801 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->vpwwn); vf_id 825 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->vpwwn); vf_id 853 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->vpwwn); vf_id 895 drivers/scsi/bfa/bfad_bsg.c fcs_vf = bfa_fcs_vf_lookup(&bfad->bfa_fcs, iocmd->vf_id); vf_id 1064 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->lpwwn); vf_id 1085 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->lpwwn); vf_id 1116 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->pwwn); vf_id 1145 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->lpwwn); vf_id 2112 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, iocmd->lpwwn); vf_id 2507 drivers/scsi/bfa/bfad_bsg.c fcs_vf = bfa_fcs_vf_lookup(&bfad->bfa_fcs, iocmd->vf_id); vf_id 2530 drivers/scsi/bfa/bfad_bsg.c fcs_vf = bfa_fcs_vf_lookup(&bfad->bfa_fcs, iocmd->vf_id); vf_id 2604 drivers/scsi/bfa/bfad_bsg.c iocmd->status = bfa_fcpim_lunmask_add(&bfad->bfa, iocmd->vf_id, vf_id 2608 drivers/scsi/bfa/bfad_bsg.c iocmd->vf_id, &iocmd->pwwn, vf_id 3330 drivers/scsi/bfa/bfad_bsg.c bfa_fcxp_send(hal_fcxp, drv_fcxp->bfa_rport, bsg_fcpt->vf_id, lp_tag, vf_id 3395 drivers/scsi/bfa/bfad_bsg.c fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, bsg_fcpt->vf_id, vf_id 176 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 292 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 300 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 308 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 316 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 326 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 337 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 346 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 358 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 366 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 376 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 384 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 392 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 399 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 438 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 447 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 456 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 744 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 751 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 763 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 772 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 808 drivers/scsi/bfa/bfad_bsg.h u16 vf_id; vf_id 289 drivers/scsi/bfa/bfad_drv.h bfa_status_t bfad_vport_create(struct bfad_s *bfad, u16 vf_id, vf_id 292 drivers/scsi/bfa/bfad_drv.h bfa_status_t bfad_vf_create(struct bfad_s *bfad, u16 vf_id, vf_id 347 drivers/scsi/bfa/bfi_ms.h __be16 vf_id; /* vsan tag if applicable */ vf_id 510 drivers/scsi/bfa/bfi_ms.h u16 vf_id; /* virtual fabric ID */ vf_id 803 drivers/scsi/csiostor/csio_lnode.c fcf_info->vf_id = ntohs(rsp->vf_id); vf_id 75 drivers/scsi/csiostor/csio_lnode.h uint16_t vf_id; vf_id 356 drivers/scsi/csiostor/t4fw_api_stor.h __be32 vf_id; vf_id 519 drivers/scsi/csiostor/t4fw_api_stor.h __be16 vf_id; vf_id 1556 drivers/scsi/qla2xxx/qla_fw.h uint16_t vf_id; vf_id 1175 drivers/scsi/qla2xxx/qla_sup.c le16_to_cpu(entry->vf_id), vf_id 94 include/linux/qed/qed_eth_if.h u8 vf_id; vf_id 46 include/linux/qed/qed_iov_if.h int (*get_config) (struct qed_dev *cdev, int vf_id, vf_id 49 include/linux/qed/qed_iov_if.h int (*set_link_state) (struct qed_dev *cdev, int vf_id,