mlx4_core: Propagate MR deregistration failures to caller
authorShani Michaeli <shanim@mellanox.com>
Wed, 6 Feb 2013 16:19:09 +0000 (16:19 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 21 Feb 2013 19:38:43 +0000 (11:38 -0800)
commit61083720702a329ed5952e32bda384e3bbc9093c
treee31fb437442c23fdab04f94b69d0c612b870478d
parentb20e519a81d648aebfbb90811743cc86cd469a48
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>
drivers/infiniband/hw/mlx4/mr.c
drivers/net/ethernet/mellanox/mlx4/en_main.c
drivers/net/ethernet/mellanox/mlx4/mr.c
include/linux/mlx4/device.h