From: Amaranath Somalapuram Date: Fri, 22 Nov 2019 06:46:15 +0000 (+0530) Subject: crypto/ccp: fix maximum queues and burst size X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0121f275f871a164de26966bdf0897b57e7ffabf;p=dpdk.git crypto/ccp: fix maximum queues and burst size 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 --- diff --git a/drivers/crypto/ccp/ccp_pmd_private.h b/drivers/crypto/ccp/ccp_pmd_private.h index 7f2979e892..781050c31b 100644 --- a/drivers/crypto/ccp/ccp_pmd_private.h +++ b/drivers/crypto/ccp/ccp_pmd_private.h @@ -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"