* 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
| 743 | * (This is the number of entries copied into the @p ops array.) |
| 744 | */ |
| 745 | static inline uint16_t |
| 746 | rte_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. |
no outgoing calls