mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
RDMA/mana_ib: Report max_msg_sz in mana_ib_query_port
Report max_msg_sz for mana_ib, which is 16MB.
Fixes: 4bda1d5332 ("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>
This commit is contained in:
parent
7122ff9606
commit
c9a40f6531
|
|
@ -606,6 +606,7 @@ int mana_ib_query_port(struct ib_device *ibdev, u32 port,
|
|||
if (mana_ib_is_rnic(dev)) {
|
||||
props->gid_tbl_len = 16;
|
||||
props->ip_gids = true;
|
||||
props->max_msg_sz = SZ_16M;
|
||||
if (port == 1)
|
||||
props->port_cap_flags = IB_PORT_CM_SUP;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user