RDMA/mana_ib: Introduce mana_ib_install_cq_cb helper function

Use a helper function to install callbacks to CQs.
This patch removes code repetition.

Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
Link: https://lore.kernel.org/r/1705965781-3235-4-git-send-email-kotaranov@linux.microsoft.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
Konstantin Taranov 2024-01-22 15:23:01 -08:00 • committed by Leon Romanovsky
commit 2a31c5a7e0
3 changed files with 27 additions and 26 deletions