Re: [PATCH] accel/qaic: Fix the for loop used to walk SG table

2024-10-12 Thread Jeffrey Hugo
On 10/4/2024 1:32 PM, Jeffrey Hugo wrote: From: Pranjal Ramajor Asha Kanojiya Only for_each_sgtable_dma_sg() should be used to walk through a SG table to grab correct bus address and length pair after calling DMA MAP API on a SG table as DMA MAP APIs updates the SG table and for_each_sgtable_sg

Re: [PATCH] accel/qaic: Fix the for loop used to walk SG table

2024-10-11 Thread Jacek Lawrynowicz
Reviewed-by: Jacek Lawrynowicz On 10/4/2024 9:32 PM, Jeffrey Hugo wrote: > From: Pranjal Ramajor Asha Kanojiya > > Only for_each_sgtable_dma_sg() should be used to walk through a SG table > to grab correct bus address and length pair after calling DMA MAP API on > a SG table as DMA MAP APIs upd

[PATCH] accel/qaic: Fix the for loop used to walk SG table

2024-10-04 Thread Jeffrey Hugo
From: Pranjal Ramajor Asha Kanojiya Only for_each_sgtable_dma_sg() should be used to walk through a SG table to grab correct bus address and length pair after calling DMA MAP API on a SG table as DMA MAP APIs updates the SG table and for_each_sgtable_sg() walks through the original SG table. Fix