From patchwork Mon Jul 22 16:39:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gagandeep Singh X-Patchwork-Id: 142644 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 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> 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: RxYIMp9VYLOcWA55asgT/a+bbaZXSvPW3qH6XZM7p9cdfH1xNHSjoXHrEA8wcOCI2GGxJufFQyLZX1V/V9LlNYkSyJznCIrz0JWMh63r/thtE2hRc4T5PuTAnGsQNJONe0YkHbLmTfjkCPCY/ws+B/7ZcYYB8cKw+KqAqWORLe24aqGXS9Ab9Ds7z2uxgChnBPs4KoDGqFVrsnOm+4araqgz7vX7AihzuxtCTdGzJCKbMMVvRVN6VMu6z7XzXdWhI55bEODnv3BVajtjHow39jaR4wI6dwLzY2t30NNHss17CknmrCTlqc8xWX6cdHFpJvWOsL3K42BubfSuTp3iz/Mb8SlhTuYSznUajt/4rdIa73r3N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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: Klg3E9JIWPbSHcXxNaT0/ZDTgNjFeXoQivZhn5Cu8fP9YsHainI9bbRWLJxxehYBeiNVjymqXVK+qvSw+zdlWN9+Z73RIKYvzZN3yCBxaSYsQHxus+HKCGnyRDLc2bNzGht5BbAuEnDHyH8mr43Wcn1DYc85GoOZMKEyYGcldbsH4ixuCZBX6sSWEO6vC6WzLrs6duhmYjLvufxf7xvOb6TBmnISkhIBTMM5QkpFWZ4OTkS5R9Ut1dAbLRqOyLWShMHjJbuUN//xJDeqAgayW57SvSZWxKjuw86Y5IVGl96CUHPCBTIp8OaL5ZQNg9tikzbyHJ+duyvjNi67g/e6RlhWYeF6e2ZD27OXVi0nnQNgq8Hx+mjoHYy72OFe9CZTqjsZN1tXhlTbTFZNOmgIWPUDXC15zV6i2xQjgE7gpKzT6G3ALbtYRQ2V+32ZrwEX0HY06pl+pyutWOCUBb+Emmm8Zm6I+4hJyM3pqnSwRHNQmYf2GoDDws2zSfXPRmT7xWu/afWDM2BjyS8aTNNze0NoZGOY8Fai82j/x36Ib8yRi4XPAcuknC67EwDVd1heXb1FUaODlx5PewokAjuIPqAhwdwIytZTpevXlUSFZZm0pmK++FMi2JFrm+5iU4qztwUj8KMpJQA1raZyZnN6KYqOjFN3oXIMzDd3KS+ENmoi5+rsbLYKGL8TqU3dLD2JNF92bThw7l9ATpORNfVBrodHR88Zycswih6J7LMqY8ro1iFNiQbfI8XhauAI7Ikmj17XV33sHXZdt1e623xUZ0AZn18TpUXMkmo5v3zw1sXL1UooXmKV60PHOyCVAUD9Ho3Kzykuij1sP+JmwVR6Qz1AZGbg9SkCoiOCE3A6UVh3Ry2DHTAVNNvSWb1zsmXzWRQcz86au62pH2Pn1c8tMi/yIeLFrsvgTVaJZzH6b3wgtZxgBd7w/tssPXdJeSSF53oyhn4nrb7HK0P+1fA1s38hpKAnaUkQcByQ3FZST+p0gBwJcvhHzzqlRVqTy+HS4EC3DFqCAzJnVHxi/Pg8/dfYR5RzbqlE4GnltNG1VBgzO2iq4K0Xd4ktcQo5mcJwS1wIsZoiTItGPmeHCyulnC44I5X25MkCQk8LllO5L8I+C7Y6BnPyixxALrR0fV3vgy7/VYB1PegZlP1zCg9SBGvimKQYNgDbbqPqWlYcPVjtcZfDqPrxE7Ipuxjra10EgIfV5kxZgLekZMdRA5vpOTH3gOV/jXX0S5lwUxclKwCNlqBeyfQffzRjb0A/JCsfoX851JyuPPYCnY7YiwxbUGtT9ICcJb6mGeCRMvNZgeVld12DDpDCX1bVeHWH4y8uwSa5ZMDzi9bxxDcKnJy3r4mvFRPdHQevvq9CF3sPLWcYGiYRwyFXXc/onp1IHt2IJy5XXpDTaR6lMFExyksvm1ybm+S7zndo2OrNkCIpUSWhw/bNxr570P0fLLF/LlsV/V5Xb9GIQwg6KisSzmu/NFFBjtvmz0c8R6yo55wHLIhWQfECy0g/1y7A0JXrzKG7dULCvN1+TIIOygc+cZ04+1BAfdN83WpmWAi5GyG3iRd0GX3u2prqbE4bKvXGFDu5 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)