]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/qedr: Return success when not changing QP state
authorRam Amrani <Ram.Amrani@Cavium.com>
Tue, 24 Jan 2017 11:50:34 +0000 (13:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 Jan 2017 20:34:36 +0000 (15:34 -0500)
commitf51d28cb9d0e5a7427ca27249254ceb54c4572ab
treed9350d5ff8ac8b97150019857ac3c6298f026d66
parent45a4c90741254123e2e2ef420e0203dad81a1a3e
RDMA/qedr: Return success when not changing QP state

If the user is requesting us to change the QP state to the same state
that it is already in, return success instead of failure.

Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qedr/verbs.c