On 21/02/2017 11:43 AM, Fan Zhang wrote:
This patch adds enqueue and dequeue operations to
rte_cryptodev_scheduler_ops structure. This helps improving
the performance by reducing unnecessary function calls.
Signed-off-by: Fan Zhang <[email protected]>
---
...
rte_cryptodev_scheduler_create_private_ctx create_private_ctx;
+
+ enqueue_pkt_burst_t enqueue;
+ enqueue_pkt_burst_t enqueue_ordering;
+ dequeue_pkt_burst_t dequeue;
+ dequeue_pkt_burst_t dequeue_ordering;
};
...
I think we should be able to achieve the desired functionality without
the need for these new function pointers in rte_cryptodev_scheduler
structure.