From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E3FB4A0540 for ; Thu, 7 Jul 2022 09:56:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF42E406B4; Thu, 7 Jul 2022 09:56:02 +0200 (CEST) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 236C4406B4 for ; Thu, 7 Jul 2022 09:56:02 +0200 (CEST) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id E7E403F04C for ; Thu, 7 Jul 2022 07:56:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1657180561; bh=8oPxBLdWralVYit3BfMXEGszHoCb3o9XuykcDebZ7EU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cpIAql+qTnzIeSZ/cEwVG4RrSuaTsyokUIFJXyeF7I4l9kA8DpW+4cCsS1vj7IjYu 7J8Il7gnaaM20hVuj94577yX1Jx54nPmhxGnvazPq8o6V34Mnvt/m5zXTziymdGfXy wGqeeZQ21PHDRziVjiVKLhidavOP/3Ama8eTH09d7mAm0SC2NrbhNkZqx79+G6kDJ7 ADzTn4FcrADuzgXnt0GZiwxebRGSRXQjoxlLPrFqz44WOYJQCfvGuqhH1e/GfjcvoF p1dR5Y6NtqPQ9hfRMsfXNoLniPFz+zbWnBqk10sjAlasd5U3R50++m4tOw+FgZ1mtY Y1oV82Vffg2hg== Received: by mail-ed1-f71.google.com with SMTP id q18-20020a056402519200b004358ce90d97so13175981edd.4 for ; Thu, 07 Jul 2022 00:56:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8oPxBLdWralVYit3BfMXEGszHoCb3o9XuykcDebZ7EU=; b=hZQDKAeq8JMPdY8QP8by5OSLCcioJ55WmgXp5JDChhcr7mo9+6hU7cuPalwMJ3+ex3 LM7t6QNCsWsqBL4Wt7K7XA7QvQbVxAcw5gFh8hCvyhN6DFpUm3SIiuuGHboaL/FuoK2M Odez1ADNk12zIOiVtoDkXTH1PziyPM0C8SpAuUTvFRlHgWTP+aXkfnSW/oXiAJNsPL9S 8BYueJo4bsz+p98vxp+fLvN0lxLqlk0tqxZj64Sl9ASAvmbZqL9gx7eDh+RvNBjbD6lD nPf+SsYCju2BYPX2V8eu1xx60P3RYe7EMm25Xr2n5yYb3WPfA+sx0BHppIIMuYaY11rw rJLA== X-Gm-Message-State: AJIora9qNmpg2kSyzp/kPJZ3kTGShHhQLBK11kvd0YeinI7LgGsVSzxg 1B+OeZcaiLhip2jW6IqNVEM9fr/304+v79MMaRPL7J1zAP58BrXK5bkIkKJmc3P6Z8kfASaEMCB vGXcwD39YbEf8z8PItH79F+HU X-Received: by 2002:a17:907:c0a:b0:726:22b1:9734 with SMTP id ga10-20020a1709070c0a00b0072622b19734mr43570030ejc.195.1657180561631; Thu, 07 Jul 2022 00:56:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vefGO2COsqMtdmd+GEf+ynvYL1jgMx91dGrv6riLs71ic5oSDkOo183nsxF/yOA8gTmxr7Gg== X-Received: by 2002:a17:907:c0a:b0:726:22b1:9734 with SMTP id ga10-20020a1709070c0a00b0072622b19734mr43570014ejc.195.1657180561461; Thu, 07 Jul 2022 00:56:01 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2a02:6d40:3a4f:7b00:c19b:938e:7c97:afe2]) by smtp.gmail.com with ESMTPSA id er13-20020a056402448d00b0043a5bcf80a2sm8531080edb.60.2022.07.07.00.56.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 00:56:01 -0700 (PDT) From: christian.ehrhardt@canonical.com To: Gagandeep Singh Cc: Akhil Goyal , dpdk stable Subject: patch 'crypto/dpaa2_sec: fix operation status for simple FD' has been queued to stable release 19.11.13 Date: Thu, 7 Jul 2022 09:54:06 +0200 Message-Id: <20220707075522.194223-11-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220707075522.194223-1-christian.ehrhardt@canonical.com> References: <20220707075522.194223-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 19.11.13 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/09/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/dcc0986eba579fd645fd20f2fc4e52ceb0cb00ba Thanks. Christian Ehrhardt --- >From dcc0986eba579fd645fd20f2fc4e52ceb0cb00ba Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Thu, 28 Apr 2022 17:17:30 +0530 Subject: [PATCH] crypto/dpaa2_sec: fix operation status for simple FD [ upstream commit 04408e461e9dde8c921c851e0ad1611b178ce630 ] Driver is not filling the operation status on dequeue in case the FD is simple. So setting the status as per the results. Fixes: 0a23d4b6f4c2 ("crypto/dpaa2_sec: support protocol offload IPsec") Signed-off-by: Gagandeep Singh Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 634f94fe4e..00a421f6f0 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -1552,6 +1552,14 @@ sec_simple_fd_to_mbuf(const struct qbman_fd *fd) else mbuf->data_off += SEC_FLC_DHR_INBOUND; + if (unlikely(fd->simple.frc)) { + DPAA2_SEC_ERR("SEC returned Error - %x", + fd->simple.frc); + op->status = RTE_CRYPTO_OP_STATUS_ERROR; + } else { + op->status = RTE_CRYPTO_OP_STATUS_SUCCESS; + } + return op; } #endif -- 2.37.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-07 09:54:11.673815334 +0200 +++ 0011-crypto-dpaa2_sec-fix-operation-status-for-simple-FD.patch 2022-07-07 09:54:10.801823604 +0200 @@ -1 +1 @@ -From 04408e461e9dde8c921c851e0ad1611b178ce630 Mon Sep 17 00:00:00 2001 +From dcc0986eba579fd645fd20f2fc4e52ceb0cb00ba Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 04408e461e9dde8c921c851e0ad1611b178ce630 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index 9f2b384af9..8444f1a795 100644 +index 634f94fe4e..00a421f6f0 100644 @@ -24 +25 @@ -@@ -1591,6 +1591,14 @@ sec_simple_fd_to_mbuf(const struct qbman_fd *fd) +@@ -1552,6 +1552,14 @@ sec_simple_fd_to_mbuf(const struct qbman_fd *fd)