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 F1135428F8 for ; Sun, 9 Apr 2023 17:27:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB5FC4114A; Sun, 9 Apr 2023 17:27:49 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 2EC0240A80 for ; Sun, 9 Apr 2023 17:27:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SYV9gsEQVBS+SvH8vgbiy0XWkxP+/rE07xBvTiOXzy+ZXy+jGkkN09j/zo4BCv+fCKQB5wf0vDb21yC6Obr0UjMXaYcSaW3U9wy6pePUXyJsEdT6kkEdRW0LHRm694s6RI0arADarAyY0yOFG4q29jWeqncUablmYqheYDoT4L5YuWbS15l56trRvyuYDLaPZVLjCdwNdcLJa2qBgTXRAoa3+uK2/2UDaAoaEJ9+2zt3LoyuDlSpD12sdVJFd+zCCG+j2+QXigpNBBC24HsLfIjOu/pDb8ENZN02QJTmDzMuTKXu/CMRgeBl78Lhen5qduwaLRdWgDtGjOtZn4kDMg== 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=1kYqBIklJLWSMhoEoTiVqksJNceMGR5WtwY2MlGtTJ4=; b=nWD6UWH/rhZF+GrNnDrU0MWbV4V8cQJMdj7GkGCeitJI3+uCPGQV5JyUH8O/aDbVBTGfEyt0Y3qgdXrNQf+k/EcEzubzEO+mfS4rRECrjksPtsYnNhErL/6BQ3DjzCoXbC7hfobIcXrVCjjwvDitJ23UuNtTzIfnNtSFhy/0ptrWljS6AFVPR4bmq8MIFXPy9QAJ2+09U5O2J/8KycvW+Aj2XFGNjRMjELDzRoiBOFWigKPhZ87+uei+419g9HQ4nPqB0CvxEd6y2CjnpgmNYVhnJ5purLkMRp3JVA9X2PLZ1g55F6LX+jg6xXqguPM+ksHJm6Hd5rxVt5/c03hihQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=1kYqBIklJLWSMhoEoTiVqksJNceMGR5WtwY2MlGtTJ4=; b=QmYzw8EvHWLkGyWmuyLivE1C7HTAef7/PlVdtd49U1o2MnIxBag9HakjYTrHjbzRlFYdbRzHYWsGYt7Jg9UAeMaLHQJfahlbWohoJUE9L6/VGIoFy5rKFyqNTGVjT4vQmuvLI/DB44GCyqth/fWuON6f+EYMk5WBpN4NdGLX/RU8Iceb3RNt2wbfyAM5sOP5SZXPDmP05P8XR9ZjfXk87lRPGrekLqEgVRHZ2S/p52SbTFMTjuIrN0gyi1NsHxFz2IcMMEkepz8ZL1RpHFR8oH3rxP7IgPUs7FHhTvlmV9vCAFGK6/VeXA6N38nnRcQQCxMaGkDy9839iaeSojpV5Q== Received: from BN9PR03CA0849.namprd03.prod.outlook.com (2603:10b6:408:13d::14) by SA0PR12MB7073.namprd12.prod.outlook.com (2603:10b6:806:2d5::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.34; Sun, 9 Apr 2023 15:27:46 +0000 Received: from BN8NAM11FT105.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13d:cafe::e6) by BN9PR03CA0849.outlook.office365.com (2603:10b6:408:13d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.39 via Frontend Transport; Sun, 9 Apr 2023 15:27:46 +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 BN8NAM11FT105.mail.protection.outlook.com (10.13.176.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.26 via Frontend Transport; Sun, 9 Apr 2023 15:27:46 +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:31 -0700 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, 9 Apr 2023 08:27:29 -0700 From: Xueming Li To: Michael Baum CC: Matan Azrad , dpdk stable Subject: patch 'compress/mlx5: fix queue setup for partial transformations' has been queued to stable release 22.11.2 Date: Sun, 9 Apr 2023 23:23:30 +0800 Message-ID: <20230409152529.5308-23-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.231.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: BN8NAM11FT105:EE_|SA0PR12MB7073:EE_ X-MS-Office365-Filtering-Correlation-Id: 4904f3d4-cd58-439f-1562-08db390ef87f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dwHBLyOJmXxLXw0CFOFhNHC6f0IG2oqmno9wCmxJbp/TWrE3GO/LgMUV6hmQZA2VCZuWBT857E/dtINWguFFmPat+VCpeqc3FOvUFCTYIw5nO/dqZcnoeST8HCYcgigjuQip02zpBBpPIFxrJw/l2rk1Iyg29mWIacoqc1gt6rFu2VgKKgj6xYhsUFFJF8/HrwsKW4sADiFWG7hQFj8De70frF1XD6b8PkHunlBw0ZbqhhwErTa5qL2vDf9U2HKrvvv9OjPlAbE9MJ2uY94W+3fNYZ1Z5tbegZdjt2tHpG/Lmv58khk2W6DZmKGmEzDevcnG9gZ50keuGK+U5Tb6DG+5MQ0K8v66RtN0PFE0yzl8mbnTXLYN9cNxKQXgCcUKI/KTDDClaHSY6KUoZh4GiQRLO1jj6Thb92fY6/lLNNSdQBTEArA5DcMezDpPmSPd1RnyxfKqSdYp4acfj4uJ3Juc7cx5GcHt8MWsAhbMiRajvu81+fBzQLVtEj3tBM/CZSLBuz40v7u7ALOW22PZu9bI66JN6sozTKSyZ9Q7rfxEPou76RvS8IaCJEa8fMTPpQ5kB21DSikLtbm9UpWeiKtDDOVCkHkdZZL75n9F1p5ExD7orZkkDtTGvRh+rSh6O++2nE+gZgBhPFumzA4laezhe1E2KuRfVuqK7ODJ2I/V0apwthwYIxBh0UibdA1NJ1CUXfufOB6NWJYE8csSq4hGKPGOSt+dCs6hcrhZJ/BqmvK43cOWqcDpU3Kt75E1TfPruOWjK/ht6yppQnR9G/dVBdHe1GwSvy3I+QPbliDJqqe5R+udpAKfXXO5LAznS4BRTT5OS7FrufOsuYM8/g== 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)(346002)(136003)(376002)(39860400002)(451199021)(36840700001)(46966006)(40470700004)(6666004)(16526019)(55016003)(82740400003)(6286002)(7636003)(356005)(26005)(40460700003)(1076003)(40480700001)(186003)(53546011)(83380400001)(47076005)(336012)(426003)(36860700001)(2616005)(6862004)(2906002)(5660300002)(8936002)(6636002)(86362001)(36756003)(478600001)(54906003)(966005)(7696005)(4326008)(70586007)(70206006)(8676002)(41300700001)(316002)(37006003)(82310400005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2023 15:27:46.2273 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4904f3d4-cd58-439f-1562-08db390ef87f 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: BN8NAM11FT105.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB7073 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/435188c3c42b725f5653ccbf9e667894a60d13a9 Thanks. Xueming Li --- >From 435188c3c42b725f5653ccbf9e667894a60d13a9 Mon Sep 17 00:00:00 2001 From: Michael Baum Date: Tue, 21 Feb 2023 09:07:51 +0200 Subject: [PATCH] compress/mlx5: fix queue setup for partial transformations Cc: Xueming Li [ upstream commit ad7febec11c522c1f6aa3cd61a0be223d12c0c76 ] The mlx5_compress_qp_setup() function creates QP for compress, decompress and DMA. Thus, the MMO flag is turned on only when all operations are supported. However, since partial transformations have been allowed, it should be turn on for part of them. This patch removes the compress MMO support requirement. Fixes: 2efd26544554 ("compress/mlx5: support partial transformation") Signed-off-by: Michael Baum Acked-by: Matan Azrad --- drivers/compress/mlx5/mlx5_compress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/compress/mlx5/mlx5_compress.c b/drivers/compress/mlx5/mlx5_compress.c index c46fb4eb89..c4bf62ed41 100644 --- a/drivers/compress/mlx5/mlx5_compress.c +++ b/drivers/compress/mlx5/mlx5_compress.c @@ -243,8 +243,8 @@ mlx5_compress_qp_setup(struct rte_compressdev *dev, uint16_t qp_id, mlx5_ts_format_conv(priv->cdev->config.hca_attr.qp_ts_format); qp_attr.num_of_receive_wqes = 0; qp_attr.num_of_send_wqbbs = RTE_BIT32(log_ops_n); - qp_attr.mmo = priv->mmo_decomp_qp && priv->mmo_comp_qp - && priv->mmo_dma_qp; + qp_attr.mmo = priv->mmo_decomp_qp || priv->mmo_comp_qp || + priv->mmo_dma_qp; ret = mlx5_devx_qp_create(priv->cdev->ctx, &qp->qp, qp_attr.num_of_send_wqbbs * MLX5_WQE_SIZE, &qp_attr, socket_id); -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-04-09 21:45:39.387501600 +0800 +++ 0022-compress-mlx5-fix-queue-setup-for-partial-transforma.patch 2023-04-09 21:45:38.599042200 +0800 @@ -1 +1 @@ -From ad7febec11c522c1f6aa3cd61a0be223d12c0c76 Mon Sep 17 00:00:00 2001 +From 435188c3c42b725f5653ccbf9e667894a60d13a9 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit ad7febec11c522c1f6aa3cd61a0be223d12c0c76 ] @@ -16 +18,0 @@ -Cc: stable@dpdk.org @@ -25 +27 @@ -index 82088a7b8c..6882bcf6d1 100644 +index c46fb4eb89..c4bf62ed41 100644