From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A325EA034F; Wed, 6 May 2020 12:40:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 66A051D939; Wed, 6 May 2020 12:40:45 +0200 (CEST) Received: from m13-112.163.com (m13-112.163.com [220.181.13.112]) by dpdk.org (Postfix) with ESMTP id 1127B1D653; Wed, 6 May 2020 04:40:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=UH2G1 9ZzFJz6CIK5ci6+Zrcu+NWS/xBUZMcUVFxGo/w=; b=qboxikS/k/FOawH1tmrN0 sTSgYlTvxRsEQuFM6HvAxYNGQDSPnm9uUF6+d+muWfA7GAXSxNl0n6E15T1ulmbE 0HvZuVqNJGQyBHsaMHf23qUzP9B46VzX+b3SOe6mkJFWSyda6ZWOKzjF4Deur9rP +Oog7vLKjBLR6eXhaa8weA= Received: from wangzk320$163.com ( [106.38.115.13] ) by ajax-webmail-wmsvr112 (Coremail) ; Wed, 6 May 2020 10:39:58 +0800 (CST) X-Originating-IP: [106.38.115.13] Date: Wed, 6 May 2020 10:39:58 +0800 (CST) From: =?GBK?B?zfXWvr/L?= To: "Maxime Coquelin" Cc: "Zhike Wang" , dev@openvswitch.org, dev@dpdk.org, stable@dpdk.org, xiaolong.ye@intel.com X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.10 build 20190724(ac680a23) Copyright (c) 2002-2020 www.mailtech.cn 163com In-Reply-To: References: <1584007039-12437-1-git-send-email-wangzhike@jd.com> <178ab8fa.363e.170ebb22d94.Coremail.wangzk320@163.com> X-CM-CTRLDATA: sIRaM2Zvb3Rlcl9odG09NjIzMzo1Ng== MIME-Version: 1.0 Message-ID: <22c7f18d.24fb.171e7daa7e6.Coremail.wangzk320@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: cMGowAAHH_9+I7JeqXooAA--.6803W X-CM-SenderInfo: pzdqw6bntsiqqrwthudrp/1tbiYw8culaEAG8FngACsu X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Mailman-Approved-At: Wed, 06 May 2020 12:40:44 +0200 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [ovs-dev] [PATCH] vhost: return -EAGAIN during unregistering vhost if it is busy. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Tk8sIGl0IGlzIGRpZmZlcmVudCBpc3N1ZS4KCgpUaGUgY3VycmVudCAgZGVhZGxvY2sgIG1lbnRp b25lZCBpbiB0aGlzIHBhdGNoIGlzIGNhdXNlZCBieSBzb21lIGJsb2NraW5nIGZ1bmN0aW9uIChs aWtlIG92c3JjdV9zeW5jaHJvbml6ZSkgaW4gYXBwbGljYXRpb24gKGxpa2UgT1ZTKS4KSW4gdGhp cyBwYXRjaCwgdGhlIGFwcGxpY2F0aW9uIGlzIG5lZWRlZCAgdG8gYnJlYWsgIHRoZSBsb2dpY2Fs IGRlYWRsb2NrLiAKCgoKCgoKCgoKCgoKCgoKCgpBdCAyMDIwLTA0LTI3IDE2OjA5OjMxLCAiTWF4 aW1lIENvcXVlbGluIiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+IHdyb3RlOgo+Cj4KPk9u IDMvMTgvMjAgNDozMSBBTSwgzfXWvr/LIHdyb3RlOgo+PiBJbnZvbHZlIG9wZW52c3dpdGNoIGdy b3VwIHNpbmNlIHRoaXMgZml4IGlzIGhpZ2hseSBjb3VwbGVkIHdpdGggT1ZTLgo+PiB3ZWxjb21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