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 9A32A45683; Mon, 22 Jul 2024 18:43:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2D11410E3; Mon, 22 Jul 2024 18:40:53 +0200 (CEST) Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011029.outbound.protection.outlook.com [52.101.65.29]) by mails.dpdk.org (Postfix) with ESMTP id 2403840E0B for ; Mon, 22 Jul 2024 18:40:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Iw4wfxCWQbFo0XyQQPI6qyX31C5CR9UIfGZOBwcvWNKyrmUhll/1goKV12/7yw3tlhveUjM1gH6Kmnd9nWDwYpU5R7WpDJRppZdLTjoEI6SJi/Ai3BZu9S5WLz4Zyy5BWtiCt1eSmPINLA3opRDZ1XKGAFW3TVmSf37KATRa0GKFVQbhCP6zmXLV2DDkstYfvTdOwEgH2BHOOt1p9WzW+m8nF0Ef9uTS++5M7iwP4DOwwblNxrv0gWvQTl+faESZW3D1YNfNO6PeNYO1M6payIzSIi6FCuv6oMnwUDkszTmaSNmo/czGYIQbrALyj9Hm/zB6UWJyrmxy46tjmHiLQg== 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=oQ+d4ctnqFcUbz+uqNwWNDWC8biD9PbzXf8h855UqUw=; b=x+qg74i3nHj1W3DSC0roBB5a5SM+vLLFE3ubBTa95pKTMgc59LuheQgJa6xbRqyzSXreDbFzk6zXs0+sOMAX3jssxyreLyx6d+ydovvFbVx1iStQDQV6IjQQ7CvPm9HKMABM0ztL926DMbLZYDN523RGd7iArRvvvtDeGgmCAGqDB2gBweWvYE8lCZAJvPkEo8FpZgswK+7NQZi+arj4uAcCsROovMup6gJAamnuj6+vWgm2t2opFQN7vw8Tkhz39fmXZTJ1z2QyWtXa6XYyXSdHVAHrPbWP21BEpMfwRqTTwU3AamKJi/peVNdtxSedJ6wRTR35/iMx8mIlf/JH9A== 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=oQ+d4ctnqFcUbz+uqNwWNDWC8biD9PbzXf8h855UqUw=; b=PxmNUwPTJPKGUmGP5rxhWSaslhp8xEmOVUgiQqn2HEq+i6mcw2gjX8I9qIcE77JSiWHgpwfu+Ou9eDFMMBGJeCTYwLT/QatqiU6LS7Zr2ZOHrCIFp8ezElNE6O6QIMlpAohIjSJHuE8r9t98tq2s6PhWcLXORc9bV3tPqgNQNf8= 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:31 +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:30 +0000 From: Gagandeep Singh To: dev@dpdk.org, Sachin Saxena Cc: Jun Yang Subject: [v3 25/30] dma/dpaa: disable SG descriptor as default Date: Mon, 22 Jul 2024 22:09:25 +0530 Message-Id: <20240722163930.2171568-26-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: f6d4fd20-aabf-46ef-321d-08dcaa6cffd0 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?RxYIMp9VYLOcWA55asgT/a+bbaZXSvPW3qH6XZM7p9cdfH1xNHSjoXHrEA8w?= =?us-ascii?Q?cOCI2GGxJufFQyLZX1V/V9LlNYkSyJznCIrz0JWMh63r/thtE2hRc4T5PuTA?= =?us-ascii?Q?nGsQNJONe0YkHbLmTfjkCPCY/ws+B/7ZcYYB8cKw+KqAqWORLe24aqGXS9Ab?= =?us-ascii?Q?9Ds7z2uxgChnBPs4KoDGqFVrsnOm+4araqgz7vX7AihzuxtCTdGzJCKbMMVv?= =?us-ascii?Q?RVN6VMu6z7XzXdWhI55bEODnv3BVajtjHow39jaR4wI6dwLzY2t30NNHss17?= =?us-ascii?Q?CknmrCTlqc8xWX6cdHFpJvWOsL3K42BubfSuTp3iz/Mb8SlhTuYSznUajt/4?= =?us-ascii?Q?rdIa73r3NMZoWj6ARqCmNK2oL3OMiFTxFgb3L8Gwys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k59WqrAV2jurS3e8ikatJJMQYecbebcxhVzjwhEFK?= =?us-ascii?Q?imZNoqzFR2LnCj5mIHN2Hm13TwJF7BPu6lIDhLBpEOZd9jvcJ33zWph0kseI?= =?us-ascii?Q?J+duN2OV5Ip8guhykMluFYmSO04OnIDd2UNnAeX7KBu8Dx6Msw=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?Klg3E9JIWPbSHcXxNaT0/ZDTgNjFeXoQivZhn5Cu8fP9YsHainI9bbRWLJxx?= =?us-ascii?Q?ehYBeiNVjymqXVK+qvSw+zdlWN9+Z73RIKYvzZN3yCBxaSYsQHxus+HKCGny?= =?us-ascii?Q?RDLc2bNzGht5BbAuEnDHyH8mr43Wcn1DYc85GoOZMKEyYGcldbsH4ixuCZBX?= =?us-ascii?Q?6sSWEO6vC6WzLrs6duhmYjLvufxf7xvOb6TBmnISkhIBTMM5QkpFWZ4OTkS5?= =?us-ascii?Q?R9Ut1dAbLRqOyLWShMHjJbuUN//xJDeqAgayW57SvSZWxKjuw86Y5IVGl96C?= =?us-ascii?Q?UHPCBTIp8OaL5ZQNg9tikzbyHJ+duyvjNi67g/e6RlhWYeF6e2ZD27OXVi0n?= =?us-ascii?Q?nQNgq8Hx+mjoHYy72OFe9CZTqjsZN1tXhlTbTFZNOmgIWPUDXC15zV6i2xQj?= =?us-ascii?Q?gE7gpKzT6G3ALbtYRQ2V+32ZrwEX0HY06pl+pyutWOCUBb+Emmm8Zm6I+4hJ?= =?us-ascii?Q?yM3pqnSwRHNQmYf2GoDDws2zSfXPRmT7xWu/afWDM2BjyS8aTNNze0NoZG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y5XXpDTaR6lMFExyksvm1ybm+S7zndo?= =?us-ascii?Q?2OrNkCIpUSWhw/bNxr570P0fLLF/LlsV/V5Xb9GIQwg6KisSzmu/NFFBjtvm?= =?us-ascii?Q?z0c8R6yo55wHLIhWQfECy0g/1y7A0JXrzKG7dULCvN1+TIIOygc+cZ04+1BA?= =?us-ascii?Q?fdN83WpmWAi5GyG3iRd0GX3u2prqbE4bKvXGFDu5?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6d4fd20-aabf-46ef-321d-08dcaa6cffd0 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:30.7556 (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: YR0v/1YKLVNuQvjLTg3yjDeA2S8tBgAv+yA9ebUaZJzTcG3wiGo5B3digh2lW/EQ 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 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 eaa5f81f6d..8492d0de5b 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) -- 2.25.1