On Fri, Jun 26, 2020 at 12:15:42PM +0300, Tero Kristo wrote: > > I have been experimenting with an alternate approach, where I have a small > buffer within the context, this would be more like the way other drivers do > this. If the buffer is closed before running out of space, I can push this > to be processed by HW, otherwise I must fallback to SW. Does this sound like > a better approach? You can buffer up to a block obviously. Anything beyond that should just use a fallback. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt