From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id CEC702C6A for ; Sun, 6 May 2018 08:37:30 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 726A9213A3; Sun, 6 May 2018 02:37:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 06 May 2018 02:37:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=A1WK/OhZjIJU1Saz3 fhWJFIN/cMmWRc+BwHaTLoGzzE=; b=qzkBDHnHubHbtMbszaPZT2ev4RH4Nyn7M ar1/aUZDvTe8zddx7SzGHn3pArWPKspwwXIDp7SbB6riREhu1bItMLkFkj/aCmUk 9RUkrWG5OJ4U4ZSVrYPPpdNpXA9lnxgvSVU08tkPLvUn8LCeyM6KXX53VjAL7JGu Ir+2AiqY5+ifNtSq4P5iV7KXQDKrw3ys8s4npksYihv2pKHd5IbexGJQsrnaFjvF X+td6OUahEpaNy0uEz97YMJ1P7kNgR93lRzY/5TRbkBZdOTv5qoeNo9oidFwHoaW mBT658YldmHy0qdjVRisZPw1hIMyxR5mpNuXXqj3izzFQ8korc1rQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=A1WK/OhZjIJU1Saz3fhWJFIN/cMmWRc+BwHaTLoGzzE=; b=g7yFvPZI 3fwnjsqr6pN2NWTq4Rm9gowj5keGYAirxf87ftQJ8n3adjpS9skAi2apmd6ORVTZ 4K+fMnUTOb3CdMKw+8AiadHd28GKngMqKVXRZygzxfrhsea1dep6BaCwZl/OngbN gwB8mOc3eTVOMAlg2UqtzkX06BgUoxqTYcCocSnjN5aDgkrEvVfm9icokeSl5LKR acwSmn/19v6LIpZ39T3ONiPIIh1szc+BjMU8ZZTsnQSniEaAy+XVCN/zjD+PrHJH FXxJpnGy5+Lzpp0xzX6Rtj4Dbo9HCfsPy+spnGHT9NRXfyq4O7hwUPF8DY2thBy1 LSq40+rpIZWh3A== X-ME-Sender: Received: from yuanhanliu-NB0.tencent.com (unknown [223.74.148.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 99C7B10253; Sun, 6 May 2018 02:37:28 -0400 (EDT) From: Yuanhan Liu To: Pablo de Lara Cc: Fiona Trahe , dpdk stable Date: Sun, 6 May 2018 14:36:18 +0800 Message-Id: <20180506063639.23196-5-yliu@fridaylinux.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180506063639.23196-1-yliu@fridaylinux.org> References: <20180506063639.23196-1-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'crypto/zuc: do not set default op status' has been queued to LTS release 17.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2018 06:37:31 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/09/18. So please shout if anyone has objections. Thanks. --yliu --- >>From fb22752ef6a840cc690446f96599b4f167edb880 Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Thu, 19 Apr 2018 15:55:39 +0100 Subject: [PATCH] crypto/zuc: do not set default op status [ upstream commit 466dcf34d728db0ae86d83f37dd7db5c20dd2979 ] 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") Signed-off-by: Pablo de Lara Acked-by: Fiona Trahe --- 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 590224bfc..a951b49bf 100644 --- a/drivers/crypto/zuc/rte_zuc_pmd.c +++ b/drivers/crypto/zuc/rte_zuc_pmd.c @@ -380,9 +380,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.11.0