Skip to content

vDPA/ifcvf: implement immediate initialization mechanism

Zhu Lingshan virtualization 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesNew
  2. v25 patches 11 repliesSuperseded
  3. v15 patches 19 repliesSuperseded

Changes in v3 from the cover letter

rename function ifcvf_stop_hw to ifcvf_stop (Jason)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5vDPA/ifcvf: virt queue ops take immediate actionsdrivers/vdpa/ifcvf/ifcvf_base.c drivers/vdpa/ifcvf/ifcvf_base.h drivers/vdpa/ifcvf/ifcvf_main.c+45 -390 replies
2/5vDPA/ifcvf: get_driver_features from virtio registersdrivers/vdpa/ifcvf/ifcvf_base.c drivers/vdpa/ifcvf/ifcvf_base.h drivers/vdpa/ifcvf/ifcvf_main.c+29 -230 replies
3/5vDPA/ifcvf: retire ifcvf_start_datapath and ifcvf_add_statusdrivers/vdpa/ifcvf/ifcvf_base.c drivers/vdpa/ifcvf/ifcvf_base.h drivers/vdpa/ifcvf/ifcvf_main.c+0 -430 replies
4/5vDPA/ifcvf: synchronize irqs in the reset routinedrivers/vdpa/ifcvf/ifcvf_base.c drivers/vdpa/ifcvf/ifcvf_base.h drivers/vdpa/ifcvf/ifcvf_main.c+40 -520 replies
5/5vDPA/ifcvf: a vendor driver should not set _CONFIG_S_FAILEDdrivers/vdpa/ifcvf/ifcvf_main.c+1 -30 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJason Wang
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/5] vDPA/ifcvf: implement immediate initialization mechanism

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 routine

Changes from V2:
rename function ifcvf_stop_hw to ifcvf_stop (Jason)

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 | 148 ++++++++++++++++++--------------
 drivers/vdpa/ifcvf/ifcvf_base.h |  19 ++--
 drivers/vdpa/ifcvf/ifcvf_main.c |  98 ++++-----------------
 3 files changed, 110 insertions(+), 155 deletions(-)
Signature · 6 lines
2.39.1

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization