[dpdk-dev] [PATCH v7] net/i40e: determine number of queues per VF during run time

Zhang, Helin helin.zhang at intel.com
Wed Dec 20 06:59:54 CET 2017



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wei Dai
> Sent: Friday, December 8, 2017 9:54 AM
> To: Ananyev, Konstantin; Wu, Jingjing; Xing, Beilei; Peng, Yuan
> Cc: dev at dpdk.org; Dai, Wei
> Subject: [dpdk-dev] [PATCH v7] net/i40e: determine number of queues per
> VF during run time
> 
> Without this patch, the number of queues per i40e  VF is defined as 4 by
> CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=4 in config/common_base.
> It is fixed value determined in building time and can't be changed during run
> time.
> With this patch, the number of queues per i40e VF can be determinated
> during run time. For example, if the PCI address of an i40e PF is aaaa:bb.cc,
> with the EAL parameter -w aaaa:bb.cc,queue-num-per-vf=8 , the number of
> queues per VF created from this PF is 8.
> If there is no "queue-num-per-vf" setting in EAL parameters, it is 4 by default
> as before. And if the value after the "queue-num-per-vf"
> is invalid, it is set as 4 forcibly. The valid values include 1, 2, 4, 8, 16 .
> 
> Signed-off-by: Wei Dai <wei.dai at intel.com>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

Applied to next-net-intel. Thanks! /Helin


More information about the dev mailing list