]> git.droids-corp.org - dpdk.git/blobdiff - app/test-crypto-perf/cperf_test_throughput.c
net/bonding: release port upon close
[dpdk.git] / app / test-crypto-perf / cperf_test_throughput.c
index 35c51026fe544ef6d328bd5a6f57a86862eb2a82..12d9ea4f9f6dcfb4211f4fa5383241a999aa39ee 100644 (file)
@@ -36,7 +36,8 @@ cperf_throughput_test_free(struct cperf_throughput_ctx *ctx)
                return;
        if (ctx->sess) {
 #ifdef RTE_LIBRTE_SECURITY
-               if (ctx->options->op_type == CPERF_PDCP) {
+               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);