]> git.droids-corp.org - dpdk.git/commitdiff
crypto/dpaa_sec: reduce number of qp per device
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 30 Aug 2018 05:51:00 +0000 (11:21 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 26 Sep 2018 11:18:38 +0000 (13:18 +0200)
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 <hemant.agrawal@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa_sec/dpaa_sec.h

index e923942fca2ca0c13ccac7ebcbd99412b0cee07a..f4b87844cb642863161a101992c820e11edd6f44 100644 (file)
@@ -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