1 Pass return code to caller in mlx4_close_xrc_domain.
3 ibv_cmd_close_xrc_domain() can return a busy or invalid error code.
4 Need to pass this upward to caller.
7 Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
9 Index: libmlx4/src/verbs.c
10 ===================================================================
11 --- libmlx4.orig/src/verbs.c 2008-09-01 10:51:11.000000000 +0300
12 +++ libmlx4/src/verbs.c 2008-09-01 10:52:40.000000000 +0300
15 int mlx4_close_xrc_domain(struct ibv_xrc_domain *d)
17 - ibv_cmd_close_xrc_domain(d);
21 + ret = ibv_cmd_close_xrc_domain(d);
27 int mlx4_create_xrc_rcv_qp(struct ibv_qp_init_attr *init_attr,