Home
last modified time | relevance | path

Searched refs:num_vfs (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/nvme/
H A Dsubsys.c59 int cntlid, num_rsvd, num_vfs = n->params.sriov_max_vfs; in nvme_subsys_register_ctrl() local
64 n->sec_ctrl_list = g_new0(NvmeSecCtrlEntry, num_vfs); in nvme_subsys_register_ctrl()
77 num_rsvd = nvme_subsys_reserve_cntlids(n, cntlid + 1, num_vfs); in nvme_subsys_register_ctrl()
78 if (num_rsvd != num_vfs) { in nvme_subsys_register_ctrl()
/openbmc/qemu/hw/pci/
H A Dpcie_sriov.c37 uint16_t num_vfs; in register_vfs() local
42 num_vfs = pci_get_word(dev->config + sriov_cap + PCI_SRIOV_NUM_VF); in register_vfs()
45 PCI_FUNC(dev->devfn), num_vfs); in register_vfs()
46 for (i = 0; i < num_vfs; i++) { in register_vfs()
75 uint16_t num_vfs = pci_get_word(cfg + PCI_SRIOV_NUM_VF); in consume_config() local
80 if (num_vfs <= pci_get_word(cfg + PCI_SRIOV_TOTAL_VF)) { in consume_config()
H A Dtrace-events22 sriov_register_vfs(const char *name, int slot, int function, int num_vfs) "%s %02x:%x: creating %d …