]> asedeno.scripts.mit.edu Git - linux.git/commit
iw_cxgb4: allocate wait object for each cq object
authorSteve Wise <swise@opengridcomputing.com>
Tue, 26 Sep 2017 20:08:08 +0000 (13:08 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 29 Sep 2017 15:46:41 +0000 (11:46 -0400)
commit13ce83174afaf4ceb4dddd7b7e421778ee4fcf5e
tree3edc3ac53ca134d718a185b84e450974be0af619
parenta3f12da0e99a8d17118ee9e18a1f760a0d427b26
iw_cxgb4: allocate wait object for each cq object

Remove the local stack allocated c4iw_wr_wait object in preparation for
correctly handling timeouts.

Also cleaned up some error path unwind logic to make it more readable.

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