On Thu, Sep 16, 2021 at 11:43:59AM +0200, Thierry Reding wrote:
From: Thierry Reding treding@nvidia.com
Add a few helpers to count the number of contiguous DMA chunks found in an SG table. This is useful to determine whether or not a mapping can be used by drivers whose devices need contiguous memory.
[...]
Is the counting of all blocks necessary if all to be checked is whether there is more than one continuous block?
Best Regards Michał Mirosław