]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: postpone WR initialization during queue drain
authorMax Gurtovoy <maxg@mellanox.com>
Sun, 14 Jan 2018 15:07:48 +0000 (17:07 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 18 Jan 2018 19:49:20 +0000 (14:49 -0500)
commit2b45ee67736b5406f9eb7d56e09987b2424c80cb
tree419a455a9238fddc8e2623ab0f5fb35006133b70
parent91f9a0ec6aa66cef019866798786c6c4cd365271
IB/core: postpone WR initialization during queue drain

No need to initialize completion and WR in case we fail
during QP modification.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/verbs.c