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 71EFE428F8 for ; Sun, 9 Apr 2023 17:27:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A9EE40A80; Sun, 9 Apr 2023 17:27:09 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2041.outbound.protection.outlook.com [40.107.223.41]) by mails.dpdk.org (Postfix) with ESMTP id 4F371410EE for ; Sun, 9 Apr 2023 17:27:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LPp/oJQix9Mru3sMzIfQlIeMxSBkB5CF/2rT3xyynTIJClVIfY4JsUquDnSuKPHv0UbwC26NrA4Z+Fsj97YT7FduPmwDx04RWGhHOBzAeC/9fmCHdWlMCNchKLFCh6VrhibxRm0/yfsisYMlTmTaM3/EO4G4AMqPohE8qoVkVUVJIc/VW+Tyf4LRoSs/mY8kpWWW982J2G6lfyQi+hCfv/I58fLQbaX7YQJzhWUazgzmvKtcNe0DY5trHe++M/l+kPTOuUMZVrQxhmXjgDTseMsPpSLWcN7lgbGr0/KxlY8QNNJXwYLjxSlReWU8ca3AqNXJstn6PO8Vi3u3DLttKg== 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=0RizwRIPWK+AzHOta7+LQtqF0r6Mq/I8x45fvhq2wD4=; b=IqdzONF9IciOhiTYcEXPjhAPjd4GOf9gXJwGjGygLXSoQQzprA3dBF8H7qyyiOViP645JXnTnAzWIHdkDkw95ofLiowQbMKt2XcV6BTis/r3l4wcuWFbMmf37MU+W2R6sOOKWCBeJzB131ipPW40lpdVj1rmjKabGLuNuBlRzyBbm1Dxfbo+XsPEFIZ7xQCwnql8GRJSSdTWlDyX1lTd5Lh2rcrKWHKyCwlrRftyffifaThwQpml35cRZ/N/p7IjfjH0Z3h4ViLbUO6hnumr+3X9RrqRqkqoLvSbhN6yD2UU3jAJYfpeHru7Py7d0bNizrCXzPrVPcUHu3qizDcexQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=intel.com 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=0RizwRIPWK+AzHOta7+LQtqF0r6Mq/I8x45fvhq2wD4=; b=jL+Bx1rM2SCBnTc9bHXI13Qr2T8XryMPMDYSlF1wh157vya+z49FzsemI4aGfF8nKUHLmpd2r/8N9Tbltwig2XOvo3q0aIRwYCB+A+VtntwP4hsZW7oEpwWDb0mK6I8xym0m0mDJ6sJ8B25wsdZ1XRSIBoMRTd4kIJZY5mziI7plRt7PNhYd2BQpSQ1zIZmcqJeUuAYNffQEjmdxqrb8inD4UJuWk/iHRbJrCJK7tbOIPfRaYqkKgKoexn9VFsGFR3AwUr01zTDmqbIJch40aZZ6LU8PV3h7CAkVwECdbc86t6u+QwqFCPymqMRfOJQJo0EB2zKuQN+MeRKegUszRQ== Received: from MW4PR04CA0281.namprd04.prod.outlook.com (2603:10b6:303:89::16) by IA0PR12MB8713.namprd12.prod.outlook.com (2603:10b6:208:48e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.36; Sun, 9 Apr 2023 15:27:05 +0000 Received: from CO1NAM11FT063.eop-nam11.prod.protection.outlook.com (2603:10b6:303:89:cafe::ff) by MW4PR04CA0281.outlook.office365.com (2603:10b6:303:89::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.35 via Frontend Transport; Sun, 9 Apr 2023 15:27:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CO1NAM11FT063.mail.protection.outlook.com (10.13.175.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.21 via Frontend Transport; Sun, 9 Apr 2023 15:27:04 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Sun, 9 Apr 2023 08:27:02 -0700 Received: from nvidia.com (10.126.230.37) 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.37; Sun, 9 Apr 2023 08:27:01 -0700 From: Xueming Li To: Hernan Vargas CC: Maxime Coquelin , dpdk stable Subject: patch 'test/bbdev: remove check for invalid opaque data' has been queued to stable release 22.11.2 Date: Sun, 9 Apr 2023 23:23:23 +0800 Message-ID: <20230409152529.5308-16-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230409152529.5308-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230409152529.5308-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.37] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT063:EE_|IA0PR12MB8713:EE_ X-MS-Office365-Filtering-Correlation-Id: 902b3e41-375a-42e2-2174-08db390edfd4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: g69zrI4Rc49st2/dEhoKPyR54NtSCHjfNS5s3ZPdApmiHz4I2FO0OB3hzZp7Qk6LWEVpwtxKHCddmoe8V7HZu17bq4ER+AHbUwQkDchAbo/KlydD5oYN0SJzHpVvW0Oh61I+4DfWhyxWJUQei6/bg58nl00d7+9y6SyoHimM4oqF927o7CiN3CAkWHA8D6uoANfdHT1b2ZanCa0JbsbASCnzl5BoPV82OdvN77RSNx1G3nKUtFkuRvU//Vv1y/eetutT0pGnADO4eKXE2E2pDmPYEQp0xKWmOdTyeKK9wnGL32rOLw1um8w66NFqDRILFD1yhUUINqTUuqddbQEFlKAr7MsAslBt87CNUKOBCiN76RlIPsjC8+yPpTuqoYOPrDBiSJG1RSBSymJsnZ0sHS1VNhJvInGgfKbXtub6vEKKxsKdK6QKec8Ru2E0gsUzSiZTO5lc3BiNQl6ZBcthY+jWnm8MamILUJZvokf9qWyqFw5YUL+RI6/wIhPHq9l0+4YBXQQT6gAE1XOGZFn64gxo747WSZS8xIb93Q/+JLhJ6QKbID9fuQquhyn04rmxGEqqZLVzZiKLgrrFZ9GggbnQHzoVN2BfY6jYrhlF+iMXqC0mE52qdafblNWtZaS965D7IdWLuSvaHbvxST8R0NlRkQIK4p3LM6yg4nCdDOb/IMYvUM5lJyEPlQ4jS5YNssSCCZ15CUYFPBQ/FG66ap+ml/TWJEY2tea6v7xPDjfiLOS30R69GTlLRyiP0vrPmgEFwPf+6aQ9O8Je5dMWqrpStAztM8+1ak0noIa0Md9xfm2udyBiuupq7oz3iV3Nodmcvqjyj8WDZxfVm2DNNw== X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(396003)(136003)(39860400002)(376002)(346002)(451199021)(36840700001)(40470700004)(46966006)(53546011)(70586007)(70206006)(86362001)(26005)(1076003)(316002)(6916009)(4326008)(6286002)(186003)(40460700003)(16526019)(36756003)(6666004)(966005)(7696005)(54906003)(82310400005)(40480700001)(55016003)(478600001)(36860700001)(8676002)(8936002)(2616005)(5660300002)(356005)(41300700001)(7636003)(47076005)(2906002)(83380400001)(336012)(426003)(82740400003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2023 15:27:04.9197 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 902b3e41-375a-42e2-2174-08db390edfd4 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT063.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB8713 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 22.11.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 04/11/23. 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://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging/commit/47cef6560020c12c8c8dbba4b97df4fcda5a69ed Thanks. Xueming Li --- >From 47cef6560020c12c8c8dbba4b97df4fcda5a69ed Mon Sep 17 00:00:00 2001 From: Hernan Vargas Date: Thu, 2 Mar 2023 12:21:57 -0800 Subject: [PATCH] test/bbdev: remove check for invalid opaque data Cc: Xueming Li [ upstream commit 26437807ff57a13133d4c03d87c5eac037f1ffaa ] Assert also if the opaque data is invalid. Fixes: 335c11fd2763 ("app/bbdev: support HARQ validation") Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 2f15bf6fe8..0f441ace4d 100644 --- a/app/test-bbdev/test_bbdev_perf.c +++ b/app/test-bbdev/test_bbdev_perf.c @@ -78,7 +78,6 @@ #define SYNC_WAIT 0 #define SYNC_START 1 -#define INVALID_OPAQUE -1 #define INVALID_QUEUE_ID -1 /* Increment for next code block in external HARQ memory */ @@ -1953,10 +1952,9 @@ check_enc_status_and_ordering(struct rte_bbdev_enc_op *op, "op_status (%d) != expected_status (%d)", op->status, expected_status); - if (op->opaque_data != (void *)(uintptr_t)INVALID_OPAQUE) - TEST_ASSERT((void *)(uintptr_t)order_idx == op->opaque_data, - "Ordering error, expected %p, got %p", - (void *)(uintptr_t)order_idx, op->opaque_data); + TEST_ASSERT((void *)(uintptr_t)order_idx == op->opaque_data, + "Ordering error, expected %p, got %p", + (void *)(uintptr_t)order_idx, op->opaque_data); return TEST_SUCCESS; } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-04-09 21:45:39.222437900 +0800 +++ 0015-test-bbdev-remove-check-for-invalid-opaque-data.patch 2023-04-09 21:45:38.599042200 +0800 @@ -1 +1 @@ -From 26437807ff57a13133d4c03d87c5eac037f1ffaa Mon Sep 17 00:00:00 2001 +From 47cef6560020c12c8c8dbba4b97df4fcda5a69ed Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 26437807ff57a13133d4c03d87c5eac037f1ffaa ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org @@ -18 +20 @@ -index 74e7e13940..95d63a3548 100644 +index 2f15bf6fe8..0f441ace4d 100644 @@ -29 +31 @@ -@@ -1951,10 +1950,9 @@ check_enc_status_and_ordering(struct rte_bbdev_enc_op *op, +@@ -1953,10 +1952,9 @@ check_enc_status_and_ordering(struct rte_bbdev_enc_op *op,