* Enqueue a burst of processed decode operations to a queue of the device. * This functions only enqueues as many operations as currently possible and * does not block until @p num_ops entries in the queue are 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 * T
| 592 | * entries in the @p ops array). |
| 593 | */ |
| 594 | static inline uint16_t |
| 595 | rte_bbdev_enqueue_dec_ops(uint16_t dev_id, uint16_t queue_id, |
| 596 | struct rte_bbdev_dec_op **ops, uint16_t num_ops) |
| 597 | { |
| 598 | struct rte_bbdev *dev = &rte_bbdev_devices[dev_id]; |
| 599 | struct rte_bbdev_queue_data *q_data = &dev->data->queues[queue_id]; |
| 600 | return dev->enqueue_dec_ops(q_data, ops, num_ops); |
| 601 | } |
| 602 | |
| 603 | /** |
| 604 | * Enqueue a burst of processed encode operations to a queue of the device. |
no outgoing calls