From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <hxie5@shecgisg003.sh.intel.com>
Received: from mga14.intel.com (mga14.intel.com [192.55.52.115])
 by dpdk.org (Postfix) with ESMTP id C5B0FC404
 for <dev@dpdk.org>; Tue, 30 Jun 2015 11:20:56 +0200 (CEST)
Received: from orsmga001.jf.intel.com ([10.7.209.18])
 by fmsmga103.fm.intel.com with ESMTP; 30 Jun 2015 02:20:55 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.15,376,1432623600"; d="scan'208";a="720185855"
Received: from shvmail01.sh.intel.com ([10.239.29.42])
 by orsmga001.jf.intel.com with ESMTP; 30 Jun 2015 02:20:56 -0700
Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com
 [10.239.29.90])
 by shvmail01.sh.intel.com with ESMTP id t5U9KqtW030298;
 Tue, 30 Jun 2015 17:20:52 +0800
Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1])
 by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id
 t5U9KoZQ003586; Tue, 30 Jun 2015 17:20:52 +0800
Received: (from hxie5@localhost)
 by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t5U9Ko3V003582;
 Tue, 30 Jun 2015 17:20:50 +0800
From: Huawei Xie <huawei.xie@intel.com>
To: dev@dpdk.org
Date: Tue, 30 Jun 2015 17:20:46 +0800
Message-Id: <1435656050-3539-1-git-send-email-huawei.xie@intel.com>
X-Mailer: git-send-email 1.7.4.1
In-Reply-To: <1434649260-26317-2-git-send-email-huawei.xie@intel.com>
References: <1434649260-26317-2-git-send-email-huawei.xie@intel.com>
Subject: [dpdk-dev] [PATCH v4 0/4] vhost: vhost unix domain socket cleanup
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 09:20:57 -0000

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