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