From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=V8o7eR/u6nbmGNdVD5+z7SNjO3PUtsGFG0hxAhe9GFA=; b=SGtsatCcfOOhtIs2Mri+Ot1iEKe+g1Tb76nVbBDUPVSBXWfjbtBV7X5BVdT3ieIEGw ruv1GX9zPiZjWHBRtMZjov/NPQib1h0evhjKDB8zhhf/NVI/xXEI6p8ahgqG9EtQyTR7 5I9mmp3z51ujo2ANB5SqEZYCyhd1OlbUjBsclI7JaJoFxMXu9ifdCbzhltKO5IL9oqCY BpBshgaidIaPeuuEUuAGoxzeZ53zPQ/1kkgGiJkHEodTiMCps6NT8AQp/2FeSrRI64vL LVBr0sOxpvgGHbBYHhdNqhGYnDJJRytjN71ctD9LR9iZ01HCqfNr4yLLRWN3nZ/yO6z3 alAQ== X-Gm-Message-State: ALoCoQkELXUoaawK4kdGLzeM2HnigjpjXMlwmH9XeiejApODv/b1hd7Ybp3O8wd6rOIKSpRSwj9B X-Received: by 10.180.37.229 with SMTP id b5mr58033930wik.16.1434574851528; Wed, 17 Jun 2015 14:00:51 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id fx7sm8689108wjb.10.2015.06.17.14.00.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jun 2015 14:00:50 -0700 (PDT) From: Thomas Monjalon To: Huawei Xie Date: Wed, 17 Jun 2015 22:59:50 +0200 Message-ID: <1639719.yBz0fy8sC7@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1433474786-704-1-git-send-email-huawei.xie@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] vhost: provide vhost API to unregister vhost unix domain socket X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 21:00:52 -0000 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.