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

Function free_cops

dpdk/examples/ipsec-secgw/ipsec_process.c:19–26  ·  view source on GitHub ↗

helper routine to free bulk of crypto-ops and related packets */

Source from the content-addressed store, hash-verified

17
18/* helper routine to free bulk of crypto-ops and related packets */
19static inline void
20free_cops(struct rte_crypto_op *cop[], uint32_t n)
21{
22 uint32_t i;
23
24 for (i = 0; i != n; i++)
25 rte_pktmbuf_free(cop[i]->sym->m_src);
26}
27
28/* helper routine to enqueue bulk of crypto ops */
29static inline void

Callers 1

enqueue_cop_bulkFunction · 0.85

Calls 1

rte_pktmbuf_freeFunction · 0.85

Tested by

no test coverage detected