From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 8D34B106B for ; Fri, 3 Jul 2015 03:56:00 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 02 Jul 2015 18:55:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,396,1432623600"; d="scan'208";a="722117500" Received: from pgsmsx106.gar.corp.intel.com ([10.221.44.98]) by orsmga001.jf.intel.com with ESMTP; 02 Jul 2015 18:55:58 -0700 Received: from kmsmsx154.gar.corp.intel.com (172.21.73.14) by PGSMSX106.gar.corp.intel.com (10.221.44.98) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 3 Jul 2015 09:55:57 +0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by KMSMSX154.gar.corp.intel.com (172.21.73.14) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 3 Jul 2015 09:55:57 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.165]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.129]) with mapi id 14.03.0224.002; Fri, 3 Jul 2015 09:55:56 +0800 From: "Ouyang, Changchun" To: "Xie, Huawei" , "dev@dpdk.org" Thread-Topic: [PATCH 2/3] vhost: fix the comments and log Thread-Index: AQHQtHfa7li9zsPXeUqtve4H5Okxfp3I/cOw Date: Fri, 3 Jul 2015 01:55:55 +0000 Message-ID: References: <1435807983-20383-1-git-send-email-changchun.ouyang@intel.com> <1435807983-20383-3-git-send-email-changchun.ouyang@intel.com> In-Reply-To: Accept-Language: zh-CN, 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: Fri, 03 Jul 2015 01:56:01 -0000 > -----Original Message----- > From: Xie, Huawei > Sent: Thursday, July 2, 2015 5:25 PM > To: Ouyang, Changchun; dev@dpdk.org > Cc: Cao, Waterman; Xu, Qian Q > Subject: Re: [PATCH 2/3] vhost: fix the comments and log >=20 >=20 > On 7/2/2015 11:33 AM, Ouyang, Changchun wrote: > > It fixes the wrong log info when fails to unregister vhost driver. > > > > Signed-off-by: Changchun Ouyang > > --- > > examples/vhost/main.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/examples/vhost/main.c b/examples/vhost/main.c index > > 7863dcf..72c4773 100644 > > --- a/examples/vhost/main.c > > +++ b/examples/vhost/main.c > > @@ -3051,10 +3051,10 @@ main(int argc, char *argv[]) > > if (mergeable =3D=3D 0) > > rte_vhost_feature_disable(1ULL << > VIRTIO_NET_F_MRG_RXBUF); > > > > - /* Register CUSE device to handle IOCTLs. */ > > + /* Register vhost driver to handle IOCTLs. */ >=20 > Also update IOCTLS. > or: register vhost [cuse or user] driver to handle vhost message. Make sense, will update it, thanks > > ret =3D rte_vhost_driver_register((char *)&dev_basename); > > if (ret !=3D 0) > > - rte_exit(EXIT_FAILURE,"CUSE device setup failure.\n"); > > + rte_exit(EXIT_FAILURE,"vhost driver register failure.\n"); > > > > rte_vhost_driver_callback_register(&virtio_net_device_ops); > >