From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 5275C58D8 for ; Tue, 26 May 2015 09:23:02 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 26 May 2015 00:23:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,496,1427785200"; d="scan'208";a="700202998" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by orsmga001.jf.intel.com with ESMTP; 26 May 2015 00:23:00 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.224.2; Tue, 26 May 2015 15:21:55 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.109]) by SHSMSX101.ccr.corp.intel.com ([10.239.4.153]) with mapi id 14.03.0224.002; Tue, 26 May 2015 15:21:53 +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//+wGAIABV9JQgAUao1A= Date: Tue, 26 May 2015 07:21:53 +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: 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: Tue, 26 May 2015 07:23:02 -0000 Hi Thomas, > -----Original Message----- > From: Ouyang, Changchun > Sent: Saturday, May 23, 2015 9:25 AM > To: Thomas F Herbert; dpdk >> dev@dpdk.org > Cc: Ouyang, Changchun > Subject: RE: [dpdk-dev] [PATCH 4/6] vhost: Add new command line option: > rxq >=20 > Hi Thomas, >=20 > > -----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 > > > > > > > > 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 and therefore takes rte_exit before printing usage of the non-eal > options. Use this command line could address your question: vhost-switch -c 0xf -n 4 -- -help it will go through eal and come to helper function in vhost-switch, then y= ou can see the usage info for vhost. Thanks Changchun