DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Doherty, Declan" <declan.doherty@intel.com>
To: Fan Zhang <roy.fan.zhang@intel.com>, dev@dpdk.org
Cc: pablo.de.lara.guarch@intel.com
Subject: Re: [dpdk-dev] [PATCH] crypto/scheduler: add enqueue and dequeue operations
Date: Fri, 24 Feb 2017 14:26:15 +0000	[thread overview]
Message-ID: <f4165b57-6a3e-ee8b-7d49-c3746347d6b8@intel.com> (raw)
In-Reply-To: <1487677386-130017-1-git-send-email-roy.fan.zhang@intel.com>

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@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.

      reply	other threads:[~2017-02-24 14:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21 11:43 Fan Zhang
2017-02-24 14:26 ` Doherty, Declan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f4165b57-6a3e-ee8b-7d49-c3746347d6b8@intel.com \
    --to=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    --cc=pablo.de.lara.guarch@intel.com \
    --cc=roy.fan.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).