From: Hemant Agrawal Date: Thu, 30 Aug 2018 05:51:00 +0000 (+0530) Subject: crypto/dpaa_sec: reduce number of qp per device X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=551a42a993f7cbba731e31aa92a0fae6021478c5;p=dpdk.git crypto/dpaa_sec: reduce number of qp per device In dpaa_sec, there are unlimited queues, but in order to match the DPDK handling of queue pairs, rx side queues are still unlimited, but the application will see only limited qp (tx queues) from dpaa_sec hw. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal --- diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h index e923942fca..f4b87844cb 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.h +++ b/drivers/crypto/dpaa_sec/dpaa_sec.h @@ -137,7 +137,7 @@ struct dpaa_sec_qp { int tx_errs; }; -#define RTE_DPAA_MAX_NB_SEC_QPS 8 +#define RTE_DPAA_MAX_NB_SEC_QPS 2 #define RTE_DPAA_MAX_RX_QUEUE RTE_DPAA_SEC_PMD_MAX_NB_SESSIONS #define DPAA_MAX_DEQUEUE_NUM_FRAMES 63