From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Xie, Huawei" Subject: Re: [PATCH v2] vhost: provide vhost API to unregister vhost unix domain socket Date: Thu, 18 Jun 2015 01:40:36 +0000 Message-ID: References: <1433209800-29091-1-git-send-email-huawei.xie@intel.com> <1433474786-704-1-git-send-email-huawei.xie@intel.com> <1639719.yBz0fy8sC7@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Thomas Monjalon Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 3D404C4F4 for ; Thu, 18 Jun 2015 03:42:38 +0200 (CEST) Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 6/18/2015 5:02 AM, Thomas Monjalon wrote:=0A= > 2015-06-05 11:26, Huawei Xie:=0A= >> rte_vhost_driver_unregister will remove the listenfd from event list, an= d then close it.=0A= >>=0A= >> Signed-off-by: Huawei Xie =0A= >> Signed-off-by: Peng Sun =0A= >> ---=0A= >> lib/librte_vhost/rte_virtio_net.h | 3 ++=0A= >> lib/librte_vhost/vhost_cuse/vhost-net-cdev.c | 9 ++++=0A= >> lib/librte_vhost/vhost_user/vhost-net-user.c | 68 +++++++++++++++++++++= ++-----=0A= >> lib/librte_vhost/vhost_user/vhost-net-user.h | 2 +-=0A= > A function is added to the API without update of the .map file?=0A= Get the comment from Panu. Would submit v3 patch.=0A= =0A= >=0A= > Could it be used in a test or an example? It would prevent to break=0A= > it or forget to add it in the .map.=0A= >=0A= Now in vhost example, we only register one socket and never unregister it.= =0A= Would evaluate calling this API in vhost example in future.=0A= >=0A= >=0A= =0A=