linux_dsm_epyc7002/drivers/infiniband/hw/cxgb4
Steve Wise ad61a4c7a9 iw_cxgb4: don't block in destroy_qp awaiting the last deref
Blocking in c4iw_destroy_qp() causes a deadlock when apps destroy a qp
or disconnect a cm_id from their cm event handler function.  There is
no need to block here anyway, so just replace the refcnt atomic with a
kref object and free the memory on the last put.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-08-02 13:15:17 -04:00
..
cm.c iw_cxgb4: stop MPA_REPLY timer when disconnecting 2016-08-02 13:15:17 -04:00
cq.c RDMA/iw_cxgb4: Low resource fixes for Completion queue 2016-06-23 10:44:18 -04:00
device.c RDMA/iw_cxgb4: allocate enough space for debugfs "qps" dump 2016-06-23 10:44:16 -04:00
ev.c InfiniBand/RDMA changes for 3.20 merge window: 2015-02-21 12:53:21 -08:00
id_table.c drivers/infiniband/hw: rename random32() to prandom_u32() 2013-05-07 18:38:27 -07:00
iw_cxgb4.h iw_cxgb4: don't block in destroy_qp awaiting the last deref 2016-08-02 13:15:17 -04:00
Kconfig RDMA/cxgb4: Update Kconfig to include Chelsio T5 adapter 2014-04-28 17:29:41 -07:00
Makefile RDMA/cxgb4: Remove kfifo usage 2012-05-18 13:22:36 -07:00
mem.c RDMA/iw_cxgb4: Use kfree_skb instead of kfree 2016-08-02 13:04:42 -04:00
provider.c IB/core: Make device counter infrastructure dynamic 2016-05-26 12:52:51 -04:00
qp.c iw_cxgb4: don't block in destroy_qp awaiting the last deref 2016-08-02 13:15:17 -04:00
resource.c RDMA/cxgb4: Add missing debug stats 2014-04-11 11:36:09 -07:00
t4.h iw_cxgb4: Pass qid range to user space driver 2015-12-24 00:17:30 -05:00
t4fw_ri_api.h cxgb4, iw_cxgb4: move delayed ack macro definitions 2016-03-22 00:25:05 -07:00
user.h iw_cxgb4: Pass qid range to user space driver 2015-12-24 00:17:30 -05:00