[dpdk-users] Maximum number of queue pairs per QAT device (using dpdk-2.2.0)

Trahe, Fiona fiona.trahe at intel.com
Tue Jan 3 12:06:36 CET 2017


Hi Chinmaya,

> -----Original Message-----
> From: users [mailto:users-bounces at dpdk.org] On Behalf Of Chinmaya
> Dwibedy
> Sent: Thursday, December 29, 2016 1:13 PM
> To: users at dpdk.org
> Subject: [dpdk-users] Maximum number of queue pairs per QAT device (using
> dpdk-2.2.0)
> 
> Hi,
> 
> 
> I am using the dpdk-2.2.0. I find the maximum number of queue pairs
> supported by the AESNI device is equal to value of
> CONFIG_RTE_AESNI_MB_PMD_MAX_NB_QUEUE_PAIRS (in
> dpdk-2.2.0/config/common_linuxapp). I have created a mapping between
> logical core ID and crypto device index. Also want to keep one queue per
> IPsec security association (Inbound or Outbound). With this, even same core
> and crypto device processes the packet of two security association (One is
> inbound and another is outbound) without intermixing.
> 
> 
> I find the max_nb_queue_pairs to be 2 (via rte_cryptodev_info_get () for
> QAT device. Is there any configuration to increase the maximum number of
> queue pairs per QAT device? If not , how can I use/support multiple queues
> per QAT device ? Please suggest.
> 
> 
> Note that, I have assigned 16 VFs to VM (Openstack).

As the QAT queues are hardware elements the max is fixed and there are only 2 available for symmetric crypto.
So with 16 VFs there are 32 queue-pairs available to you.
Is 32 not enough for your use-case? 
Or is there a reason you want the qps to be within the same QAT device?

> 
> 
> Regards,
> 
> Chinmaya


More information about the users mailing list