Re: [PATCH rdma-next v3 1/1] RDMA/mana_ib: memory windows

From: Leon Romanovsky

Date: Tue Mar 31 2026 - 10:05:52 EST


On Tue, Mar 31, 2026 at 02:08:51AM -0700, Konstantin Taranov wrote:
> From: Konstantin Taranov <kotaranov@xxxxxxxxxxxxx>
>
> Implement .alloc_mw() and .dealloc_mw() for mana device.
>
> Signed-off-by: Konstantin Taranov <kotaranov@xxxxxxxxxxxxx>
> Reviewed-by: Long Li <longli@xxxxxxxxxxxxx>
> ---
> v3: Use v2 request
> v2: fixed comments. Cleaned up the use of mana_gd_send_request()
> drivers/infiniband/hw/mana/device.c | 3 ++
> drivers/infiniband/hw/mana/mana_ib.h | 8 +++++
> drivers/infiniband/hw/mana/mr.c | 54 +++++++++++++++++++++++++++-
> include/net/mana/gdma.h | 5 +++
> 4 files changed, 69 insertions(+), 1 deletion(-)

How did you test this patch? How can applications know that alloc_mw is
supported now if you didn't set IB_DEVICE_MEM_WINDOW and props->max_mw?

Thanks