* Enqueue a burst of processed encode 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
| 562 | * entries in the @p ops array). |
| 563 | */ |
| 564 | static inline uint16_t |
| 565 | rte_bbdev_enqueue_enc_ops(uint16_t dev_id, uint16_t queue_id, |
| 566 | struct rte_bbdev_enc_op **ops, uint16_t num_ops) |
| 567 | { |
| 568 | struct rte_bbdev *dev = &rte_bbdev_devices[dev_id]; |
| 569 | struct rte_bbdev_queue_data *q_data = &dev->data->queues[queue_id]; |
| 570 | return dev->enqueue_enc_ops(q_data, ops, num_ops); |
| 571 | } |
| 572 | |
| 573 | /** |
| 574 | * Enqueue a burst of processed decode operations to a queue of the device. |
no outgoing calls