Home
last modified time | relevance | path

Searched refs:vf_num (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/drivers/misc/genwqe/
H A Dcard_debugfs.c175 unsigned int vf_num; in jtimer_show() local
182 for (vf_num = 0; vf_num < cd->num_vfs; vf_num++) { in jtimer_show()
184 vf_num + 1); in jtimer_show()
185 seq_printf(s, " VF%-2d 0x%016llx %d msec\n", vf_num, jtimer, in jtimer_show()
186 cd->vf_jobtimeout_msec[vf_num]); in jtimer_show()
196 unsigned int vf_num; in queue_working_time_show() local
202 for (vf_num = 0; vf_num < cd->num_vfs; vf_num++) { in queue_working_time_show()
203 t = genwqe_read_vreg(cd, IO_SLC_VF_QUEUE_WTIME, vf_num + 1); in queue_working_time_show()
204 seq_printf(s, " VF%-2d 0x%016llx\n", vf_num, t); in queue_working_time_show()
/openbmc/linux/include/linux/mlx5/
H A Dvport.h81 u8 port_num, u16 vf_num, u16 gid_index,
84 u8 port_num, u16 vf_num, u16 pkey_index,
88 u16 vf_num,
/openbmc/qemu/hw/pci/
H A Dpcie_sriov.c24 const char *name, uint16_t vf_num);
145 uint16_t vf_num) in register_vf() argument
149 dev->exp.sriov_vf.vf_number = vf_num; in register_vf()
H A Dpci.c1437 uint32_t vf_num = (d->devfn - (pf->devfn + vf_offset)) / vf_stride; in pci_config_get_bar_addr() local
1444 new_addr += vf_num * size; in pci_config_get_bar_addr()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c518 u8 port_num, u16 vf_num, u16 gid_index, in mlx5_query_hca_vport_gid() argument
534 vf_num, gid_index, tbsz); in mlx5_query_hca_vport_gid()
556 MLX5_SET(query_hca_vport_gid_in, in, vport_number, vf_num); in mlx5_query_hca_vport_gid()
584 u8 port_num, u16 vf_num, u16 pkey_index, in mlx5_query_hca_vport_pkey() argument
621 MLX5_SET(query_hca_vport_pkey_in, in, vport_number, vf_num); in mlx5_query_hca_vport_pkey()
650 u16 vf_num, in mlx5_query_hca_vport_context() argument
671 MLX5_SET(query_hca_vport_context_in, in, vport_number, vf_num); in mlx5_query_hca_vport_context()
/openbmc/linux/drivers/vdpa/solidrun/
H A Dsnet_vdpa.h116 u32 vf_num; member
H A Dsnet_main.c700 cfg->vf_num = psnet_read32(psnet, off); in psnet_read_cfg()
931 SNET_DBG(pdev, "Enable %u virtual functions\n", psnet->cfg.vf_num); in snet_vdpa_probe_pf()
932 ret = pci_enable_sriov(pdev, psnet->cfg.vf_num); in snet_vdpa_probe_pf()
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Dcn23xx_pf_device.c407 u64 vf_num; in cn23xx_pf_setup_global_input_regs() local
427 vf_num = q_no / oct->sriov_info.rings_per_vf; in cn23xx_pf_setup_global_input_regs()
428 vf_num += 1; /* VF1, VF2,........ */ in cn23xx_pf_setup_global_input_regs()
430 vf_num = 0; in cn23xx_pf_setup_global_input_regs()
433 reg_val |= vf_num << CN23XX_PKT_INPUT_CTL_VF_NUM_POS; in cn23xx_pf_setup_global_input_regs()
H A Docteon_device.h457 u16 vf_num; member
H A Dcn23xx_vf_device.c630 oct->vf_num = (reg_val >> CN23XX_PKT_INPUT_CTL_VF_NUM_POS) & in cn23xx_setup_octeon_vf_device()
H A Dlio_core.c1127 oct->octeon_id, oct->vf_num, i); in octeon_setup_interrupt()
1189 oct->octeon_id, oct->vf_num, 0); in octeon_setup_interrupt()
H A Dlio_main.c4001 u64 *data, vf_num; in octeon_recv_vf_drv_notice() local
4007 vf_num = data[0]; in octeon_recv_vf_drv_notice()
4008 octeon_swap_8B_data(&vf_num, 1); in octeon_recv_vf_drv_notice()
4009 vf_idx = (int)vf_num - 1; in octeon_recv_vf_drv_notice()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_switch.h44 u8 vf_num; member
H A Dice_lib.c294 ctxt->vf_num = vsi->vf->vf_id; in ice_vsi_delete_from_hw()
1273 ctxt->vf_num = vsi->vf->vf_id + hw->func_caps.vf_base_id; in ice_vsi_init()
3470 ctx->vf_num = 0; in ice_vsi_cfg_tc()
H A Dice_main.c1738 u16 vf_num = (reg & GL_MDET_TX_PQM_VF_NUM_M) >> in ice_handle_mdd_event() local
1747 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1755 u16 vf_num = (reg & GL_MDET_TX_TCLAN_VF_NUM_M) >> in ice_handle_mdd_event() local
1764 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1772 u16 vf_num = (reg & GL_MDET_RX_VF_NUM_M) >> in ice_handle_mdd_event() local
1781 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ae_adapt.c57 int vf_num = rcb_comm->max_vfn; in hns_ae_get_base_ring_pair() local
59 return &rcb_comm->ring_pair_cb[port * q_num * vf_num]; in hns_ae_get_base_ring_pair()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c1091 u64 vf_num; in otx2_add_flow() local
1116 vf_num = ethtool_get_flow_spec_ring_vf(fsp->ring_cookie); in otx2_add_flow()
1117 if (!is_otx2_vf(pfvf->pcifunc) && !vf_num && in otx2_add_flow()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h169 u8 vf_num; member
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.h2186 u8 vf_num; member
2465 u32 vf_num);
2501 int vf_num);
H A Dbe_cmds.c4396 adapter->vf_num = desc->vf_num; in be_cmd_get_func_config()
4609 nic_desc.vf_num = domain; in be_cmd_config_qos()
4656 desc.nic_vft.vf_num = 0; in be_cmd_set_sriov_config()
4731 int vf_num) in be_cmd_get_if_id() argument
4750 req->hdr.domain = vf_num + 1; in be_cmd_get_if_id()
H A Dbe.h648 u8 vf_num; /* Numbering used by FW, starts at 1 */ member
/openbmc/linux/drivers/crypto/hisilicon/
H A Dqm.c1457 u32 reg_val, type, vf_num; in qm_log_hw_error() local
1472 vf_num = reg_val & QM_DB_TIMEOUT_VF; in qm_log_hw_error()
1474 qm_db_timeout[type], vf_num); in qm_log_hw_error()
1479 vf_num = reg_val & QM_FIFO_OVERFLOW_VF; in qm_log_hw_error()
1483 qm_fifo_overflow[type], vf_num); in qm_log_hw_error()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_type.h1107 u8 vf_num; member
H A Di40e_main.c5879 ctxt.vf_num = 0; in i40e_vsi_config_tc()
6311 ctxt.vf_num = 0; in i40e_add_channel()
7937 ctxt.vf_num = 0; in i40e_setup_macvlans()
10320 ctxt.vf_num = 0; in i40e_enable_pf_switch_lb()
10356 ctxt.vf_num = 0; in i40e_disable_pf_switch_lb()
11236 event, queue, pf_num, vf_num); in i40e_handle_mdd_event()
14009 ctxt.vf_num = 0; in i40e_add_vsi()
14036 ctxt.vf_num = 0; in i40e_add_vsi()
14059 ctxt.vf_num = 0; in i40e_add_vsi()
14098 ctxt.vf_num = 0; in i40e_add_vsi()
[all …]
/openbmc/qemu/hw/net/
H A Dtrace-events296 igb_set_pfmailbox(uint32_t vf_num, uint32_t val) "PFMailbox[%d]: 0x%x"
297 igb_set_vfmailbox(uint32_t vf_num, uint32_t val) "VFMailbox[%d]: 0x%x"

12