MCPcopy Create free account
hub / github.com/F-Stack/f-stack / if

Function if

dpdk/app/test-crypto-perf/cperf_test_latency.c:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 rte_cryptodev_asym_session_free(ctx->dev_id, ctx->sess);
52#ifdef RTE_LIB_SECURITY
53 else if (ctx->options->op_type == CPERF_PDCP ||
54 ctx->options->op_type == CPERF_DOCSIS ||
55 ctx->options->op_type == CPERF_IPSEC) {
56 void *sec_ctx = rte_cryptodev_get_sec_ctx(ctx->dev_id);
57 rte_security_session_destroy(sec_ctx, ctx->sess);
58 }
59#endif
60 else
61 rte_cryptodev_sym_session_free(ctx->dev_id, ctx->sess);

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected