[dpdk-dev] [PATCH 4/6] vhost: Add new command line option: rxq

Ouyang, Changchun changchun.ouyang at intel.com
Fri May 22 08:05:04 CEST 2015


Hi Thomas,

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas F Herbert
> Sent: Friday, May 22, 2015 9:39 AM
> To: dpdk >> dev at 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

> +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



More information about the dev mailing list