Thread (33 messages) 33 messages, 6 authors, 2020-07-17

Re: [PATCH v7 04/11] dmaengine: Introduce max SG list entries capability

From: Vinod Koul <vkoul@kernel.org>
Date: 2020-07-15 11:13:21
Also in: linux-devicetree, linux-mips, lkml

On 10-07-20, 19:14, Serge Semin wrote:
On Fri, Jul 10, 2020 at 02:51:33PM +0300, Peter Ujfalusi wrote:
quoted
Since we should be able to handle longer lists and this is kind of a
hint for clients that above this number of nents the list will be broken
up to smaller 'bursts', which when traversing could cause latency.

sg_chunk_len might be another candidate.
Ok. We've got four candidates:
- max_sg_nents_burst
- max_sg_burst
- max_sg_chain
- sg_chunk_len

@Vinod, @Andy, what do you think?
So IIUC your hw supports single sg and in that you would like to publish
the length of each chunk, is that correct? If so sg_chunk_len seems
apt..

-- 
~Vinod
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help