[dpdk-dev] [PATCH] crypto/scheduler: add enqueue and dequeue operations

Doherty, Declan declan.doherty at intel.com
Fri Feb 24 15:26:15 CET 2017


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 <roy.fan.zhang at intel.com>
> ---
...
>
>  	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.


More information about the dev mailing list