From mboxrd@z Thu Jan 1 00:00:00 1970 From: Huawei Xie Subject: [PATCH v4 0/4] vhost: vhost unix domain socket cleanup Date: Tue, 30 Jun 2015 17:20:46 +0800 Message-ID: <1435656050-3539-1-git-send-email-huawei.xie@intel.com> References: <1434649260-26317-2-git-send-email-huawei.xie@intel.com> To: dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C5B0FC404 for ; Tue, 30 Jun 2015 11:20:56 +0200 (CEST) In-Reply-To: <1434649260-26317-2-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" vhost user could register multiple unix domain socket server, and use the path to identify the virtio device connecting to it. rte_vhost_driver_unregister will clean up the unix domain socket for the specified path. v2 changes: -minor code style fix, remove unnecessary new line v3 changes: update version map file v4 changes: -add comment for potential unwanted callback on listenfds -call fdset_del_slot to remove connection fd Huawei Xie (4): fdset_del_slot vhost socket cleanup version map file update add comment for potential unwanted call on listenfds lib/librte_vhost/rte_vhost_version.map | 8 ++++ lib/librte_vhost/rte_virtio_net.h | 3 ++ lib/librte_vhost/vhost_cuse/vhost-net-cdev.c | 9 ++++ lib/librte_vhost/vhost_user/fd_man.c | 34 +++++++++++++- lib/librte_vhost/vhost_user/vhost-net-user.c | 68 +++++++++++++++++++++++----- lib/librte_vhost/vhost_user/vhost-net-user.h | 2 +- 6 files changed, 110 insertions(+), 14 deletions(-) -- 1.8.1.4