mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/nvme: Expand VI/VQ resource to uint32
VI and VQ resources cover queue resources in each VFs in SR-IOV. Current maximum I/O queue pair size is 0xffff, we can expand them to cover the full number of I/O queue pairs. This patch also fixed Identify Secondary Controller List overflow due to expand of number of secondary controllers. Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Signed-off-by: Minwoo Im <minwoo.im@samsung.com> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
This commit is contained in:
parent
c6159d0e38
commit
15ef124c93
2 changed files with 6 additions and 6 deletions
|
@ -8484,10 +8484,10 @@ static Property nvme_props[] = {
|
|||
params.sriov_vq_flexible, 0),
|
||||
DEFINE_PROP_UINT16("sriov_vi_flexible", NvmeCtrl,
|
||||
params.sriov_vi_flexible, 0),
|
||||
DEFINE_PROP_UINT8("sriov_max_vi_per_vf", NvmeCtrl,
|
||||
params.sriov_max_vi_per_vf, 0),
|
||||
DEFINE_PROP_UINT8("sriov_max_vq_per_vf", NvmeCtrl,
|
||||
params.sriov_max_vq_per_vf, 0),
|
||||
DEFINE_PROP_UINT32("sriov_max_vi_per_vf", NvmeCtrl,
|
||||
params.sriov_max_vi_per_vf, 0),
|
||||
DEFINE_PROP_UINT32("sriov_max_vq_per_vf", NvmeCtrl,
|
||||
params.sriov_max_vq_per_vf, 0),
|
||||
DEFINE_PROP_BOOL("msix-exclusive-bar", NvmeCtrl, params.msix_exclusive_bar,
|
||||
false),
|
||||
DEFINE_PROP_UINT16("mqes", NvmeCtrl, params.mqes, 0x7ff),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue