Searched refs:sriov_max_vfs (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/hw/nvme/ |
H A D | subsys.c | 43 for (i = 0; i < n->params.sriov_max_vfs; i++) { in nvme_subsys_unreserve_cntlids() 59 int cntlid, nsid, num_rsvd, num_vfs = n->params.sriov_max_vfs; in nvme_subsys_register_ctrl()
|
H A D | nvme.h | 535 uint16_t sriov_max_vfs; member
|
H A D | ctrl.c | 7354 if (n->params.sriov_max_vfs) { in nvme_ctrl_reset() 8071 if (params->sriov_max_vfs) { in nvme_check_params() 8093 if (params->sriov_vq_flexible < params->sriov_max_vfs * 2) { in nvme_check_params() 8105 if (params->sriov_vi_flexible < params->sriov_max_vfs) { in nvme_check_params() 8107 " to %d (sriov_max_vfs)", params->sriov_max_vfs); in nvme_check_params() 8153 max_vfs = n->params.sriov_max_vfs; in nvme_init_state() 8287 n->params.sriov_max_vfs, n->params.sriov_max_vfs, in nvme_init_sriov() 8361 if (n->params.sriov_max_vfs) { in nvme_init_pci() 8422 uint16_t doe_offset = n->params.sriov_max_vfs ? in nvme_init_pci() 8445 if (!pci_is_vf(pci_dev) && n->params.sriov_max_vfs) { in nvme_init_pci() [all …]
|
/openbmc/qemu/docs/system/devices/ |
H A D | nvme.rst | 301 ``sriov_max_vfs`` (default: ``0``) 320 ``(sriov_vi_flexible / sriov_max_vfs)`` 325 ``(sriov_vq_flexible / sriov_max_vfs)`` 333 -device nvme,serial=deadbeef,subsys=subsys0,sriov_max_vfs=1,
|