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

Function rte_bbdev_dequeue_enc_ops

dpdk/lib/bbdev/rte_bbdev.h:745–752  ·  view source on GitHub ↗

* Dequeue a burst of processed encode operations from a queue of the device. * This functions returns only the current contents of the queue, * and does not block until @ num_ops is available. * This function does not provide any error notification to avoid the * corresponding overhead. * * @param dev_id * The identifier of the device. * @param queue_id * The index of the queue. * @p

Source from the content-addressed store, hash-verified

743 * (This is the number of entries copied into the @p ops array.)
744 */
745static inline uint16_t
746rte_bbdev_dequeue_enc_ops(uint16_t dev_id, uint16_t queue_id,
747 struct rte_bbdev_enc_op **ops, uint16_t num_ops)
748{
749 struct rte_bbdev *dev = &rte_bbdev_devices[dev_id];
750 struct rte_bbdev_queue_data *q_data = &dev->data->queues[queue_id];
751 return dev->dequeue_enc_ops(q_data, ops, num_ops);
752}
753
754/**
755 * Dequeue a burst of processed decode operations from a queue of the device.

Callers 7

dequeue_event_callbackFunction · 0.85
throughput_pmd_lcore_encFunction · 0.85
latency_test_encFunction · 0.85
offload_latency_test_encFunction · 0.85
test_bbdev_statsFunction · 0.85
run_encodingFunction · 0.85

Calls

no outgoing calls

Tested by 6

dequeue_event_callbackFunction · 0.68
throughput_pmd_lcore_encFunction · 0.68
latency_test_encFunction · 0.68
offload_latency_test_encFunction · 0.68
test_bbdev_statsFunction · 0.68