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 C56AD41D8D for ; Mon, 27 Feb 2023 08:06:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C1237410DC; Mon, 27 Feb 2023 08:06:14 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2053.outbound.protection.outlook.com [40.107.243.53]) by mails.dpdk.org (Postfix) with ESMTP id 19E3840A7D for ; Mon, 27 Feb 2023 08:06:13 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QmiNA4u9hykb8tWRJX2hYxlmE0EKstNhQMu+OKjcO/r6bVzFj7/n8Vp8MerA0ulXlq/Z3So2HEeY68Y91LtBz97ujGmK9e6ivWdk84OWZSQfJum2xjp1TjCPX3K/cb7ITfkaK0fFDXRCfxtw3MMc4ro8niWxK8KFjS5n08iUIFtR4axWxGPBxEx7WiEgji2nALl1yweb3o00Y7OBaTBKQcFIr2BYehiYGTeU7Sq+LejFjHj9NS5r0dJ6BZ+WMw3lc1EVoMWLkIH4qnW/uLSGvb0iMbmoW521S36gCR+3c3DoDRkg+lEns0rMvKTIuTOhxxS5XKK0SHXBj/zzmsLNnw== 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=N/nRM5jZ/TuHHv+S7VJoqrq2eIA9sxq2NQ703AQrn2g=; b=L3d5n3sPMpDyliat8oxBcMLKrPZZ9yLMEKv/ePpbXaWB/U2Eeo9XcOnyYU8KmVZEi71l+lJF+QEBnTZcNOdsweUSqES4LSTykogH0Hg49YEOzfdW71PzAGwxeoeakPrETwp03IIzLtv/Mq66Mc/UeGMERtY23WKZvkesh6XIcr2waX05KJFjBQUJ3lOP4PYIEwMWxubx7IZLQooqoQBm8/nMa44KQsOD3O0rzAzXGc/BRS1fVYq3UKeKgCwzG+IODqK2FD3vf0cRR0H09zlrTGY8uTSiwA8lDkGjWAjAMhKOekY4naynwiAwPh+YN1tO47gahWSzPsZNueI2DbDU7g== 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=N/nRM5jZ/TuHHv+S7VJoqrq2eIA9sxq2NQ703AQrn2g=; b=bZKrHuQuLplKv2DlDW0swNjzPHC1ak8xJ8eKKojo97yFGgHM3e2IInxpfcTJhG6bTS9PnfDNdyL5z/HS3rWkgfLKT/mySU03dMBMkk5m08O4oau3tpzVh3OhQTBLz2HpwoceRj9+0FhUKc+ANXu+Qr8aIBTR+l7yDz/c/KYe5x9M8FNXKu7tQCbALdTpTXHnnxS1egR88RgzBvyLW2R8Q8xT/bA6/YuPPiqTR0g/GPuI2nl/ApdhOKTJGJUWbxvRqsOGDVakz1Lq/Qc3Fs6BddltwTZXCtRxQsmY6NHfefo2N6LxXY5N1HqtdjgLGu/phJ6CVsPwjRKxYDeF5KEplw== Received: from BN8PR04CA0016.namprd04.prod.outlook.com (2603:10b6:408:70::29) by CY8PR12MB8244.namprd12.prod.outlook.com (2603:10b6:930:72::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Mon, 27 Feb 2023 07:06:11 +0000 Received: from BN8NAM11FT098.eop-nam11.prod.protection.outlook.com (2603:10b6:408:70:cafe::12) by BN8PR04CA0016.outlook.office365.com (2603:10b6:408:70::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29 via Frontend Transport; Mon, 27 Feb 2023 07:06:11 +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 BN8NAM11FT098.mail.protection.outlook.com (10.13.177.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16 via Frontend Transport; Mon, 27 Feb 2023 07:06:10 +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.36; Sun, 26 Feb 2023 23:05:51 -0800 Received: from nvidia.com (10.126.231.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, 26 Feb 2023 23:05:49 -0800 From: Xueming Li To: Nicolas Chautru CC: Maxime Coquelin , dpdk stable Subject: patch 'app/bbdev: fix build with optional flag' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 14:59:11 +0800 Message-ID: <20230227070107.15664-43-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.37] 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-TrafficTypeDiagnostic: BN8NAM11FT098:EE_|CY8PR12MB8244:EE_ X-MS-Office365-Filtering-Correlation-Id: 724f007d-5593-4def-b712-08db18911b3f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WwbGiP0+lesH5NdGe7bM/mwZMQSYjnE2H6XaoZIoOvpHuySaLTIoEEeWCp+ylTacZdzfYnMWvaRvjTFlQNJZdfBDckpXnZhI4KiD2wYCPtyVQrZQOEj9xMxKjepPbbPXbL5u+dn1p7HG5DKq3VXdijgElxHGBiv3JqDHAAunrBGhHS5Z8rhMpzH3VbqqkWbc+8ILojoYf/hdR64WW/zWa91C2mpHoyB1q834NEdMUXCZdzMnjxt0Sfu1CRygvvQXQ0MysEW0JjJvHsZs9LqP2ezUsxj5y0zzR6vrMo5e1uTn4gpqqDr8I19jlSFZrS4ynMsELpLEHQ7CKOy7x0bF3mbTsmTDjiPShWzKloh2BO1JqBJLzIQtTgze4J//1XpnmEBlYRZMlG0JOe0IdKi9x7SzrNrxc/9jvYBs9QKL0rhNqbIJUvIuOs9uajNg5GPw40WsZ59um8q6vgk0TFsXOBORSpO/PE9OEeYfxf7SZBg8hxVrJVCM4UWqXgV5Ve2x/tiGgzQDJrLJyiRqrztLfkJMGjcH+Yisrb7+8fOaFG+XQxcfhHNBgHIRiNFif7hNclte8FKXetjFYbQeuaPafeJZ0hmqhuFzsl8KDjhRa7An1f+kU62sKsOR7lwZIL3+bjIoOiUIGf43RS/YtxNMuEPDWh2zDnrbnMW7V+IZiTvf3UPyCG9vA0voha0Ci6aRVEHk9QFZtUCI40+GeuelqyFB3hxIO6Jwfs7fHdTLVpwxrZ6ojgx9nib0qZa79htnkrTcYDhZSO+3B/co0+sgcNHo31zfzaiBMMHoURoYpHSvu6dt4h3zUw07+the0OSp 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:(13230025)(4636009)(376002)(346002)(136003)(39860400002)(396003)(451199018)(36840700001)(46966006)(40470700004)(336012)(47076005)(426003)(316002)(54906003)(36756003)(40460700003)(55016003)(40480700001)(86362001)(356005)(7636003)(36860700001)(34020700004)(82740400003)(82310400005)(1076003)(6666004)(53546011)(83380400001)(2616005)(186003)(26005)(16526019)(6286002)(5660300002)(8936002)(7696005)(2906002)(966005)(478600001)(4326008)(41300700001)(8676002)(6916009)(70206006)(70586007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:06:10.7354 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 724f007d-5593-4def-b712-08db18911b3f 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: BN8NAM11FT098.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB8244 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 03/01/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/commit/?h=22.11-staging&id=1e82bbe91de0797bfa124299cb47c8a034c53d93 Thanks. Xueming Li --- >From 1e82bbe91de0797bfa124299cb47c8a034c53d93 Mon Sep 17 00:00:00 2001 From: Nicolas Chautru Date: Tue, 13 Dec 2022 08:18:53 -0800 Subject: [PATCH] app/bbdev: fix build with optional flag Cc: Xueming Li [ upstream commit 1228c85649353bcc390dde5b4eed2cf12377eff4 ] Incorrect bbdev member name used in test code under RTE_BBDEV_OFFLOAD_COST build flag. Fixes: 4f08028c5e24 ("bbdev: expose queue related warning and status") Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index b285d3f3a7..1859952901 100644 --- a/app/test-bbdev/test_bbdev_perf.c +++ b/app/test-bbdev/test_bbdev_perf.c @@ -4933,8 +4933,8 @@ get_bbdev_queue_stats(uint16_t dev_id, uint16_t queue_id, stats->dequeued_count = q_stats->dequeued_count; stats->enqueue_err_count = q_stats->enqueue_err_count; stats->dequeue_err_count = q_stats->dequeue_err_count; - stats->enqueue_warning_count = q_stats->enqueue_warning_count; - stats->dequeue_warning_count = q_stats->dequeue_warning_count; + stats->enqueue_warn_count = q_stats->enqueue_warn_count; + stats->dequeue_warn_count = q_stats->dequeue_warn_count; stats->acc_offload_cycles = q_stats->acc_offload_cycles; return 0; -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:42.317413200 +0800 +++ 0044-app-bbdev-fix-build-with-optional-flag.patch 2023-02-27 14:08:40.759237000 +0800 @@ -1 +1 @@ -From 1228c85649353bcc390dde5b4eed2cf12377eff4 Mon Sep 17 00:00:00 2001 +From 1e82bbe91de0797bfa124299cb47c8a034c53d93 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 1228c85649353bcc390dde5b4eed2cf12377eff4 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org