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

2022-11-02 Thread Xia, Chenbo
ect: [PATCH v3] vdpa/ifc/base: wait for queue disable before saving q- > 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 an

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

2022-11-02 Thread Pei, Andy
t; Subject: [PATCH v3] vdpa/ifc/base: wait for queue disable before saving q- > 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

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

2022-11-02 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