From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 9E3E0187 for ; Mon, 30 Apr 2018 16:44:28 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id n10so14606208wmc.1 for ; Mon, 30 Apr 2018 07:44:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lr7D/C7x0dCFqKoA91Oec++hN/dvg3DBrB+5s/pMSys=; b=ucUdukebU1Dqcog81X6uK4Yoq8jRz1hEZhuyroK7Pw2vkLVpghyMMkluxlGboEH0rf P3XGpwIBRx+dEauvB9zsV5sI7d+0GvImIo/iY1x1IwMyujW7lW9WoNvaS9dEyi0eR+aW 8JYz+9Hv1T+8SHeEISYoqHIQyT6xcxMWF/suw5RpY04xpjX5SDEk+OMXGyl4I9MSrVz8 PQvmUvvyOmv3BF07tI3TSUfbfVhUHc3DysZ7MQzaUx8OAligQkDGb0dg1Dea54ssEu4R LtZVhr2mmxI7ds1KQ/8mruZADOAMqp1md9zcbeJNxQNWrTNHzCtbo0keWaVAMBVUh6EJ mLCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lr7D/C7x0dCFqKoA91Oec++hN/dvg3DBrB+5s/pMSys=; b=rqebzV5rAKmQlvTHxs6UGOwCXSfE7mO+eXVI5L4FFjBGb8C7EbvAql6lpBS+nZtjv7 moLv/NEpMI1m+cpeFOMDDiD4uZG88E19uqFdJ/Na68sbK2Xc1u41OfBCErlvpMzkLAhT 2dZjfD0UbVYcLypqItttmTlPAsXJr43scf2baka8i5cPY535yPERLNNPPPyc1pNRlRPB xNxs+OW7uGB6inUcsySxyhoWbdsjyz3bu3rwkuoK/WpnyUUC4WIbYjphJGRnvqBWo8wB wFvsMTDnoJwwF96CwYXHHVBEhYwhK19H9YL2op3QZ6Rir6RV7GLj6Vrwre4tR1ruT1pE dLhw== X-Gm-Message-State: ALQs6tC0OlHIrrS3I271RVEk68LiasyVuG7xTgmq1t8IjHRKA3Q98xKu sUTnX/nN0Uj4gFaOm5Ohg5w= X-Google-Smtp-Source: AB8JxZouoCvM9I7YgZF4rqgIeBrvI7pyRg6Q1uRQe7JWpbYbwGPwGng5EV7QB11j3uL7LVlv9z4ntw== X-Received: by 10.28.173.4 with SMTP id w4mr8063176wme.54.1525099468369; Mon, 30 Apr 2018 07:44:28 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id 19sm8426335wmv.18.2018.04.30.07.44.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:44:27 -0700 (PDT) From: luca.boccassi@gmail.com To: Pablo de Lara Cc: Fiona Trahe , dpdk stable Date: Mon, 30 Apr 2018 15:41:32 +0100 Message-Id: <20180430144223.18657-77-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430144223.18657-1-luca.boccassi@gmail.com> References: <20180430140606.4615-80-luca.boccassi@gmail.com> <20180430144223.18657-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'crypto/zuc: do not set default op status' has been queued to stable release 18.02.2 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: Mon, 30 Apr 2018 14:44:28 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 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/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 1fefe4d7c613ee9403209d6e991d661cdbbd2e86 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 ad65b80c5..5fcd1a245 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.2