]> 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)
commit1c932addddc1cd7fe8080b2f1c6e1cb776adc33b
tree419a455a9238fddc8e2623ab0f5fb35006133b70
parent199643a6cc6d0c45ed3dd2e30dedc1dc1d8921d8
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