Re: [PATCH rdma-next 1/1] RDMA/mana_ib: cleanup the usage of mana_gd_send_request()

From: Leon Romanovsky

Date: Wed Mar 18 2026 - 14:34:57 EST


On Wed, Mar 18, 2026 at 10:39:39AM -0700, Konstantin Taranov wrote:
> From: Konstantin Taranov <kotaranov@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>
> ---
> drivers/infiniband/hw/mana/main.c | 105 ++++--------------------------
> drivers/infiniband/hw/mana/mr.c | 38 ++---------
> drivers/infiniband/hw/mana/qp.c | 9 +--
> 3 files changed, 19 insertions(+), 133 deletions(-)

I fixed coding style errors, removed same debug print from other
mana_gd_send_request() callers, together with netdev prints, which don't
belong to RDMA and applied the patch.

Thanks