Skip to content

Commit

Permalink
crypto/ccp: fix maximum queues and burst size
Browse files Browse the repository at this point in the history
[ upstream commit 0121f27 ]

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: ef4b04f ("crypto/ccp: support device init")

Signed-off-by: Amaranath Somalapuram <asomalap@amd.com>
  • Loading branch information
Amaranath Somalapuram authored and kevintraynor committed Dec 11, 2019
1 parent 3939d49 commit 7464c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/crypto/ccp/ccp_pmd_private.h
Expand Up @@ -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"

Expand Down

0 comments on commit 7464c5f

Please sign in to comment.