Files
linux/drivers/infiniband/hw/mlx5
Sagi Grimberg 3992c93b74 mlx5: Fix mlx5_ib_map_mr_sg mr length
commit 0a49f2c31c upstream.

In case we got an initial sg_offset, we need to
account for it in the mr length.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-25 15:46:11 +02:00
..
2017-02-14 11:41:18 -05:00
2017-02-14 11:41:18 -05:00
2017-02-14 11:41:18 -05:00
2017-02-14 11:41:19 -05:00
2017-05-25 15:46:11 +02:00
2017-02-14 11:41:19 -05:00
2017-02-14 10:14:25 -05:00