[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH v1 0/2] vhost-vdpa: cache Virtio states
From: |
Shao-Chien Chiang |
Subject: |
[RFC PATCH v1 0/2] vhost-vdpa: cache Virtio states |
Date: |
Tue, 18 Apr 2023 21:01:05 +0800 |
Repetitive ioctls makes vdpa devices initialization and startup slow.
This patch series is to cache Virtio status, features, and config.
For each latency test, I use vdpa-sim-net as my vdpa device.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1579
Shao-Chien Chiang (2):
vhost-vdpa: cache device status and features
vhost-vdpa: cache device config
hw/virtio/vhost-vdpa.c | 60 ++++++++++++++++++++++++++--------
include/hw/virtio/vhost-vdpa.h | 4 +++
2 files changed, 50 insertions(+), 14 deletions(-)
--
2.25.1