aboutsummaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2022-10-19 22:28:02 +0200
committerKlaus Jensen <k.jensen@samsung.com>2022-11-02 09:23:05 +0100
commitd38cc6fd1cafc3f834bb529f79bfc23089e9e54f (patch)
tree4bc5c8dfe26210473e957a84ab5e25f4678e078f /hw/intc
parenta11f65ec1b8adcb012b89c92819cbda4dc25aaf1 (diff)
downloadqemu-d38cc6fd1cafc3f834bb529f79bfc23089e9e54f.zip
qemu-d38cc6fd1cafc3f834bb529f79bfc23089e9e54f.tar.gz
qemu-d38cc6fd1cafc3f834bb529f79bfc23089e9e54f.tar.bz2
hw/nvme: reenable cqe batching
Commit 2e53b0b45024 ("hw/nvme: Use ioeventfd to handle doorbell updates") had the unintended effect of disabling batching of CQEs. This patch changes the sq/cq timers to bottom halfs and instead of calling nvme_post_cqes() immediately (causing an interrupt per cqe), we defer the call. | iops -----------------+------ baseline | 138k +cqe batching | 233k Fixes: 2e53b0b45024 ("hw/nvme: Use ioeventfd to handle doorbell updates") Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Jinhao Fan <fanjinhao21s@ict.ac.cn> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions