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 4E12B5698 for ; Fri, 22 May 2015 08:05:14 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 21 May 2015 23:05:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,474,1427785200"; d="scan'208";a="714069628" Received: from pgsmsx102.gar.corp.intel.com ([10.221.44.80]) by fmsmga001.fm.intel.com with ESMTP; 21 May 2015 23:05:11 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by PGSMSX102.gar.corp.intel.com (10.221.44.80) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 22 May 2015 14:05:06 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.109]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.23]) with mapi id 14.03.0224.002; Fri, 22 May 2015 14:05:05 +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: AQHQk5rFc4WeviDkvkqM9dP0fJHSY52GstaAgADPumA= Date: Fri, 22 May 2015 06:05:04 +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> In-Reply-To: <555E88B5.7080906@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: Fri, 22 May 2015 06:05:14 -0000 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 >=20 >=20 >=20 > 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 > +585,8 @@ > > us_vhost_usage(const char *prgname) > > " --rx-desc-num [0-N]: the number of descriptors on rx, > " > > "used only when zero copy is enabled.\n" > > " --tx-desc-num [0-N]: the number of descriptors on tx, > " > > - "used only when zero copy is enabled.\n", > > + "used only when zero copy is enabled.\n" > > + " --rxq [1,2,4]: rx queue number for each vhost > device\n", > > prgname); > > } Thanks Changchun