Commit db03b709 authored by zhenwei pi's avatar zhenwei pi Committed by Leon Romanovsky
Browse files

RDMA/rxe: Fix mismatched max_msg_sz



User mode queries max_msg_sz as 0x800000 by command 'ibv_devinfo -v',
however ibv_post_send/ibv_post_recv has a limit of 2^31. Fix this
mismatched information.

Signed-off-by: default avatarzhenwei pi <pizhenwei@bytedance.com>
Fixes: f605f26e ("RDMA/rxe: Protect QP state with qp->state_lock")
Fixes: 5bf944f2 ("RDMA/rxe: Add error messages")
Link: https://patch.msgid.link/20241216121953.765331-1-pizhenwei@bytedance.com


Review-by: default avatarZhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 2dab32d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment