Re: [PATCH V2 0/5] vDPA/ifcvf: implement immediate initialization mechanism

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 5/9/2023 2:05 AM, Zhu Lingshan wrote:
Formerly, ifcvf driver has implemented a lazy-initialization mechanism
for the virtqueues and other config space contents,
it would store all configurations that passed down from the userspace,
then load them to the device config space upon DRIVER_OK.

This can not serve live migration, so this series implement an
immediate initialization mechanism, which means rather than the
former store-load process, the virtio operations like vq ops
would take immediate actions by access the virtio registers.

This series also implement irq synchronization in the reset

Changes from V1:
1)pull device status in devce_reset (Jason)
2)simplify the procedure which sycn irqs (Jason)
3)fix typos(Michael)

Zhu Lingshan (5):
   vDPA/ifcvf: virt queue ops take immediate actions
   vDPA/ifcvf: get_driver_features from virtio registers
   vDPA/ifcvf: retire ifcvf_start_datapath and ifcvf_add_status
   vDPA/ifcvf: synchronize irqs in the reset routine
   vDPA/ifcvf: a vendor driver should not set _CONFIG_S_FAILED

  drivers/vdpa/ifcvf/ifcvf_base.c | 146 ++++++++++++++++++--------------
  drivers/vdpa/ifcvf/ifcvf_base.h |  17 ++--
  drivers/vdpa/ifcvf/ifcvf_main.c |  98 ++++-----------------
  3 files changed, 108 insertions(+), 153 deletions(-)

Virtualization mailing list

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux