On 3/7/2019 8:43 PM, Bart Van Assche wrote:
On Thu, 2019-03-07 at 20:02 +0200, Max Gurtovoy wrote:
From: Israel Rukshin <israelr@xxxxxxxxxxxx>
Instead of adding many arguments to RDMA mapping functions with PI,
create a new data structure 'ib_scatterlist' which contains the needed
information on a mapped scatterlist. In the future, this will also be
used by ULPs that define these attributes explicitly.
Signed-off-by: Israel Rukshin <israelr@xxxxxxxxxxxx>
Reviewed-by: Max Gurtovoy <maxg@xxxxxxxxxxxx>
Please split this patch into one patch that introduces struct ib_scatterlist
and one patch per driver such that driver maintainers can ack the changes to
the driver they maintain.
Thanks,
Bart.
Bart,
I'm not sure we can do one patch per driver without breaking compilation
(this is new API).
We're in discussions to add sg_table (instead of ib_scatterlist) to the
API but it will also cause us to have 1 patch that changes all the users.
unless you have another idea...