From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id B53CA1396 for ; Thu, 2 Jul 2015 11:25:10 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 02 Jul 2015 02:25:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,391,1432623600"; d="scan'208";a="517707303" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by FMSMGA003.fm.intel.com with ESMTP; 02 Jul 2015 02:25:10 -0700 Received: from kmsmsx154.gar.corp.intel.com (172.21.73.14) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 2 Jul 2015 17:25:08 +0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.110.14) by KMSMSX154.gar.corp.intel.com (172.21.73.14) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 2 Jul 2015 17:25:07 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.246]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.46]) with mapi id 14.03.0224.002; Thu, 2 Jul 2015 17:25:06 +0800 From: "Xie, Huawei" To: "Ouyang, Changchun" , "dev@dpdk.org" Thread-Topic: [PATCH 2/3] vhost: fix the comments and log Thread-Index: AdC0qPtTE7sqYcziQaiLfdTl1ozaTA== Date: Thu, 2 Jul 2015 09:25:06 +0000 Message-ID: References: <1435807983-20383-1-git-send-email-changchun.ouyang@intel.com> <1435807983-20383-3-git-send-email-changchun.ouyang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/3] vhost: fix the comments and log 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: Thu, 02 Jul 2015 09:25:11 -0000 =0A= On 7/2/2015 11:33 AM, Ouyang, Changchun wrote:=0A= > It fixes the wrong log info when fails to unregister vhost driver.=0A= >=0A= > Signed-off-by: Changchun Ouyang =0A= > ---=0A= > examples/vhost/main.c | 4 ++--=0A= > 1 file changed, 2 insertions(+), 2 deletions(-)=0A= >=0A= > diff --git a/examples/vhost/main.c b/examples/vhost/main.c=0A= > index 7863dcf..72c4773 100644=0A= > --- a/examples/vhost/main.c=0A= > +++ b/examples/vhost/main.c=0A= > @@ -3051,10 +3051,10 @@ main(int argc, char *argv[])=0A= > if (mergeable =3D=3D 0)=0A= > rte_vhost_feature_disable(1ULL << VIRTIO_NET_F_MRG_RXBUF);=0A= > =0A= > - /* Register CUSE device to handle IOCTLs. */=0A= > + /* Register vhost driver to handle IOCTLs. */=0A= =0A= Also update IOCTLS.=0A= or: register vhost [cuse or user] driver to handle vhost message.=0A= > ret =3D rte_vhost_driver_register((char *)&dev_basename);=0A= > if (ret !=3D 0)=0A= > - rte_exit(EXIT_FAILURE,"CUSE device setup failure.\n");=0A= > + rte_exit(EXIT_FAILURE,"vhost driver register failure.\n");=0A= > =0A= > rte_vhost_driver_callback_register(&virtio_net_device_ops);=0A= > =0A= =0A=