Home
last modified time | relevance | path

Searched refs:vf_id (Results 1 – 38 of 38) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c51 int abs_vf_id = vf->vf_id + hw->func_caps.vf_base_id; in i40e_vc_vf_broadcast()
77 int abs_vf_id = vf->vf_id + hw->func_caps.vf_base_id; in i40e_vc_notify_vf_link_state()
136 if (!vf || vf->vf_id >= vf->pf->num_alloc_vfs) in i40e_vc_notify_vf_reset()
144 abs_vf_id = vf->vf_id + vf->pf->hw.func_caps.vf_base_id; in i40e_vc_notify_vf_reset()
166 reg = rd32(hw, I40E_VPGEN_VFRTRIG(vf->vf_id)); in i40e_vc_disable_vf()
168 wr32(hw, I40E_VPGEN_VFRTRIG(vf->vf_id), reg); in i40e_vc_disable_vf()
184 return (vsi && (vsi->vf_id == vf->vf_id)); in i40e_vc_isvalid_vsi_id()
272 reg_idx = I40E_VPINT_LNKLST0(vf->vf_id); in i40e_config_irq_link_list()
275 ((pf->hw.func_caps.num_msix_vectors_vf - 1) * vf->vf_id) + in i40e_config_irq_link_list()
408 qtx_ctl |= (((vf->vf_id + hw->func_caps.vf_base_id) in i40e_config_vsi_tx_queue()
[all …]
Di40e_virtchnl_pf.h75 u16 vf_id; member
110 int i40e_vc_process_vf_msg(struct i40e_pf *pf, u16 vf_id, u32 v_opcode,
117 int i40e_ndo_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac);
119 int vf_id, u16 vlan_id, u8 qos);
120 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate,
123 int vf_id, struct ifla_vf_info *ivi);
124 int i40e_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link);
125 int i40e_ndo_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool enable);
Di40e_ethtool.c1921 fsp->h_ext.data[1] = htonl(vsi->vf_id); in i40e_get_ethtool_fdir_entry()
2219 u16 vf_id; in i40e_add_fdir_ethtool() local
2285 vf_id = ntohl(fsp->h_ext.data[1]); in i40e_add_fdir_ethtool()
2287 input->dest_vsi = pf->vf[vf_id].lan_vsi_id; in i40e_add_fdir_ethtool()
2288 if (input->q_index >= pf->vf[vf_id].num_queue_pairs) { in i40e_add_fdir_ethtool()
Di40e.h503 u16 vf_id; /* Virtual function ID for SRIOV VSIs */ member
Di40e_main.c5334 u16 vf_id; in i40e_handle_lan_overflow_event() local
5342 vf_id = (u16)((qtx_ctl & I40E_QTX_CTL_VFVM_INDX_MASK) in i40e_handle_lan_overflow_event()
5344 vf_id -= hw->func_caps.vf_base_id; in i40e_handle_lan_overflow_event()
5345 vf = &pf->vf[vf_id]; in i40e_handle_lan_overflow_event()
8388 ctxt.vf_num = vsi->vf_id + hw->func_caps.vf_base_id; in i40e_add_vsi()
8405 if (pf->vf[vsi->vf_id].spoofchk) { in i40e_add_vsi()
8795 vsi->vf_id = param1; in i40e_vsi_setup()
Di40e_adminq_cmd.h700 u8 vf_id; member
Di40e_common.c1554 cmd->vf_id = vsi_ctx->vf_num; in i40e_aq_add_vsi()
/linux-4.1.27/drivers/scsi/bfa/
Dbfad_bsg.h183 u16 vf_id; member
299 u16 vf_id; member
307 u16 vf_id; member
315 u16 vf_id; member
323 u16 vf_id; member
333 u16 vf_id; member
344 u16 vf_id; member
353 u16 vf_id; member
365 u16 vf_id; member
373 u16 vf_id; member
[all …]
Dbfa_fcs.h193 u16 vf_id; /* virtual fabric ID */ member
297 u16 vf_id, wwn_t lpwwn);
323 u16 vf_id, struct bfa_fcs_vport_s *vport);
375 struct bfa_fcs_s *fcs, u16 vf_id,
379 struct bfa_fcs_s *fcs, u16 vf_id,
389 u16 vf_id, wwn_t vpwwn);
804 bfa_fcs_vf_t *bfa_fcs_vf_lookup(struct bfa_fcs_s *fcs, u16 vf_id);
Dbfa_fcs_lport.c359 aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; in bfa_fcs_lport_aen_post()
393 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_ls_rjt()
427 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_fcgs_rjt()
572 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_echo()
629 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_rnid()
737 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_abts_acc()
1071 u16 vf_id, struct bfa_fcs_vport_s *vport) in bfa_fcs_lport_attach() argument
1074 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lport_attach()
1887 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rhba()
2220 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rprt()
[all …]
Dbfad_bsg.c461 iocmd->vf_id, iocmd->pwwn); in bfad_iocmd_lport_get_attr()
485 iocmd->vf_id, iocmd->pwwn); in bfad_iocmd_lport_get_stats()
512 iocmd->vf_id, iocmd->vpwwn); in bfad_iocmd_lport_reset_stats()
543 iocmd->vf_id, iocmd->pwwn); in bfad_iocmd_lport_get_iostats()
583 iocmd->vf_id, iocmd->pwwn); in bfad_iocmd_lport_get_rports()
610 iocmd->vf_id, iocmd->pwwn); in bfad_iocmd_rport_get_attr()
649 iocmd->vf_id, iocmd->pwwn); in bfad_iocmd_rport_get_addr()
697 iocmd->vf_id, iocmd->pwwn); in bfad_iocmd_rport_get_stats()
739 iocmd->vf_id, iocmd->pwwn); in bfad_iocmd_rport_clr_stats()
774 iocmd->vf_id, iocmd->pwwn); in bfad_iocmd_rport_set_speed()
[all …]
Dbfa_fcs.c1250 bfa_trc(fabric->fcs, fabric->vf_id); in bfa_fcs_fabric_addvport()
1469 bfa_fcxp_send(fcxp, NULL, fabric->vf_id, fabric->lps->bfa_tag, in bfa_fcs_fabric_send_flogi_acc()
1563 bfa_fcs_vf_lookup(struct bfa_fcs_s *fcs, u16 vf_id) in bfa_fcs_vf_lookup() argument
1565 bfa_trc(fcs, vf_id); in bfa_fcs_vf_lookup()
1566 if (vf_id == FC_VF_ID_NULL) in bfa_fcs_vf_lookup()
1594 bfa_trc(fcs, vf->vf_id); in bfa_fcs_vf_get_ports()
1669 if (fcs->port_vfid == vft->vf_id) in bfa_fcs_uf_recv()
1672 fabric = bfa_fcs_vf_lookup(fcs, (u16) vft->vf_id); in bfa_fcs_uf_recv()
1690 bfa_trc(fcs, vft->vf_id); in bfa_fcs_uf_recv()
Dbfad_drv.h296 bfa_status_t bfad_vport_create(struct bfad_s *bfad, u16 vf_id,
299 bfa_status_t bfad_vf_create(struct bfad_s *bfad, u16 vf_id,
Dbfa_fcs_rport.c1730 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_plogi()
1852 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_plogiacc()
1882 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_adisc()
1952 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_nsdisc()
2103 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_logo()
2137 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_send_logo_acc()
2207 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_process_prli()
2244 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_rport_process_rpsc()
2279 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, in bfa_fcs_rport_process_adisc()
2299 rport_info.vf_id = port->fabric->vf_id; in bfa_fcs_rport_hal_online()
[all …]
Dbfa_svc.h147 u16 vf_id; /* vsan tag if applicable */ member
290 u16 vf_id; /* virtual fabric ID */ member
329 u16 vf_id; member
635 u16 vf_id, u8 lp_tag,
Dbfa_fcpim.h418 bfa_status_t bfa_fcpim_lunmask_delete(struct bfa_s *bfa, u16 vf_id,
420 bfa_status_t bfa_fcpim_lunmask_add(struct bfa_s *bfa, u16 vf_id,
Dbfi_ms.h354 __be16 vf_id; /* vsan tag if applicable */ member
517 u16 vf_id; /* virtual fabric ID */ member
Dbfa_fcs_fcpim.c436 aen_entry->aen_data.itnim.vf_id = rport->port->fabric->vf_id; in bfa_fcs_itnim_aen_post()
472 bfa_fcxp_send(fcxp, rport->bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_itnim_send_prli()
Dbfa_defs.h499 u16 vf_id; /* vf_id of this logical port */ member
514 u16 vf_id; /* vf_id of the IT nexus */ member
Dbfa_svc.c864 send_req->vf_id = cpu_to_be16(reqi->vf_id); in bfa_fcxp_queue()
1056 u16 vf_id, u8 lp_tag, bfa_boolean_t cts, enum fc_cos cos, in bfa_fcxp_send() argument
1071 reqi->vf_id = vf_id; in bfa_fcxp_send()
5018 m->vf_id = rp->rport_info.vf_id; in bfa_rport_send_fwcreate()
Dbfa_fc.h1050 u32 vf_id:12; member
Dbfad.c647 bfad_vport_create(struct bfad_s *bfad, u16 vf_id, in bfad_vport_create() argument
663 rc = bfa_fcs_vport_create(&vport->fcs_vport, &bfad->bfa_fcs, vf_id, in bfad_vport_create()
Dbfa_fcpim.c2279 bfa_fcpim_lunmask_add(struct bfa_s *bfa, u16 vf_id, wwn_t *pwwn, in bfa_fcpim_lunmask_add() argument
2293 vf_id, *pwwn); in bfa_fcpim_lunmask_add()
2341 bfa_fcpim_lunmask_delete(struct bfa_s *bfa, u16 vf_id, wwn_t *pwwn, in bfa_fcpim_lunmask_delete() argument
2362 vf_id, *pwwn); in bfa_fcpim_lunmask_delete()
Dbfa_defs_svc.h1430 u16 vf_id; /* vf_id of this logical port */ member
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c192 static int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) in bnx2x_get_vf_id() argument
216 *vf_id = (me_reg & ME_REG_VF_NUM_MASK) >> ME_REG_VF_NUM_SHIFT; in bnx2x_get_vf_id()
228 u32 vf_id; in bnx2x_vfpf_acquire() local
234 if (bnx2x_get_vf_id(bp, &vf_id)) { in bnx2x_vfpf_acquire()
239 req->vfdev_info.vf_id = vf_id; in bnx2x_vfpf_acquire()
393 u32 rc, vf_id; in bnx2x_vfpf_release() local
398 if (bnx2x_get_vf_id(bp, &vf_id)) { in bnx2x_vfpf_release()
403 req->vf_id = vf_id; in bnx2x_vfpf_release()
487 u32 vf_id; in bnx2x_vfpf_close_vf() local
492 if (bnx2x_get_vf_id(bp, &vf_id)) in bnx2x_vfpf_close_vf()
[all …]
Dbnx2x_vfpf.h119 u8 vf_id; /* ME register value */ member
344 u16 vf_id; /* for debug */ member
351 u16 vf_id; member
Dbnx2x_hsi.h5087 u8 vf_id; member
5098 u8 vf_id; member
5109 u8 vf_id; member
5404 u8 vf_id; member
5410 u8 vf_id;
Dbnx2x_sriov.c1805 abs_vfid = elem->message.data.vf_flr_event.vf_id; in bnx2x_iov_eq_sp_event()
1810 abs_vfid = elem->message.data.malicious_vf_event.vf_id; in bnx2x_iov_eq_sp_event()
Dbnx2x_main.c949 sp_sb_data.p_func.vf_id, in bnx2x_panic_dump()
1045 sb_data_e2.common.p_func.vf_id, in bnx2x_panic_dump()
1053 sb_data_e1x.common.p_func.vf_id, in bnx2x_panic_dump()
5923 sb_data_e2.common.p_func.vf_id = vfid; in bnx2x_init_sb()
5938 sb_data_e1x.common.p_func.vf_id = 0xff; in bnx2x_init_sb()
6053 sp_sb_data.p_func.vf_id = 0xff; in bnx2x_init_def_sb()
/linux-4.1.27/drivers/pci/
Diov.c22 int pci_iov_virtfn_bus(struct pci_dev *dev, int vf_id) in pci_iov_virtfn_bus() argument
27 dev->sriov->stride * vf_id) >> 8); in pci_iov_virtfn_bus()
30 int pci_iov_virtfn_devfn(struct pci_dev *dev, int vf_id) in pci_iov_virtfn_devfn() argument
35 dev->sriov->stride * vf_id) & 0xff; in pci_iov_virtfn_devfn()
/linux-4.1.27/drivers/scsi/csiostor/
Dt4fw_api_stor.h356 __be32 vf_id; member
519 __be16 vf_id; member
Dcsio_lnode.h75 uint16_t vf_id; member
Dcsio_lnode.c785 fcf_info->vf_id = ntohs(rsp->vf_id); in csio_ln_read_fcf_cbfn()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_common.c119 static int qlcnic_sriov_virtid_fn(struct qlcnic_adapter *adapter, int vf_id) in qlcnic_sriov_virtid_fn() argument
132 return (dev->devfn + offset + stride * vf_id) & 0xff; in qlcnic_sriov_virtid_fn()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_fw.h1415 uint16_t vf_id; member
Dqla_sup.c1115 le16_to_cpu(entry->vf_id), in qla2xxx_flash_npiv_conf()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_adminq_cmd.h698 u8 vf_id; member
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c6497 unsigned short vf_id; in ixgbe_check_for_bad_vf() local
6519 pci_read_config_word(pdev, pos + PCI_SRIOV_VF_DID, &vf_id); in ixgbe_check_for_bad_vf()
6522 vfdev = pci_get_device(pdev->vendor, vf_id, NULL); in ixgbe_check_for_bad_vf()
6533 vfdev = pci_get_device(pdev->vendor, vf_id, vfdev); in ixgbe_check_for_bad_vf()