Merge branch 'dynamic_sg' into rdma.git for-next
authorJason Gunthorpe <jgg@nvidia.com>
Fri, 9 Oct 2020 15:56:02 +0000 (12:56 -0300)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 16 Oct 2020 15:40:58 +0000 (12:40 -0300)
From Maor Gottlieb says:

====================
This series extends __sg_alloc_table_from_pages to allow chaining of new
pages to an already initialized SG table.

This allows for drivers to utilize the optimization of merging contiguous
pages without a need to pre allocate all the pages and hold them in a very
large temporary buffer prior to the call to SG table initialization.

The last patch changes the Infiniband core to use the new API. It removes
duplicate functionality from the code and benefits from the optimization
of allocating dynamic SG table from pages.

In huge pages system of 2MB page size, without this change, the SG table
would contain x512 SG entries.
====================

* branch 'dynamic_sg':
  RDMA/umem: Move to allocate SG table from pages
  lib/scatterlist: Add support in dynamic allocation of SG table from pages
  tools/testing/scatterlist: Show errors in human readable form
  tools/testing/scatterlist: Rejuvenate bit-rotten test

1  2 
MAINTAINERS
drivers/infiniband/core/device.c
drivers/infiniband/core/umem.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge