RDMA/iw_cxgb4: Low resource fixes for Memory registration
authorHariprasad S <hariprasad@chelsio.com>
Thu, 9 Jun 2016 19:35:16 +0000 (01:05 +0530)
committerDoug Ledford <dledford@redhat.com>
Thu, 23 Jun 2016 14:44:17 +0000 (10:44 -0400)
commit0f8ab0b6e91b4d5302ceee5ec12ce54d81297635
tree74a3fc9a68ef95d9ed213a9cbd37e1eca95efc31
parent4a740838bf44ca4b03e26ff79aedb86b9d8cace4
RDMA/iw_cxgb4: Low resource fixes for Memory registration

Pre-allocate buffers for deregistering memory region and memory window
during RDMA connection close, 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/iw_cxgb4.h
drivers/infiniband/hw/cxgb4/mem.c