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 0A49745683; Mon, 22 Jul 2024 18:41:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60F0E40E68; Mon, 22 Jul 2024 18:40:15 +0200 (CEST) Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013006.outbound.protection.outlook.com [52.101.67.6]) by mails.dpdk.org (Postfix) with ESMTP id 8A6D540E1B; Mon, 22 Jul 2024 18:40:12 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Jhc77rCend8qHXcuky2G+YkxYI0JhtiswbZ8xEJVajGpusGxDNAywCk4DB+qC+lldQi7IZ1uMVmOIa9ManacYjWXAp7KxLM4afg76n1DiKka3C6fXxTcsnZ1zAlNoyalwbsS2AG4xHg2sy8AB+L1TK8xVo4teMb8i3knZLPsHy3HtCmvuWKwDJ7a6yYQP57BY2hnJFLGkxYqHtlS1aG9QN8+krspYtefq0Ut5QCvKfu4Cx8zYDchLdnZYJKUh3+VNMYsxOt8pD0C2HWFoaCdZ+sYGdQTu2qrS8ZspSTG2quUhfoaqhGPFmw9Clzuij2HvucF2hLkv08IjZR17URTgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=zx9hCaRsbM0Q/MQ2d5i0P3eAIyrrDJNW3zcZErewB4w=; b=aUFgDJNeBXebf6RwZDnEUicvfZP8a8mXXggsntq7D346fTYEG20MMdRbOus5ErXRssTfCIGe8uDFd9CfsckheKEQiHoqW8vK7KCbOk1nxUMQhqObtSzBLl4bJFoIZ1/OAd0xOZwRgJJr6nwbE9cEH0lh0vWBwHrbFijv70+fr3CDWJ9iMaAxRsW7OTv8gxitQD9nee27Gn3f1m7B1TIsO0wq+h3+WDCs8x+1v+jbmRxbzs9VoHu5HRDlbIUN9Wdw+x0fvE3gqDJ9v1cOlRxOBEeu75BikTUaRz3AEcehgg5cjC5cxorkmlFNisSkFDsfGaLS03JGAA6zUeEVE5psUA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zx9hCaRsbM0Q/MQ2d5i0P3eAIyrrDJNW3zcZErewB4w=; b=qMwuSN6KX+gcoQQzoCBJXF4IFiKbelxucIWMBPOGznUKjt2473kzakxvAptukjuz31A6e55oKljNEFz+suepJItBlK6F4dlNZem1IXVTfm4jsswHNps+C14IOz6LP2RCZrKDZ/CRP3jndYMeucwvhdNBTsuEqy73jQtKwncSyp4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8SPR01MB0024.eurprd04.prod.outlook.com (2603:10a6:20b:3d0::24) by PA1PR04MB10652.eurprd04.prod.outlook.com (2603:10a6:102:491::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Mon, 22 Jul 2024 16:40:11 +0000 Received: from AS8SPR01MB0024.eurprd04.prod.outlook.com ([fe80::c634:479e:8f8a:a325]) by AS8SPR01MB0024.eurprd04.prod.outlook.com ([fe80::c634:479e:8f8a:a325%7]) with mapi id 15.20.7784.017; Mon, 22 Jul 2024 16:40:11 +0000 From: Gagandeep Singh To: dev@dpdk.org, Sachin Saxena Cc: stable@dpdk.org Subject: [v3 14/30] dma/dpaa: fix job enqueue Date: Mon, 22 Jul 2024 22:09:14 +0530 Message-Id: <20240722163930.2171568-15-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240722163930.2171568-1-g.singh@nxp.com> References: <20240722115843.1830105-1-g.singh@nxp.com> <20240722163930.2171568-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG3P274CA0014.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::26) To AS8SPR01MB0024.eurprd04.prod.outlook.com (2603:10a6:20b:3d0::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8SPR01MB0024:EE_|PA1PR04MB10652:EE_ X-MS-Office365-Filtering-Correlation-Id: 3621e7a5-1a81-4334-94e9-08dcaa6cf418 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?pOSX37IJDPyOCd6pO5qXtfW2fqjIBMYKVuxi20dIGtuglpvAmy/H30CLi5GJ?= =?us-ascii?Q?mA6mrVfYR6sLsBY0bBcdGoF0B0s0MiKG4lnbHLhcMn6hDmRTMUxEN9Kxn3Ia?= =?us-ascii?Q?YZftIbYbn7I6ldnp+tNenYoWd1f4SY2Ea2JueWHwHJh4rD43O0ua7EjS9pFM?= =?us-ascii?Q?SoSwc3DqPfYQRK5BHeouebdTqhtoKzgeUhyjFQJSHbgtLiQP8hKte6ZXWTG0?= =?us-ascii?Q?nvm/bDmqAWwh3zVwdru8zwWLciAlg2Xuv5YbdFfkYGygmAeG70AxLWMK2Zs4?= =?us-ascii?Q?uDqYNYo5PwtIqkmoHl1iOo6wmmnvLnV56hY//cfk9hv1ueu8s3cIXeVglskl?= =?us-ascii?Q?ke6F1O1tuiRA3QHHOxVqgBze22w1YkhdL+bybi5wb0lyCocUj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g6aoodwCY3RCQSKDDbWxCW5S4oTzc89YblUsGN8epUUmRny?= =?us-ascii?Q?WEPZFtA6CRNZuPG2EyS7wDoXjjiTrvATrG4KBe7PxE81H44oyas+jNC0Cl/S?= =?us-ascii?Q?K10iMpcRovqPKeEuMfG/VKJc6jKxq8T+2VUwh8hD+ZY0yy30Ng=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8SPR01MB0024.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(52116014)(376014)(1800799024)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?rO3lZqlTTcH3Q2SvKpIEjk2NWDh5Q4ISfdMZ7H3We8XkL5s+1ZL+2jX7nD29?= =?us-ascii?Q?y7LzF2UcHDkSwBIg+03ldu36PN+dUt73TPO0Y5jrAX3BvFk7ffHPlFgVMhsg?= =?us-ascii?Q?9a/Jxpdh/WzjBqX1tXTPJVda5svbAvn6TOe7UEm+gsQZikPOMtWS/vOfZZKV?= =?us-ascii?Q?t6KcgP53KriAVfUKHaePrwm6K01W7pCC3LwMqp/MUVW2SmdOC/IzXtMsMf22?= =?us-ascii?Q?DvmLaB2xkarisQCEHNxjVMlQxPCninSYyKKEZGyP/NnZQl737gol5wh5Nux2?= =?us-ascii?Q?R1W1phcQLOE7khONSiaXnRzqlBKHIhnTfS4kauPcZpqjcaXQ/PwRk7ckCHwD?= =?us-ascii?Q?O54Lwyk4JZsWsJDdYVmIX2vEmZoUb1qYsgSgSmAWBbXLccE8YzDlp557LywH?= =?us-ascii?Q?h1V8mM99tYT0Vz9ke1XA3nVBtT/FqBoP00xvwO3GCzHLm9psNRMEdDd/ZJXg?= =?us-ascii?Q?r7ROUOwdU9FoS9IK+H/Ky6hjCFSH1IJ9AHpRdo7qZQS8wB28xggd2Qi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myH3P1H3tHo1BF6Ws1YEjrIld+uWLOEF8HkRbJ?= =?us-ascii?Q?CKuTOgol3YXIKq3EMWg86FeUFPKshedoAyOqRrFso8ViWnxiYrY55vAMQSi6?= =?us-ascii?Q?Cvka40DLmkXerO6xJBkcxzhtQmub6/dM5O3+2NvmDoHwvYuek8vdddVm+zU8?= =?us-ascii?Q?fFv5JON7rrShbkps9TCN+G65hn3Tj3E5bOF1wW0d?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3621e7a5-1a81-4334-94e9-08dcaa6cf418 X-MS-Exchange-CrossTenant-AuthSource: AS8SPR01MB0024.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2024 16:40:11.1165 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9/vApwL+eQFsOUuAdf4Tav1D5QjcJhFXAaC+qXMr7sfDXltmX3vebB64TWsxQ7BQ X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10652 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The check shall be end instead of equal. Fixes: 7da29a644c51 ("dma/dpaa: support DMA operations") Cc: stable@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/dma/dpaa/dpaa_qdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/dpaa/dpaa_qdma.c b/drivers/dma/dpaa/dpaa_qdma.c index 24ad7ad019..0a91cf040a 100644 --- a/drivers/dma/dpaa/dpaa_qdma.c +++ b/drivers/dma/dpaa/dpaa_qdma.c @@ -615,7 +615,7 @@ fsl_qdma_enqueue_desc(struct fsl_qdma_chan *fsl_chan, list_add_tail(&fsl_comp->list, &fsl_queue->comp_used); - if (flags == RTE_DMA_OP_FLAG_SUBMIT) { + if (flags & RTE_DMA_OP_FLAG_SUBMIT) { reg = qdma_readl_be(block + FSL_QDMA_BCQMR(fsl_queue->id)); reg |= FSL_QDMA_BCQMR_EI_BE; qdma_writel_be(reg, block + FSL_QDMA_BCQMR(fsl_queue->id)); -- 2.25.1