From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] vhost: provide vhost API to unregister vhost unix domain socket Date: Wed, 17 Jun 2015 22:59:50 +0200 Message-ID: <1639719.yBz0fy8sC7@xps13> References: <1433209800-29091-1-git-send-email-huawei.xie@intel.com> <1433474786-704-1-git-send-email-huawei.xie@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Huawei Xie Return-path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id B3F50C43E for ; Wed, 17 Jun 2015 23:00:51 +0200 (CEST) Received: by wifx6 with SMTP id x6so66949821wif.0 for ; Wed, 17 Jun 2015 14:00:51 -0700 (PDT) In-Reply-To: <1433474786-704-1-git-send-email-huawei.xie@intel.com> 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" 2015-06-05 11:26, Huawei Xie: > rte_vhost_driver_unregister will remove the listenfd from event list, and then close it. > > Signed-off-by: Huawei Xie > Signed-off-by: Peng Sun > --- > lib/librte_vhost/rte_virtio_net.h | 3 ++ > lib/librte_vhost/vhost_cuse/vhost-net-cdev.c | 9 ++++ > lib/librte_vhost/vhost_user/vhost-net-user.c | 68 +++++++++++++++++++++++----- > lib/librte_vhost/vhost_user/vhost-net-user.h | 2 +- A function is added to the API without update of the .map file? Could it be used in a test or an example? It would prevent to break it or forget to add it in the .map.