git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/ring: add custom element size performance tests
[dpdk.git]
/
drivers
/
crypto
/
ccp
/
ccp_pmd_private.h
diff --git
a/drivers/crypto/ccp/ccp_pmd_private.h
b/drivers/crypto/ccp/ccp_pmd_private.h
index
7f2979e
..
1c4118e
100644
(file)
--- 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 */
#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_NB_MAX_DESCRIPTORS 1024
-#define CCP_MAX_BURST
64
+#define CCP_MAX_BURST
256
#include "ccp_dev.h"
#include "ccp_dev.h"
@@
-50,8
+50,10
@@
struct ccp_batch_info {
struct rte_crypto_op *op[CCP_MAX_BURST];
/**< optable populated at enque time from app*/
int op_idx;
struct rte_crypto_op *op[CCP_MAX_BURST];
/**< optable populated at enque time from app*/
int op_idx;
+ uint16_t b_idx;
struct ccp_queue *cmd_q;
uint16_t opcnt;
struct ccp_queue *cmd_q;
uint16_t opcnt;
+ uint16_t total_nb_ops;
/**< no. of crypto ops in batch*/
int desccnt;
/**< no. of ccp queue descriptors*/
/**< no. of crypto ops in batch*/
int desccnt;
/**< no. of ccp queue descriptors*/