RDMA/cxgb4: DB Drop Recovery for RDMA and LLD queues
authorVipul Pandya <vipul@chelsio.com>
Fri, 18 May 2012 09:59:30 +0000 (15:29 +0530)
committerRoland Dreier <roland@purestorage.com>
Fri, 18 May 2012 20:22:33 +0000 (13:22 -0700)
commit422eea0a8cf658bc9564726d74e8384b89a8f4fa
tree6c2ad0bf5112cfef2cd5bb025468cc3318d337d0
parent4984037bef54253d4d010d3e57f175ab694bee26
RDMA/cxgb4: DB Drop Recovery for RDMA and LLD queues

Add module option db_fc_threshold which is the count of active QPs
that trigger automatic db flow control mode.  Automatically transition
to/from flow control mode when the active qp count crosses
db_fc_theshold.

Add more db debugfs stats

On DB DROP event from the LLD, recover all the iwarp queues.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/device.c
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
drivers/infiniband/hw/cxgb4/qp.c
drivers/infiniband/hw/cxgb4/t4.h