Re: [PATCH] vdpa/ifc/base: wait for queue disable before saving q-state

2022-10-25 Thread Maxime Coquelin
Hi Abhishek, On 10/25/22 09:51, Abhishek Maheshwari wrote: 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/ava

[PATCH] vdpa/ifc/base: wait for queue disable before saving q-state

2022-10-25 Thread Abhishek Maheshwari
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 wa

[PATCH] vdpa/ifc/base: wait for queue disable before saving q-state

2022-10-25 Thread Abhishek Maheshwari
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 wa