From: Pablo de Lara <pablo.de.lara.guarch@intel.com>
To: dev@dpdk.org
Cc: Pablo de Lara <pablo.de.lara.guarch@intel.com>, stable@dpdk.org
Subject: [dpdk-stable] [PATCH 1/3] crypto/zuc: do not set default op status
Date: Thu, 29 Mar 2018 16:56:19 +0100 [thread overview]
Message-ID: <20180329155621.29619-2-pablo.de.lara.guarch@intel.com> (raw)
In-Reply-To: <20180329155621.29619-1-pablo.de.lara.guarch@intel.com>
When crypto operations are allocated from the operation
pool, their status get reset to NOT_PROCESSED.
Therefore, there is no need to set this status again.
Fixes: cf7685d68f00 ("crypto/zuc: add driver for ZUC library")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
drivers/crypto/zuc/rte_zuc_pmd.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/crypto/zuc/rte_zuc_pmd.c b/drivers/crypto/zuc/rte_zuc_pmd.c
index 167c3c6fc..6d3834bcc 100644
--- a/drivers/crypto/zuc/rte_zuc_pmd.c
+++ b/drivers/crypto/zuc/rte_zuc_pmd.c
@@ -352,9 +352,6 @@ zuc_pmd_enqueue_burst(void *queue_pair, struct rte_crypto_op **ops,
for (i = 0; i < nb_ops; i++) {
curr_c_op = ops[i];
- /* Set status as enqueued (not processed yet) by default. */
- curr_c_op->status = RTE_CRYPTO_OP_STATUS_NOT_PROCESSED;
-
curr_sess = zuc_get_session(qp, curr_c_op);
if (unlikely(curr_sess == NULL ||
curr_sess->op == ZUC_OP_NOT_SUPPORTED)) {
--
2.14.3
next parent reply other threads:[~2018-03-29 15:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20180329155621.29619-1-pablo.de.lara.guarch@intel.com>
2018-03-29 15:56 ` Pablo de Lara [this message]
2018-04-19 14:24 ` [dpdk-stable] [dpdk-dev] " Trahe, Fiona
2018-03-29 15:56 ` [dpdk-stable] [PATCH 2/3] crypto/zuc: remove unnecessary check Pablo de Lara
2018-04-19 14:23 ` [dpdk-stable] [dpdk-dev] " Trahe, Fiona
2018-03-29 15:56 ` [dpdk-stable] [PATCH 3/3] crypto/zuc: batch ops with same transform Pablo de Lara
2018-04-19 14:22 ` [dpdk-stable] [dpdk-dev] " Trahe, Fiona
2018-04-19 14:26 ` De Lara Guarch, Pablo
[not found] ` <20180419145541.28836-1-pablo.de.lara.guarch@intel.com>
2018-04-19 14:55 ` [dpdk-stable] [PATCH v2 1/3] crypto/zuc: do not set default op status Pablo de Lara
2018-04-19 14:55 ` [dpdk-stable] [PATCH v2 2/3] crypto/zuc: remove unnecessary check Pablo de Lara
2018-04-19 14:55 ` [dpdk-stable] [PATCH v2 3/3] crypto/zuc: batch ops with same transform Pablo de Lara
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=20180329155621.29619-2-pablo.de.lara.guarch@intel.com \
--to=pablo.de.lara.guarch@intel.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
/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).