RDMA: Change XRCD destroy return value
Update XRCD destroy flow to allow command failure.
Fixes: 28ad5f65c3
("RDMA: Move XRCD to be under ib_core responsibility")
Link: https://lore.kernel.org/r/20200907120921.476363-8-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:

committed by
Jason Gunthorpe

parent
43d781b9fa
commit
d0c45c8556
@@ -2452,7 +2452,7 @@ struct ib_device_ops {
|
||||
int (*attach_mcast)(struct ib_qp *qp, union ib_gid *gid, u16 lid);
|
||||
int (*detach_mcast)(struct ib_qp *qp, union ib_gid *gid, u16 lid);
|
||||
int (*alloc_xrcd)(struct ib_xrcd *xrcd, struct ib_udata *udata);
|
||||
void (*dealloc_xrcd)(struct ib_xrcd *xrcd, struct ib_udata *udata);
|
||||
int (*dealloc_xrcd)(struct ib_xrcd *xrcd, struct ib_udata *udata);
|
||||
struct ib_flow *(*create_flow)(struct ib_qp *qp,
|
||||
struct ib_flow_attr *flow_attr,
|
||||
struct ib_udata *udata);
|
||||
|
Reference in New Issue
Block a user