linux/drivers/infiniband/hw/cxgb4
Steve Wise 2f5b48c3ad RDMA/cxgb4: Use a mutex for QP and EP state transitions
Move the connection setup/teardown paths to the workq thread removing
spin lock/irq disable requirements for these paths.  This allows calls
down to the LLD for EP and QP state transition actions to be atomic
with respect to processing CPL messages coming up from the HW.
Namely, calls to rdma_init() and rdma_fini() can now be called with
the mutex held avoiding many race conditions with the abort path.

The QP spinlock is still used but only to manipulate the qp state.  This
allows the fastpaths, poll, post_send, and pos_recv, to run in the
irq context.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2010-09-28 10:53:48 -07:00
..
cm.c RDMA/cxgb4: Use a mutex for QP and EP state transitions 2010-09-28 10:53:48 -07:00
cq.c RDMA/cxgb4: Centralize the wait logic 2010-09-28 10:46:34 -07:00
device.c RDMA/cxgb4: Support on-chip SQs 2010-09-28 10:46:35 -07:00
ev.c RDMA/cxgb4: Handle CPL_RDMA_TERMINATE messages 2010-09-28 10:46:32 -07:00
iw_cxgb4.h RDMA/cxgb4: Use a mutex for QP and EP state transitions 2010-09-28 10:53:48 -07:00
Kconfig RDMA/cxgb4: Add driver for Chelsio T4 RNIC 2010-04-21 15:30:06 -07:00
Makefile RDMA/cxgb4: Add driver for Chelsio T4 RNIC 2010-04-21 15:30:06 -07:00
mem.c RDMA/cxgb4: Centralize the wait logic 2010-09-28 10:46:34 -07:00
provider.c RDMA/cxgb4: Support on-chip SQs 2010-09-28 10:46:35 -07:00
qp.c RDMA/cxgb4: Use a mutex for QP and EP state transitions 2010-09-28 10:53:48 -07:00
resource.c RDMA/cxgb4: Support on-chip SQs 2010-09-28 10:46:35 -07:00
t4.h RDMA/cxgb4: Support on-chip SQs 2010-09-28 10:46:35 -07:00
t4fw_ri_api.h RDMA/cxgb4: Add module option to tweak delayed ack 2010-07-21 10:53:52 -07:00
user.h RDMA/cxgb4: Support on-chip SQs 2010-09-28 10:46:35 -07:00