From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 459FA376C for ; Sat, 23 May 2015 03:25:18 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 22 May 2015 18:25:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,480,1427785200"; d="scan'208";a="699151827" Received: from kmsmsx151.gar.corp.intel.com ([172.21.73.86]) by orsmga001.jf.intel.com with ESMTP; 22 May 2015 18:25:16 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by KMSMSX151.gar.corp.intel.com (172.21.73.86) with Microsoft SMTP Server (TLS) id 14.3.224.2; Sat, 23 May 2015 09:25:15 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.109]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.180]) with mapi id 14.03.0224.002; Sat, 23 May 2015 09:25:13 +0800 From: "Ouyang, Changchun" To: Thomas F Herbert , "dpdk >> dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 4/6] vhost: Add new command line option: rxq Thread-Index: AQHQk5rFc4WeviDkvkqM9dP0fJHSY52GstaAgADPumD//+wGAIABV9JQ Date: Sat, 23 May 2015 01:25:12 +0000 Message-ID: References: <1432194581-15301-1-git-send-email-changchun.ouyang@intel.com> <1432194581-15301-5-git-send-email-changchun.ouyang@intel.com> <555E88B5.7080906@redhat.com> <555F2634.3040307@redhat.com> In-Reply-To: <555F2634.3040307@redhat.com> 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 4/6] vhost: Add new command line option: rxq 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: Sat, 23 May 2015 01:25:18 -0000 Hi Thomas, > -----Original Message----- > From: Thomas F Herbert [mailto:therbert@redhat.com] > Sent: Friday, May 22, 2015 8:51 PM > To: Ouyang, Changchun; dpdk >> dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 4/6] vhost: Add new command line option: > rxq >=20 >=20 >=20 > On 5/22/15 2:05 AM, Ouyang, Changchun wrote: > > Hi Thomas, > > > >> -----Original Message----- > >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas F > Herbert > >> Sent: Friday, May 22, 2015 9:39 AM > >> To: dpdk >> dev@dpdk.org > >> Subject: Re: [dpdk-dev] [PATCH 4/6] vhost: Add new command line > option: > >> rxq > >> > >> > >> > >> On 5/21/15 3:49 AM, Ouyang Changchun wrote: > >>> Sample vhost need know the queue number user want to enable for > each > >>> virtio device, so add the new option '--rxq' into it. > >> Could you also add the new --rxq option description to us_vhost_usage(= )? > > > > Actually we have, please see below > True enough. However, the code calls rte_eal_init() before parsing args a= nd > therefore takes rte_exit before printing usage of the non-eal options. Yes, it is really the case for every other options, and for every other sam= ples in dpdk. Anyway I can't put --rxq and its description into eal layer, as it belongs = to vhost sample here. Thanks Changchun