+114
−10
Loading
Eventq is a special virtqueue. The driver (e.g. SPDK virtio) enqueues some fixed amount of write-only requests. The host device completes them only when it has something to tell us - like a device hotremove. After we receive the response, containing full event details, we schedule proper action and re-enqueue the event to be used later by the host as another event. Change-Id: I0516b161d8d4a49490b909fa2a454c9c9fa517f2 Signed-off-by:Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/390115 Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com>