]> git.baikalelectronics.ru Git - kernel.git/commit
IB/usnic: Support more QP state transitions
authorNelson Escobar <neescoba@cisco.com>
Wed, 9 Dec 2015 18:42:17 +0000 (10:42 -0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 15:50:58 +0000 (10:50 -0500)
commit30cc36e53a12897ce1257b57f770077013a1244b
treef1824d086ad935406eb325c1cc801c906fe1566e
parenta8540a6105c24050feb2af8d18a9bde0fdc4a5ab
IB/usnic: Support more QP state transitions

They were already implemented at a lower layer, but the upper level
routine placed arbitrary restrictions on which transitions were
permitted.  Simplify the state machine logic to live wholly in
usnic_ib_qp_grp_modify.

Signed-off-by: Dave Goodell <dgoodell@cisco.com>
Reviewed-by: Reese Faucette <rfaucett@cisco.com>
Reviewed-by: Xuyang Wang <xuywang@cisco.com>
Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/usnic/usnic_ib_verbs.c