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

Function pdcp_crypto_sess_destroy

dpdk/lib/pdcp/pdcp_crypto.c:227–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void
228pdcp_crypto_sess_destroy(struct rte_pdcp_entity *entity)
229{
230 struct entity_priv *en_priv;
231
232 en_priv = entity_priv_get(entity);
233
234 if (en_priv->crypto_sess != NULL) {
235 rte_cryptodev_sym_session_free(en_priv->dev_id, en_priv->crypto_sess);
236 en_priv->crypto_sess = NULL;
237 }
238}

Callers 2

rte_pdcp_entity_releaseFunction · 0.85

Calls 2

entity_priv_getFunction · 0.85

Tested by

no test coverage detected