struct rte_cryptodev_config conf = {
.nb_queue_pairs = opts->nb_qps,
.socket_id = socket_id,
- .ff_disable = RTE_CRYPTODEV_FF_SECURITY |
- RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO,
+ .ff_disable = RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO,
};
+ if (opts->op_type != CPERF_PDCP &&
+ opts->op_type != CPERF_DOCSIS)
+ conf.ff_disable |= RTE_CRYPTODEV_FF_SECURITY;
+
struct rte_cryptodev_qp_conf qp_conf = {
.nb_descriptors = opts->nb_descriptors
};