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

Function cryptodev_fp_ops_reset

dpdk/lib/cryptodev/cryptodev_pmd.c:212–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212void
213cryptodev_fp_ops_reset(struct rte_crypto_fp_ops *fp_ops)
214{
215 static struct rte_cryptodev_cb_rcu dummy_cb[RTE_MAX_QUEUES_PER_PORT];
216 static void *dummy_data[RTE_MAX_QUEUES_PER_PORT];
217 static const struct rte_crypto_fp_ops dummy = {
218 .enqueue_burst = dummy_crypto_enqueue_burst,
219 .dequeue_burst = dummy_crypto_dequeue_burst,
220 .qp = {
221 .data = dummy_data,
222 .enq_cb = dummy_cb,
223 .deq_cb = dummy_cb,
224 },
225 };
226
227 *fp_ops = dummy;
228}
229
230void
231cryptodev_fp_ops_set(struct rte_crypto_fp_ops *fp_ops,

Callers 3

rte_cryptodev_stopFunction · 0.85
rte_cryptodev.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected