Skip to content

Commit c9a40f6

Browse files
Shiraz Saleemrleon
authored andcommitted
RDMA/mana_ib: Report max_msg_sz in mana_ib_query_port
Report max_msg_sz for mana_ib, which is 16MB. Fixes: 4bda1d5 ("RDMA/mana_ib: Implement port parameters") Signed-off-by: Shiraz Saleem <shirazsaleem@microsoft.com> Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/20260512094209.264955-1-kotaranov@linux.microsoft.com Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
1 parent 7122ff9 commit c9a40f6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/infiniband/hw/mana

drivers/infiniband/hw/mana/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@ int mana_ib_query_port(struct ib_device *ibdev, u32 port,
606606
if (mana_ib_is_rnic(dev)) {
607607
props->gid_tbl_len = 16;
608608
props->ip_gids = true;
609+
props->max_msg_sz = SZ_16M;
609610
if (port == 1)
610611
props->port_cap_flags = IB_PORT_CM_SUP;
611612
}

0 commit comments

Comments
 (0)