]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Update hw_iwarp_state
authorMustafa Ismail <mustafa.ismail@intel.com>
Thu, 25 Aug 2016 16:52:47 +0000 (11:52 -0500)
committerDoug Ledford <dledford@redhat.com>
Fri, 26 Aug 2016 13:59:13 +0000 (09:59 -0400)
commitedbe417fe7b0be42dc45cf2828c3b8045b15fe10
tree16ca9561d01200ee0f8ec04dcacc00b799e639e8
parent458e79a4abb9fb3ffeb2b2f77146a47f8cadee43
i40iw: Update hw_iwarp_state

Update iwqp->hw_iwarp_state to reflect the new state of the CQP
modify QP operation. This avoids reissuing a CQP operation to
modify a QP to a state that it is already in.

Fixes: 21a6b5814087 ("i40iw: add hw and utils files")
Reported-by: Stefan Assmann <sassmann@redhat.com>
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_hw.c