From patchwork Fri Jul 19 10:01:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gagandeep Singh X-Patchwork-Id: 142551 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5476B4564F; Fri, 19 Jul 2024 12:04:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7AD6A42F89; Fri, 19 Jul 2024 12:02:44 +0200 (CEST) Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013054.outbound.protection.outlook.com [52.101.67.54]) by mails.dpdk.org (Postfix) with ESMTP id 611C942E02 for ; Fri, 19 Jul 2024 12:02:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IoL1KYHNQmFNtCbx+X/NaPhTITYhCCcdb5i06hobBBZ8VeA5QnElNCmIzEWcuWzDm6lf/tOm70KGQUj6z/yfj0qNZCsWz0fheSrljXvu0dXSzoq+ym/ojU/4mZbarsNtrKDzM6r2XaYHV3ZQpmud3mH/fp48PMW50CUMeRvTngzeJke1uTCvgv2x/x0wFCJvlPTc198jieG8NQBCYvsW1N4Dd8YCXAYB+HprnDJOv61ziUzZLc4U1TAEsVnpZXr/v6YG9h3UtItcfwf7sW0QBfsVJzWH/oT4Fvv3wA4wJ1/mqO2lZ+/lC2Ji5Opw1uPTjRqtT/MP4GGkbM4u6ZbUXA== 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=8hO9fDy/B2skwZbNxnZrWtl821/MKuuLNDHa4lDmq3E=; b=LpbN4+F9wf4nP0kVpiCJk1StwrZYyzZPVz7CsbjGOX14UzmrN4OOWWZ9auMxgmkktPh+E/Moj+RXySLmycF4xqSx2evcEvsBYCD37yY89C6A8XTLIt4hJV8fvuopUd76VYqOZa9vpILtMExL4k4vT4bNNpWw4WQysJmPqCj/FnfcDNE3gdHtwvuPV1d0JsbJ3A+dz5hN4l0gQ3Cm11DUNZJBB85cFM9/dCSi/YYEIOgGZgUXUVd67MGiaRiwPL3QKmL4a4HnE/fYp5ms+MBZ3Syibuds6nnvQrpEG205v0JT5oqeye5G42J8RdaaJY52nG5YGc/0YAQXI0YusXMbQA== 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=8hO9fDy/B2skwZbNxnZrWtl821/MKuuLNDHa4lDmq3E=; b=f79F/YjzH5YbqEfb4kfIZIRvjywWV+vQCNx+6aiWyVVmv1eoCCo7dTH2EWF0yuTlo6pQd6nhIARmKJZUPEnATpLMTJvhdlSu3RxGCcuHdJ+7zx6C4QdOSGFgnyZsUvhXk95ULdgYQh+Xc96MHB9Ip2Mak0I21jQkDjuLLD4GA/8= 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 AM0PR04MB7108.eurprd04.prod.outlook.com (2603:10a6:208:19e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.20; Fri, 19 Jul 2024 10:02:24 +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:24 +0000 From: Gagandeep Singh To: dev@dpdk.org, Sachin Saxena Cc: Jun Yang Subject: [PATCH 25/30] dma/dpaa: disable SG descriptor as default Date: Fri, 19 Jul 2024 15:31:21 +0530 Message-Id: <20240719100126.1150373-25-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> 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_|AM0PR04MB7108:EE_ X-MS-Office365-Filtering-Correlation-Id: 3990f16d-bd11-4258-a677-08dca7d9e315 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|1800799024|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: 4pI7NCVYpUPQWiqANJ/bbaCd9IQ+3D+7xa5w5T+ctqVUw0xXS/cKJ98pDtwdFPVLZHUiL0VHDWp6XSHJ2t4AMoKQFeWhXYXqMdivL9R9ZtrOblb2IcLXKY22DaQAAE8pRaJvP2s2hYVn+eUeHUSp+nH9OC6mIyaz5FymA2SZsSh5SxYtv9BOHuXx2kDj90jmPz73iBJGIueIQ+yXa7q0NyJTQ+crAYLq6A9mMGNMJiFx9kGdDWOPkOyV6t6B+4imy+L320dJuUsSdN6zPqaYg2U/1MNWWQDbH5v+rWRUReiSgEaY4I/K7SpGTRwAQilCNhT6iMx/o6Z8TrUbj1IQTBxP7bLgHTx4i+wJfSxzr44Gm9tPsMQ4ZwGo4PAz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Y:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB8205.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(52116014)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: K2VYL29JU0/wgxFK3cLuVLXHNKnPfwSEyV+kzJ3Af7J+DGOpM96BC7s/7CgdFpze2AiqxO9WDJRYaG3m7HZC59NqTHnI5Ev+Z0V8hZzYlZWTFMQOoaywFvT9aA/iMtD8Z8YACMLWNxJGTVHk31YIJNnTGnTWUXpDGVUgmL78b9CwlbT1v4MLKM9gLCa+BSdOw40lU962aLwaKIOMZPZ2W45qBzVMmv9TxAFwyYPebZx5hFEU9hId2BbnaGrOMpV4SnBofvVP/510NMC1mt+PjtZHlnnTVXJveY5nx9p11lPUaViAZ+4L46U/Ayxgqzm4CYwYl3I0jUX1dUyNJXfbKXfCgCigE8DkXAOK4ChrpFsGp5jzxBHq3h21m2P0vFaTSIlCozSzLxOHzPx5goRF/bkmbxJWpIST748/P06DgAkXd/+LiHn404HpXy2uo9RCck8dMnJsGvLVDdf7daoaTlGXigK0MoOcaEJ8vn8LqoKtsV+TR8VBHgcj2gt+D6PrHublM1yQ+VhwL0YGx6lDbpyXiuYak+/7hJqAsHmHeUixUoW4jUYnq77ecOGlI6klafBO4iHqAImiluXXFwWC+FyUhDIKGbvZ8PEj00Dnv5WyNeepad6QFkgHqYV69oODzFHxIQ/UbX7J+yLAQTBKto1KHgWFMpuRUM0rzBkW8JUQr1UMWCbHMVgAKFUvDP8ugpifrGp51AgfYUuEHm307EuMBJxmkaK6KI/DVLmQWEIuqNXvU57QpAlH66rE84M1fC+4R34IfzU7DzZRSoSJUZlZs0GBX53fc47TjJmo1mRZpX7Ei5eGzdtgdVA91g6jCDtWKEj8s2BS2V12efwcan6L7XVk+RWKCSX/WyFuoVaRCFX9Tp9fDLBDQZ4/VK5FJq5dNhJC8MRB5fMAqlTvmUcUFAZX3/fWRUiTIrmMtsp1KLml51Ks9BnC9iBtm5wVqt4ulIrTYQ+wbKA3JpA5CItuuwNIBdTlviIAxAGrvvt5pv/PGRFn2Es9ty6joffgl4W76Kpm0o82p6D7NaoOxCUxQ1XSqCi88p/gf/WGzcMWw7fOXGVOanjQ0y0GQj+uQ8HXLDCxfB+DOoDv+shd78VMjddSS5l30sb+PB0QZErH8WvYKwGIj1Bg2VSEe1p9SDdZ6HyDfSbv27Xel9m5Yi8RxwoTCW63YBG4VAJUsw8s3+gNuq5p3UmtalGQgtZ4CEq1Bgm62xD8+mqtWtNkSTQiGH4Y1RupLKa/xo2J4NFG0JOUCYL4sEo2vG+rOrzOl+W0ztYR9Fsj8oGvAMaIDFWMZ5yx6E1VbDDcnU49WwjTL8xURjjtIqr+P/hGlCiGhSfPT0yM0XuDat7troB3J4oZ6JWiKIKDhLYINnFwlMYcEABluNo9sXuSci/+lNmAYA+MD4yyAz9RZPCWCl21VrtwxONqCRWLO87c4JGqR3P2kT59orF+TbK02IFrItvLoVuIQR1+e+hWwS1hdMZlCCm7F611RDMJndaFNi6r7Hyy/PTTHAHsG43ldSk+UB+5+9yw2z0tOyb3/jw9MJalL98Q2c+x0l+2uYmQJVu9pgZ10Z9utjTwKrGSeEjYWZbD X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3990f16d-bd11-4258-a677-08dca7d9e315 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:24.2330 (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: vQ8q+UJ95xdIWLV4T3vWW8zk5o1FEBeE+2zuVOwCu3+DR4Iu6Z5DB+Yp+F13/yVu X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB7108 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 From: Jun Yang Burst operation used for SG copy as default until SG issue is fixed. Signed-off-by: Jun Yang --- drivers/dma/dpaa/dpaa_qdma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/dpaa/dpaa_qdma.c b/drivers/dma/dpaa/dpaa_qdma.c index 93199cf9a3..1c8334291a 100644 --- a/drivers/dma/dpaa/dpaa_qdma.c +++ b/drivers/dma/dpaa/dpaa_qdma.c @@ -11,7 +11,7 @@ static int s_data_validation; static int s_hw_err_check; -static int s_sg_disable; +static int s_sg_disable = 1; static inline void qdma_desc_addr_set64(struct fsl_qdma_comp_cmd_desc *ccdf, u64 addr) @@ -335,7 +335,6 @@ fsl_qdma_free_stq_res(struct fsl_qdma_status_queue *queue) rte_free(queue->cq); } - static int fsl_qdma_prep_status_queue(struct fsl_qdma_engine *fsl_qdma, uint32_t block_id)