From: Ismail, Mustafa Date: Mon, 18 Apr 2016 15:32:57 +0000 (-0500) Subject: RDMA/i40iw: Correct max message size in query port X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd57aeae563c8f032d6eee1c151f12b03191f053;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git RDMA/i40iw: Correct max message size in query port Fix to correct max reported message size in query port. Signed-off-by: Mustafa Ismail Signed-off-by: Faisal Latif Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/hw/i40iw/i40iw_verbs.c b/drivers/infiniband/hw/i40iw/i40iw_verbs.c index 329f59a9f18a..2534c5d1d7ec 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_verbs.c +++ b/drivers/infiniband/hw/i40iw/i40iw_verbs.c @@ -120,7 +120,7 @@ static int i40iw_query_port(struct ib_device *ibdev, props->pkey_tbl_len = 1; props->active_width = IB_WIDTH_4X; props->active_speed = 1; - props->max_msg_sz = 0x80000000; + props->max_msg_sz = I40IW_MAX_OUTBOUND_MESSAGE_SIZE; return 0; }