Home
last modified time | relevance | path

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

12

/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()
179 return (vsi && (vsi->vf_id == vf->vf_id)); in i40e_vc_isvalid_vsi_id()
267 reg_idx = I40E_VPINT_LNKLST0(vf->vf_id); in i40e_config_irq_link_list()
270 ((pf->hw.func_caps.num_msix_vectors_vf - 1) * vf->vf_id) + in i40e_config_irq_link_list()
413 qtx_ctl |= (((vf->vf_id + hw->func_caps.vf_base_id) in i40e_config_vsi_tx_queue()
528 vsi = i40e_vsi_setup(pf, type, pf->vsi[pf->lan_vsi]->seid, vf->vf_id); in i40e_alloc_vsi_res()
533 vf->vf_id, pf->hw.aq.asq_last_status); in i40e_alloc_vsi_res()
[all …]
Di40e_virtchnl_pf.h76 u16 vf_id; member
114 int i40e_vc_process_vf_msg(struct i40e_pf *pf, u16 vf_id, u32 v_opcode,
121 int i40e_ndo_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac);
123 int vf_id, u16 vlan_id, u8 qos);
124 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate,
127 int vf_id, struct ifla_vf_info *ivi);
128 int i40e_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link);
129 int i40e_ndo_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool enable);
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c22 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) in bnxt_vf_ndo_prep() argument
32 if (vf_id >= bp->pf.active_vfs) { in bnxt_vf_ndo_prep()
33 netdev_err(bp->dev, "Invalid VF id %d\n", vf_id); in bnxt_vf_ndo_prep()
39 int bnxt_set_vf_spoofchk(struct net_device *dev, int vf_id, bool setting) in bnxt_set_vf_spoofchk() argument
48 rc = bnxt_vf_ndo_prep(bp, vf_id); in bnxt_set_vf_spoofchk()
52 vf = &bp->pf.vf[vf_id]; in bnxt_set_vf_spoofchk()
67 req.vf_id = cpu_to_le16(vf->fw_fid); in bnxt_set_vf_spoofchk()
80 int bnxt_get_vf_config(struct net_device *dev, int vf_id, in bnxt_get_vf_config() argument
87 rc = bnxt_vf_ndo_prep(bp, vf_id); in bnxt_get_vf_config()
91 ivi->vf = vf_id; in bnxt_get_vf_config()
[all …]
/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()
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 …]
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_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,
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()
Dbfi_ms.h354 __be16 vf_id; /* vsan tag if applicable */ member
517 u16 vf_id; /* virtual fabric ID */ member
Dbfa_defs.h499 u16 vf_id; /* vf_id of this logical port */ member
514 u16 vf_id; /* vf_id of the IT nexus */ member
/drivers/net/ethernet/cavium/thunder/
Dnic.h272 u8 vf_id; member
362 u8 vf_id; member
398 u8 vf_id; member
405 u8 vf_id; member
412 u8 vf_id; member
420 u8 vf_id; member
427 u8 vf_id; member
437 u8 vf_id; member
454 u8 vf_id; member
460 u8 vf_id; member
[all …]
Dnic_main.c148 mbx.nic_cfg.vf_id = vf; in nic_mbx_send_ready()
219 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); in nic_get_bgx_stats()
220 lmac = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); in nic_get_bgx_stats()
223 mbx.bgx_stats.vf_id = bgx->vf_id; in nic_get_bgx_stats()
232 nic_send_msg_to_vf(nic, bgx->vf_id, &mbx); in nic_get_bgx_stats()
364 vnic = cfg->vf_id; in nic_config_cpi()
388 qset = cfg->vf_id; in nic_config_cpi()
429 nic->cpi_base[cfg->vf_id] = cpi_base; in nic_config_cpi()
430 nic->rssi_base[cfg->vf_id] = rssi_base; in nic_config_cpi()
458 rssi_base = nic->rssi_base[cfg->vf_id] + cfg->tbl_offset; in nic_config_rss()
[all …]
Dnicvf_main.c146 (mbx->msg.msg & 0xFF), nic->vf_id); in nicvf_send_msg_to_pf()
198 nic->vf_id = mbx.nic_cfg.vf_id & 0x7F; in nicvf_handle_mbx_intr()
276 mbx.mac.vf_id = nic->vf_id; in nicvf_hw_set_mac_addr()
287 mbx.cpi_cfg.vf_id = nic->vf_id; in nicvf_config_cpi()
299 mbx.rss_size.vf_id = nic->vf_id; in nicvf_get_rss_size()
310 mbx.rss_cfg.vf_id = nic->vf_id; in nicvf_config_rss()
389 mbx.sqs_alloc.vf_id = nic->vf_id; in nicvf_request_sqs()
409 mbx.nicvf.vf_id = nic->vf_id; in nicvf_request_sqs()
899 nic->vf_id, irq); in nicvf_register_interrupts()
903 nic->vf_id, irq - NICVF_INTR_ID_SQ); in nicvf_register_interrupts()
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.c194 static int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) in bnx2x_get_vf_id() argument
218 *vf_id = (me_reg & ME_REG_VF_NUM_MASK) >> ME_REG_VF_NUM_SHIFT; in bnx2x_get_vf_id()
230 u32 vf_id; in bnx2x_vfpf_acquire() local
236 if (bnx2x_get_vf_id(bp, &vf_id)) { in bnx2x_vfpf_acquire()
241 req->vfdev_info.vf_id = vf_id; in bnx2x_vfpf_acquire()
400 u32 rc, vf_id; in bnx2x_vfpf_release() local
405 if (bnx2x_get_vf_id(bp, &vf_id)) { in bnx2x_vfpf_release()
410 req->vf_id = vf_id; in bnx2x_vfpf_release()
494 u32 vf_id; in bnx2x_vfpf_close_vf() local
499 if (bnx2x_get_vf_id(bp, &vf_id)) in bnx2x_vfpf_close_vf()
[all …]
Dbnx2x_vfpf.h127 u8 vf_id; /* ME register value */ member
355 u16 vf_id; /* for debug */ member
362 u16 vf_id; member
/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c143 for (ae_handle->vf_id = 0; in hns_ae_get_handle()
144 ae_handle->vf_id < vfnum_per_port; ae_handle->vf_id++) { in hns_ae_get_handle()
149 if (ae_handle->vf_id >= vfnum_per_port) { in hns_ae_get_handle()
232 ret = hns_mac_change_vf_addr(mac_cb, handle->vf_id, p); in hns_ae_set_mac_address()
/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()
/drivers/net/ethernet/qlogic/qed/
Dqed_hw.h252 u8 vf_id; member
/drivers/scsi/csiostor/
Dt4fw_api_stor.h356 __be32 vf_id; member
519 __be16 vf_id; member
Dcsio_lnode.h75 uint16_t vf_id; member

12