crypto/ccp: fix update max qp and burst size
Subsystems (2)
PATCH v2 2/5 crypto/ccp: fix update max qp and burst size
From: Amaranath Somalapuram <[email protected]>
CCP driver crash when running l2fwd
issue happen when changing MAX_PKT_BURST 32 to 256 increacing the CCP qp to 8 and CCP_MAX_BURST to 256
Fixes ef4b04f87f ("crypto/ccp: support device init")
Signed-off-by Amaranath Somalapuram <[email protected]>
--- drivers/crypto/ccp/ccp_pmd_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/crypto/ccp/ccp_pmd_private.h +2 -2
@@ -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"
Signature · 1 line
2.17.1