aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4
diff options
context:
space:
mode:
authorShani Michaeli <shanim@mellanox.com>2013-02-06 11:19:09 -0500
committerRoland Dreier <roland@purestorage.com>2013-02-21 14:38:43 -0500
commit61083720702a329ed5952e32bda384e3bbc9093c (patch)
treee31fb437442c23fdab04f94b69d0c612b870478d /include/linux/mlx4
parentb20e519a81d648aebfbb90811743cc86cd469a48 (diff)
mlx4_core: Propagate MR deregistration failures to caller
MR deregistration fails when memory windows are bound to the MR. Handle such failures by propagating them to the caller ULP. Signed-off-by: Haggai Eran <haggaie@mellanox.com> Signed-off-by: Shani Michaeli <shanim@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r--include/linux/mlx4/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index 20ea939c22a6..e9fe8caaf8bb 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -801,7 +801,7 @@ u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt);
801 801
802int mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access, 802int mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access,
803 int npages, int page_shift, struct mlx4_mr *mr); 803 int npages, int page_shift, struct mlx4_mr *mr);
804void mlx4_mr_free(struct mlx4_dev *dev, struct mlx4_mr *mr); 804int mlx4_mr_free(struct mlx4_dev *dev, struct mlx4_mr *mr);
805int mlx4_mr_enable(struct mlx4_dev *dev, struct mlx4_mr *mr); 805int mlx4_mr_enable(struct mlx4_dev *dev, struct mlx4_mr *mr);
806int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, 806int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt,
807 int start_index, int npages, u64 *page_list); 807 int start_index, int npages, u64 *page_list);