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 D44264564F; Fri, 19 Jul 2024 12:03:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C4D842EA2; Fri, 19 Jul 2024 12:02:23 +0200 (CEST) Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011051.outbound.protection.outlook.com [52.101.70.51]) by mails.dpdk.org (Postfix) with ESMTP id 0A89B42ECB; Fri, 19 Jul 2024 12:02:06 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QfbV3EgbBnhneOnMBfWTvqqwxFDzzCDqj8n4pbNfu3QzZC8EgOkDdZAsClIaieRZUpcgsoqvPN2b90Mb62LGJrQDBEBIFS5at08qqH0GOml0j1aVKcgC2OuMJfDnq6rT9x4ZzAxjJHkruP+XfDwKVfSNSxBd95lyPm1UF01Fqytq3KN0G5YRAG/7mp2tKfgdh3FFSDSAdFuV4LYEgxV4h8JjTD95/HALxSP6AmWhCCDSdP4E9GfyO3/4DLaKTWgIz1ElKErSqnEm6NA+vdGeGb5K+xMCTKLqdCL6usWhVnkiOHdEAtE56uT9gNT1NMv4jR/YY9tNxOJWIYQMSQjHbw== 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=yVMLJP8nljmvZjqc+EQ8XQmyNHRIysEHDRb2DSZ9kJaw9kdjZGYQHnOiZ0II7PRfQvIlz8v63xvy11YdPCDN1pW539BRGazCynHQGkf9+KtiD/oU6M6oj1LvZ3LNiCBQRLJf87VSe0gI2aHsHfcI3aFN0nkqef/iCBfZMxnJLSxtek/REARCRUGiUL2tWWItDNtYBD+u7OoBPvzom9XZ0NlouLnh2Ejl9cD/WpRLeO3Nm1XHBuFqsG0sOwtaCQnjK7Rlv5L3L3KQ5doBazDxv3RRCRamAlujTrraWwGB2VTfa5/aUSfADmkqtbM6j/AYfXKpFnI2YRwh+1QDyMTT2Q== 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=OIcTN1JgzCbG/Hp5dvAVPxbA7CgVz+FF3VcgzaqZ6bvYdrZyY92wziQ4n8swT9NjhCDG7XznUg7iBcEAcByIIEGhaFRHjKzUvhRgVVVOLT7WlsGdENAfacx4uwLrmquRTTp9JqUBJ6nFyogpoqac6upRWIQARo4sMlwZ+NOh6xc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB8205.eurprd04.prod.outlook.com (2603:10a6:102:1c2::20) by DB9PR04MB8345.eurprd04.prod.outlook.com (2603:10a6:10:246::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.19; Fri, 19 Jul 2024 10:02:05 +0000 Received: from PAXPR04MB8205.eurprd04.prod.outlook.com ([fe80::7633:884d:5973:174f]) by PAXPR04MB8205.eurprd04.prod.outlook.com ([fe80::7633:884d:5973:174f%6]) with mapi id 15.20.7784.016; Fri, 19 Jul 2024 10:02:05 +0000 From: Gagandeep Singh To: dev@dpdk.org, Sachin Saxena Cc: stable@dpdk.org Subject: [PATCH 14/30] dma/dpaa: fix job enqueue Date: Fri, 19 Jul 2024 15:31:10 +0530 Message-Id: <20240719100126.1150373-14-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240719100126.1150373-1-g.singh@nxp.com> References: <20240719100126.1150373-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR01CA0184.apcprd01.prod.exchangelabs.com (2603:1096:4:189::9) To PAXPR04MB8205.eurprd04.prod.outlook.com (2603:10a6:102:1c2::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8205:EE_|DB9PR04MB8345:EE_ X-MS-Office365-Filtering-Correlation-Id: 0be7605b-4ef3-4399-04be-08dca7d9d79b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|366016|1800799024|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?tbXs1c4oHDXxr4Hz5iZncVBfZjHwslstzl3IqT+zKwibusgoaZxfRwAE6DjI?= =?us-ascii?Q?WcVnUgZBWW2IdgazzrqesS8fbkVFPw1ZGs8uhNPeR2SjcI5hGvdTL1Bzt8P2?= =?us-ascii?Q?PvUKhLpDW6SidOTWlxGiECiPKjfLwxOZFH1qB1J3AfUlWCw7V4MfvbHfJT9A?= =?us-ascii?Q?qr596PQQ4IMFn+aTPdXDGLskdw0tJ+6zztgzsgOS8FdQt50PaycxFcli+6qv?= =?us-ascii?Q?7oPLH0D2nTCmo3f0rC8cu0Qdd1/aLwQx16AGiJia5pydREKV6F43+KTJcRGJ?= =?us-ascii?Q?P1X6xuOvCOGP78KzH/RfjB313sjEhz6mI3y1VYZHd65kNK9RBR1B3wcQBYrK?= =?us-ascii?Q?qfmmToBPRBCG3pl+ZxYZd3dRH6FVJq6Efbu6GqlhBvYtLwHK99NtTRmrqkys?= =?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PJK+9FvsUmC+ApTcq8CWrFrKJlEIqO?= =?us-ascii?Q?0oVsXHvX7l59tSfZ0VsPkTT+N2ZDvG5QxbU1QblwCS05W1oHuJZ+VC+TWAFI?= =?us-ascii?Q?7ffVBhf8ep+vPGOSt/u1h/UugOoVXDVPaHvWMHlommLiY3zMYA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB8205.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(52116014)(366016)(1800799024)(376014)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?sNv3EEpRWWM0GiM+8Zv8RsPdRj80JdyawcRufWpFDYZk79T0sKGDKlfPuQNY?= =?us-ascii?Q?hPmdhhxdzmJsBtgg5ow4Y+8FoHP6EJSJUJ1ks8ik2WCGMlBR7wtm0zKLAPAe?= =?us-ascii?Q?VvyQvDc/NVNRueJe/rcNpuTNIssfzu74lzYuqeoHSL+h/qqfcnxmpOZ43g24?= =?us-ascii?Q?nMtfumXtI5GVr5aMzRi3Wtyiqxosg75jl4keYtLAXzHBR0HoNIBDDH03w8Ao?= =?us-ascii?Q?sCfbW54BpTKyOUlBKVzSRlIfgGZcNzaZfhVegvNXKKBKLo7Mw7qtS1OKUvmG?= =?us-ascii?Q?yIGqRaLjbHwt+5AjzSWBr8nV0ueIozTMtnJ+ru1AZ572N/a0dnsE8eNwZzLq?= =?us-ascii?Q?+ihseitE7cTu2k6jVxwjxmoIKVylqWkPHwdG5kr357Ucs0idX1YIcYSxQwYW?= =?us-ascii?Q?+v++Pa9oVvGKaVMb2Ai3k7gvDz7bPPGA9qJqISEZlhSXVrP8buCmE1exvJFQ?= =?us-ascii?Q?+ofXjlONdq8MTJRYMSIDkZJgRt62j8mBqwMTs2P+0tzFoxwygZryH/+Vmpw/?= =?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APGTYWrsFvTTDZ/DbrWbSKhqN5Y9NQO7+t6fP?= =?us-ascii?Q?nuH/p5Pwvp1Yp6iZQs6Kck0XoZ7xUVHPN+qnknwo4czkH3+WcvUoOEhQLXxU?= =?us-ascii?Q?dXr2hvaRilyufh6GtTBbfngmVVjI+9rEpIpkCah1mVOCgvBEtbaDDNliLIJw?= =?us-ascii?Q?bGHvOrOw/459614jENfqKJtDfk/YQ70C2Ir+ouUP?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0be7605b-4ef3-4399-04be-08dca7d9d79b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8205.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2024 10:02:04.9679 (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: SDrwEipvEfI8ISeIUpCKpmjpBE8ygdShWeJkKLKOjL2v9EqbY+fnlpOjk93ubCUq X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8345 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