Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 18.08
[deb_dpdk.git]
/
drivers
/
crypto
/
scheduler
/
rte_cryptodev_scheduler.h
diff --git
a/drivers/crypto/scheduler/rte_cryptodev_scheduler.h
b/drivers/crypto/scheduler/rte_cryptodev_scheduler.h
index
01e7646
..
3faea40
100644
(file)
--- a/
drivers/crypto/scheduler/rte_cryptodev_scheduler.h
+++ b/
drivers/crypto/scheduler/rte_cryptodev_scheduler.h
@@
-30,7
+30,7
@@
extern "C" {
#endif
/** Maximum number of multi-core worker cores */
#endif
/** Maximum number of multi-core worker cores */
-#define RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKER_CORES (
64
)
+#define RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKER_CORES (
RTE_MAX_LCORE - 1
)
/** Round-robin scheduling mode string */
#define SCHEDULER_MODE_NAME_ROUND_ROBIN round-robin
/** Round-robin scheduling mode string */
#define SCHEDULER_MODE_NAME_ROUND_ROBIN round-robin
@@
-76,6
+76,7
@@
enum rte_cryptodev_schedule_option_type {
/**
* Threshold option structure
*/
/**
* Threshold option structure
*/
+#define RTE_CRYPTODEV_SCHEDULER_PARAM_THRES "threshold"
struct rte_cryptodev_scheduler_threshold_option {
uint32_t threshold; /**< Threshold for packet-size mode */
};
struct rte_cryptodev_scheduler_threshold_option {
uint32_t threshold; /**< Threshold for packet-size mode */
};