net/txgbe: add Rx and Tx data path start and stop
[dpdk.git] / app / test-crypto-perf / cperf_test_throughput.c
index 35c5102..f30f7d5 100644 (file)
@@ -35,8 +35,9 @@ cperf_throughput_test_free(struct cperf_throughput_ctx *ctx)
        if (!ctx)
                return;
        if (ctx->sess) {
-#ifdef RTE_LIBRTE_SECURITY
-               if (ctx->options->op_type == CPERF_PDCP) {
+#ifdef RTE_LIB_SECURITY
+               if (ctx->options->op_type == CPERF_PDCP ||
+                               ctx->options->op_type == CPERF_DOCSIS) {
                        struct rte_security_ctx *sec_ctx =
                                (struct rte_security_ctx *)
                                rte_cryptodev_get_sec_ctx(ctx->dev_id);