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: 5d75517beffe ("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
..
2022-11-15 08:39:14 +01:00
2022-11-15 08:39:14 +01:00
2022-11-15 08:39:14 +01:00
2022-11-15 08:39:14 +01:00
2022-11-15 08:39:14 +01:00
2022-11-15 08:39:14 +01:00
2022-11-15 17:17:14 +01:00