]> 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)
commitcbb488305dab6f5fc26468ad7c1f834418ba9afd
tree4c4e417b901d7632ad412f11b099c9f92f66935b
parentbae97ee951362d047a5d5c70afe8c6c225069e99
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: 1c84f135a3b8 ("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