]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Move cqp_cmd_head init to CQP initialization
authorBob Sharp <Robert.O.Sharp@intel.com>
Mon, 16 Oct 2017 20:46:05 +0000 (15:46 -0500)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 17:28:46 +0000 (13:28 -0400)
commit5cb1318da336ab81d81d102f30ca0dfb1b38480f
tree4c4e417b901d7632ad412f11b099c9f92f66935b
parent03382ddd82587f88fa4e3e45b49f1f9e63cc984b
i40iw: Move cqp_cmd_head init to CQP initialization

Control QP (CQP) command backlog list is initialized at
device initialization time.  It is not reinitialized in
the reset flow.  Move the initialization to CQP creation
time so the list can be initialized correctly for reset as well.

Fixes: 86b36c0d5900 ("i40iw: add file to handle cqp calls")
Signed-off-by: Bob Sharp <Robert.O.Sharp@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_ctrl.c