* Dequeue a burst of MLDTS operations from a queue of the device. * This functions returns only the current contents of the queue, and does not * block until @p 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. * @param ops
| 896 | * copied into the @p ops array). |
| 897 | */ |
| 898 | __rte_experimental |
| 899 | static inline uint16_t |
| 900 | rte_bbdev_dequeue_mldts_ops(uint16_t dev_id, uint16_t queue_id, |
| 901 | struct rte_bbdev_mldts_op **ops, uint16_t num_ops) |
| 902 | { |
| 903 | struct rte_bbdev *dev = &rte_bbdev_devices[dev_id]; |
| 904 | struct rte_bbdev_queue_data *q_data = &dev->data->queues[queue_id]; |
| 905 | return dev->dequeue_mldts_ops(q_data, ops, num_ops); |
| 906 | } |
| 907 | |
| 908 | /** Definitions of device event types */ |
| 909 | enum rte_bbdev_event_type { |
no outgoing calls