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 709EAA0543 for ; Tue, 21 Jun 2022 10:04:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6AF5240151; Tue, 21 Jun 2022 10:04:46 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2079.outbound.protection.outlook.com [40.107.94.79]) by mails.dpdk.org (Postfix) with ESMTP id 4986E42802 for ; Tue, 21 Jun 2022 10:04:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O0qZNlOlUn+Tg3mSKD5sS29Q8I6jorWJI+h9FRQgV8FhIG7NEGlx64+BXixj+Ye84p39EN89jeCiE2rp3u0L9dJawRPy7fgHL1qfz5HNoag/VBTmGqqC+UPBNNQz912Foie+9GZK8Y9218E9rQ31fA6wTQjX1N7odR3DibqnGrbwrdytQDgTwt1HRT15OiQcXL7suw/9ZgHKVpliCjat//vkr1y89xQCKSvZWL5djkj9Fabg7NNC9xRoghxz4BIr/alHm4CEBRBEe+XDlRlkylVPWX0bqDkFANCgB7BS5Ees+LYuEkEDvi7ab53yo9NrV7GBHOeBTU2PFBGlUORSEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=25z07sSO1Hbipg+wwwHtbgVYBWaRiyKZD1ctz/U7nB8=; b=UaRieBjgWaUUTNtwpU6vThgC/FBiJZ/HTzLXM/eGhqgqkhOx/+z1D0fHXFulRZuM3mZhBQEof5rpAxSATC3X+kmI1lTZU+mexzwbHQyXvLPkkCk/KJCoOlyKt1VZEYyC3wyhZZSntXO3RIWJ3a3NwHO4D7Dr+p8zOW4RWGCPMDiRHjR5XmDHRK4AdFya/Tv3DGHOX/8cE2uvrxBw01geiUWbRjuUyc8/Gw5AFPQ2Qlty81/FRtkrMf/Xa2GYzPU7WMU1pnpkjvfg2IxbfpU5zJHzXAVqf1rBmCYSmQJSwwvkjYcDVILtkf8R79xZQ0BXY+RiUqJ7+5J0FMszEBZOwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.234) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=25z07sSO1Hbipg+wwwHtbgVYBWaRiyKZD1ctz/U7nB8=; b=Z0ll+O55Ubgd0wCjW1AzI0/yXjy1Az6QWPqF0Fv6UKPiPvsyitrtvV2FBxYJKceyobUrPHL64+frxQct69MPmjjHVniIYb+qPdiTMFNKuGUIg6k6eVpW6QD4SYxP2QizTwhdA4+GxLSxNH5Um4h8BCD3zNadoId/wKm/lgOi4KwjOIi3yPGag6RElCBIGnOQ5beGI1CBHfKfmmWXwCXOQ+vEE+KQMfE4IBEDsLkRVVtjp+bbvJf3nYhLywRy9Wg+b/l73raPaJ3j49S/U0MrPZnVfpGXbYeE0+au1Lz63WZYFsvdA8vajaaw9ZNyvOmhKFfIzrC7/5bcWWIlNWtHbg== Received: from BN6PR20CA0069.namprd20.prod.outlook.com (2603:10b6:404:151::31) by BYAPR12MB3542.namprd12.prod.outlook.com (2603:10b6:a03:135::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.20; Tue, 21 Jun 2022 08:04:43 +0000 Received: from BN8NAM11FT018.eop-nam11.prod.protection.outlook.com (2603:10b6:404:151:cafe::fd) by BN6PR20CA0069.outlook.office365.com (2603:10b6:404:151::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.22 via Frontend Transport; Tue, 21 Jun 2022 08:04:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.234) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.234 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.234; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.234) by BN8NAM11FT018.mail.protection.outlook.com (10.13.176.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5353.14 via Frontend Transport; Tue, 21 Jun 2022 08:04:42 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Tue, 21 Jun 2022 08:04:41 +0000 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 21 Jun 2022 01:04:39 -0700 From: Xueming Li 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 20.11.6 Date: Tue, 21 Jun 2022 11:01:25 +0300 Message-ID: <20220621080301.2315720-20-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220621080301.2315720-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b6205250-6a02-4f47-1208-08da535cb2f0 X-MS-TrafficTypeDiagnostic: BYAPR12MB3542:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BzRjNDYdqCrVQilXRVIB90xHG20OWx/0LPRHfam4CqusOkGYG5Lp9ZNcG8ajnuCuhEoWbKm2+Su5vx1wEgY9ACjIICSydvpZQlszfwpkon7873AEie67rHVPo5Q3I++TW2kYCrlyqqP5uudkDpibGlukEQBZt2mNIqH8MZ2dof55Bwq3fd8//4ug7lpnkGlATWKu8pMV/Vho0Bh4ozBSB1vzFjtExEPoY8qbS5+wXVKSxZlAsSxUXoaArRA/k1m97iBCjktLXoh0h5unKNZ03sxJO1/sZmSPW3CcBh6wbKVx0AzTQqSQucGrdaK7SAFAE2NqmZ+AEyAJ2Da1Tk7X0Uo9MdfsUNIoJh8HU/BSln9i41gbk3WmjT6til87MDXNVwt+TI6A9VfGBIDfnWykyjfB2bP7Ts8c+UP3UIt0lxGKqLfC13wrE9Ksy2NrnGI29xiSXhE7WeXVNVmbb5D3h1CaAf9Y9oll0o30rNJF+D+Zpcv6Hs8mk5kTaYLsJP4JIrVVS0r/2CozzEnckMMMBLcaX0OdG+WCB5ihKNLac7BsP7g263PLfNqprqaV805FwiFV1HHNgmyAqewmBsEtdud+cWKlj0zanrMeNKfw9Yf9cyMqrLiN00DcnREdARIeaOQuwjDtPKtffL0Fhoii10uG21PTBKVv5W508qONeka1Vp358zarU1DmdWWWw2ebYNyt7WHu4tAJ6CMftPRBlci+55314p1XvcfjWx9fkgpgI2qsf6Y7lzMuCOM/OMqy0kVHBn/YTta1MBfOhyfcuDq1XG7B3SFy803vJQmeBa5YhgIC7R2pf59pzltqAh/Ng5iOJtQsVdLpP5x0OFlFOSPKLYDq20VeN8vQ8f0/CE8= X-Forefront-Antispam-Report: CIP:12.22.5.234; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(376002)(136003)(396003)(346002)(46966006)(40470700004)(36840700001)(478600001)(2906002)(82310400005)(356005)(336012)(82740400003)(8936002)(5660300002)(8676002)(81166007)(16526019)(186003)(47076005)(316002)(40480700001)(40460700003)(86362001)(26005)(6286002)(36756003)(966005)(6666004)(1076003)(6916009)(70206006)(70586007)(41300700001)(53546011)(426003)(36860700001)(7696005)(2616005)(54906003)(55016003)(4326008)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2022 08:04:42.8645 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b6205250-6a02-4f47-1208-08da535cb2f0 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.234]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT018.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3542 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 20.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/23/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/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/6b38d08f0c9e77acb5ff7d8550489e852f3318d7 Thanks. Xueming Li --- >From 6b38d08f0c9e77acb5ff7d8550489e852f3318d7 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 Cc: Xueming Li [ 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 de0cf0fbc4..64ee56e7c9 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -1583,6 +1583,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.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-06-21 15:37:50.159030844 +0800 +++ 0019-crypto-dpaa2_sec-fix-operation-status-for-simple-FD.patch 2022-06-21 15:37:48.991117753 +0800 @@ -1 +1 @@ -From 04408e461e9dde8c921c851e0ad1611b178ce630 Mon Sep 17 00:00:00 2001 +From 6b38d08f0c9e77acb5ff7d8550489e852f3318d7 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 04408e461e9dde8c921c851e0ad1611b178ce630 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index 9f2b384af9..8444f1a795 100644 +index de0cf0fbc4..64ee56e7c9 100644 @@ -24 +26 @@ -@@ -1591,6 +1591,14 @@ sec_simple_fd_to_mbuf(const struct qbman_fd *fd) +@@ -1583,6 +1583,14 @@ sec_simple_fd_to_mbuf(const struct qbman_fd *fd)