Re: [PATCH V4 16/16] NCR5380: Support chained sg lists

2019-06-17 Thread Christoph Hellwig
On Mon, Jun 17, 2019 at 11:03:49AM +0800, Ming Lei wrote: > From: Finn Thain > > My understanding is that support for chained scatterlists is to > become mandatory for LLDs. > > Use the scatterlist iterators and remove direct indexing of the > scatterlist array. > > This way allows us to pre-al

[PATCH V4 16/16] NCR5380: Support chained sg lists

2019-06-16 Thread Ming Lei
From: Finn Thain My understanding is that support for chained scatterlists is to become mandatory for LLDs. Use the scatterlist iterators and remove direct indexing of the scatterlist array. This way allows us to pre-allocate one small scatterlist, which can be chained with one runtime allocate