RDMA/iw_cxgb4: Low resource fixes for Completion queue
authorHariprasad S <hariprasad@chelsio.com>
Thu, 9 Jun 2016 19:35:17 +0000 (01:05 +0530)
committerDoug Ledford <dledford@redhat.com>
Thu, 23 Jun 2016 14:44:18 +0000 (10:44 -0400)
commitdd6b0241260d0f16c4051da1c5b09d4da8992ef2
tree24b1c04482d3a53de187cd8d25fa1ef8ef0b604d
parent0f8ab0b6e91b4d5302ceee5ec12ce54d81297635
RDMA/iw_cxgb4: Low resource fixes for Completion queue

Pre-allocate buffers to deallocate completion queue, so that completion
queue is deallocated during RDMA termination when system is running
out of memory.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/cq.c
drivers/infiniband/hw/cxgb4/iw_cxgb4.h