Hi David PF, VFs VMDq, FD on the same port share the queues, actually we can know the total number of the queues, the maximum number of queues may vary depends on how they will be used with PF, VF, VMDq AND FD. So the users will define the number for each, the code will just check the total number of them and make sure not exceed that.
Regards, Helin From: David Marchand [mailto:david.march...@6wind.com] Sent: Monday, September 21, 2015 3:42 PM To: Zhang, Helin; Richardson, Bruce Cc: dev at dpdk.org; Pei, Yulong Subject: Re: [dpdk-dev] [PATCH 2/2] i40e: Enlarge the number of supported queues Hello Helin, Bruce, On Sun, Sep 20, 2015 at 4:51 PM, Helin Zhang <helin.zhang at intel.com<mailto:helin.zhang at intel.com>> wrote: It enlarges the number of supported queues to hardware allowed maximum. There was a software limitation of 64 per physical port which is not reasonable. I looked at the commit that introduced this limitation, can't we just get rid of this ? The primary process should know the current max queue number and initialises the array properly before any secondary process tries to set any callback, or tries to call rx/tx functions. Did I miss something ? -- David Marchand