[25/30] dma/dpaa: disable SG descriptor as default

Message ID 20240719100126.1150373-25-g.singh@nxp.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series [01/30] dma/dpaa2: configure route by port by PCIe port param |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Gagandeep Singh July 19, 2024, 10:01 a.m. UTC
From: Jun Yang <jun.yang@nxp.com>

Burst operation used for SG copy as default until SG issue is fixed.

Signed-off-by: Jun Yang <jun.yang@nxp.com>
---
 drivers/dma/dpaa/dpaa_qdma.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
  

Patch

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)