linux/drivers/infiniband
Sagi Grimberg 0a49f2c31c mlx5: Fix mlx5_ib_map_mr_sg mr length
In case we got an initial sg_offset, we need to
account for it in the mr length.

Cc: stable@vger.kernel.org
Fixes: ff2ba99365 ("IB/core: Add passing an offset into the SG to
ib_map_mr_sg")
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Tested-by: Israel Rukshin <israelr@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-05-01 14:56:07 -04:00
..
core IB/SA: Add support to query OPA path records 2017-05-01 14:39:02 -04:00
hw mlx5: Fix mlx5_ib_map_mr_sg mr length 2017-05-01 14:56:07 -04:00
sw IB/rxe: Don't clamp residual length to mtu 2017-05-01 14:42:58 -04:00
ulp IB/SA: Add support to query OPA path records 2017-05-01 14:39:02 -04:00
Kconfig IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00