crypto/ccp: fix maximum queues and burst size
authorAmaranath Somalapuram <asomalap@amd.com>
Fri, 22 Nov 2019 06:46:15 +0000 (12:16 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 25 Nov 2019 10:01:36 +0000 (11:01 +0100)
CCP driver crash when running l2fwd
issue happen when changing MAX_PKT_BURST 32 to 256
increasing the CCP qp to 8 and CCP_MAX_BURST to 256

Fixes: ef4b04f87f ("crypto/ccp: support device init")
Cc: stable@dpdk.org
Signed-off-by: Amaranath Somalapuram <asomalap@amd.com>
drivers/crypto/ccp/ccp_pmd_private.h

index 7f2979e..781050c 100644 (file)
@@ -31,9 +31,9 @@
 #endif
 
 /**< Maximum queue pairs supported by CCP PMD */
-#define CCP_PMD_MAX_QUEUE_PAIRS        1
+#define CCP_PMD_MAX_QUEUE_PAIRS        8
 #define CCP_NB_MAX_DESCRIPTORS 1024
-#define CCP_MAX_BURST 64
+#define CCP_MAX_BURST 256
 
 #include "ccp_dev.h"