On 02/29/2016 12:07 PM, Sagi Grimberg wrote: > This patch adds arbitrary SG list memory registration support > which is pending on the device capability (Introduced in Mellanox > ConnectX-4). > > Now that the core is able to handle sg lists, the addition of > this support is pretty straight-forward and with minimal changes > to the core and ULP conversion. > > Just add another MR creation type which is capable of handling > SG lists with gaps (pending on the device capability). > > Patch 0001 - IB core flagging > Patch 0002 - mlx5 support > Patch 0003 - First consumer, iser initiator (more will follow!) > > This has come up just now because I've been waiting for FW cap > exposure that now is included in patchset "Add memory window user-space > support to mlx5" by Matan (so it obviously depends on it). > > Code is available at: > git@xxxxxxxxxx:sagigrimberg/linux.git arb_sg.3 > > Sagi Grimberg (3): > IB/core: Add arbitrary sg_list support > mlx5: Add arbitrary sg list support > iser: Accept arbitrary sg lists mapping if the device supports it > > drivers/infiniband/core/verbs.c | 2 ++ > drivers/infiniband/hw/mlx5/main.c | 2 ++ > drivers/infiniband/hw/mlx5/mlx5_ib.h | 1 + > drivers/infiniband/hw/mlx5/mr.c | 50 ++++++++++++++++++++++++++++---- > drivers/infiniband/hw/mlx5/qp.c | 15 ++++++++-- > drivers/infiniband/ulp/iser/iscsi_iser.c | 11 ++++++- > drivers/infiniband/ulp/iser/iser_verbs.c | 23 ++++++++++----- > include/rdma/ib_verbs.h | 6 ++++ > 8 files changed, 93 insertions(+), 17 deletions(-) > I added this series to the mlx5 branch I have (it needs other mlx5 patches to apply cleanly). -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: 0E572FDD
Attachment:
signature.asc
Description: OpenPGP digital signature