]> git.baikalelectronics.ru Git - kernel.git/commit
iw_cxgb4: allocate wait object for each qp object
authorSteve Wise <swise@opengridcomputing.com>
Tue, 26 Sep 2017 20:11:36 +0000 (13:11 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 29 Sep 2017 15:46:41 +0000 (11:46 -0400)
commit6349a82977bbd665f65911cd1b1e9dbd17ffe764
tree2f75566462b7c334cb906647c66e9530fff81f2e
parent547368465d49ced9eaded04b93c93e20d220ee67
iw_cxgb4: allocate wait object for each qp 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/iw_cxgb4.h
drivers/infiniband/hw/cxgb4/qp.c