[dpdk-dev] [PATCH] vhost: Introduce vhost-user's REPLY_ACK feature
yuanhan.liu at linux.intel.com
Thu Jan 12 05:03:44 CET 2017
On Mon, Dec 12, 2016 at 06:54:00PM +0100, Maxime Coquelin wrote:
> REPLY_ACK features provide a generic way for QEMU to ensure both
> completion and success of a request.
> As described in vhost-user spec in QEMU repository, QEMU sets
> VHOST_USER_NEED_REPLY flag (bit 3) when expecting a reply_ack from
> the backend. Backend must reply with 0 for success or non-zero
> otherwise when flag is set.
> Currently, only VHOST_USER_SET_MEM_TABLE request implements reply_ack,
> in order to synchronize mapping updates.
> This patch enables REPLY_ACK feature generally, but only checks error
> code for VHOST_USER_SET_MEM_TABLE.
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Applied to dpdk-next-virtio.
More information about the dev