From 551a42a993f7cbba731e31aa92a0fae6021478c5 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Thu, 30 Aug 2018 11:21:00 +0530 Subject: [PATCH] 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 --- drivers/crypto/dpaa_sec/dpaa_sec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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