]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/mana_ib: cleanup the usage of mana_gd_send_request()
authorKonstantin Taranov <kotaranov@microsoft.com>
Wed, 18 Mar 2026 17:39:39 +0000 (10:39 -0700)
committerLeon Romanovsky <leon@kernel.org>
Mon, 30 Mar 2026 17:47:43 +0000 (13:47 -0400)
commit5aa437c93d90f486ff5428183323c971cfeb4294
treee7913ea1639ba3ba358df0e7fb3ea4a030d6802c
parent2bb02691df656257eb373cf9052f80c196785916
RDMA/mana_ib: cleanup the usage of mana_gd_send_request()

Do not check the status of the response header returned by mana_gd_send_request(),
as the returned error code already indicates the request status.

The mana_gd_send_request() may return no error code and have the response status
GDMA_STATUS_MORE_ENTRIES, which is a successful completion. It is used
for checking the correctness of multi-request operations, such as creation of
a dma region with mana_ib_gd_create_dma_region().

Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
Link: https://patch.msgid.link/20260318173939.1417856-1-kotaranov@linux.microsoft.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mana/main.c
drivers/infiniband/hw/mana/mr.c
drivers/infiniband/hw/mana/qp.c