]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/nvme: Expand VI/VQ resource to uint32
authorMinwoo Im <minwoo.im@samsung.com>
Wed, 29 May 2024 12:42:34 +0000 (21:42 +0900)
committerKlaus Jensen <k.jensen@samsung.com>
Thu, 11 Jul 2024 15:05:37 +0000 (17:05 +0200)
commit15ef124c93a4d4ba6b98b55492e3a1b3297248b0
tree788c396f8ca98b639e66010c758c9c0578c53ba1
parentc6159d0e384f4176e69555a9bae37ac21fe69b57
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>
hw/nvme/ctrl.c
hw/nvme/nvme.h