numam-dpdk/drivers/vdpa/ifc/base
Abhishek Maheshwari 518a27ef6b vdpa/ifc/base: wait for disabling before saving queue state
Some ifc hardware require synchronization between disabling a queue and
saving queue-state from LM registers. When queue is disabled from vDPA
driver, ifc device stops executing new virtio-cmds and then updates LM
registers with used/avail index. Before saving the queue-state, vDPA
driver should wait until the queue is disabled from backend.

Fixes: 5d75517bef ("vdpa/ifc/base: access block device registers")
Cc: stable@dpdk.org

Signed-off-by: Abhishek Maheshwari <abhishek.maheshwari@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
Acked-by: Andy Pei <andy.pei@intel.com>
Reviewed-by: Mandal Purna Chandra <purna.chandra.mandal@intel.com>
2022-11-10 07:11:54 +01:00
..
ifcvf_osdep.h bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00
ifcvf.c vdpa/ifc/base: wait for disabling before saving queue state 2022-11-10 07:11:54 +01:00
ifcvf.h vdpa/ifc: support dynamic enable/disable queue 2022-10-26 10:33:36 +02:00