From: Ram Amrani Date: Sun, 30 Apr 2017 08:49:05 +0000 (+0300) Subject: qed: configure the RoCE max message size X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=793ea8a9c7b4b4383348a717cb5c86c1bbdba30a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git qed: configure the RoCE max message size Signed-off-by: Ram Amrani Signed-off-by: Yuval Mintz Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/qlogic/qed/qed_roce.c b/drivers/net/ethernet/qlogic/qed/qed_roce.c index b8c811f95205..5d4061577767 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_roce.c +++ b/drivers/net/ethernet/qlogic/qed/qed_roce.c @@ -750,6 +750,8 @@ static struct qed_rdma_port *qed_rdma_query_port(void *rdma_cxt) p_port->link_speed = p_hwfn->mcp_info->link_output.speed; + p_port->max_msg_size = RDMA_MAX_DATA_SIZE_IN_WQE; + return p_port; }