diff options
author | Ram Amrani <Ram.Amrani@cavium.com> | 2017-04-30 11:49:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-01 11:42:13 -0400 |
commit | 793ea8a9c7b4b4383348a717cb5c86c1bbdba30a (patch) | |
tree | 6705f10629dea50bc2ae54216d359f20887c1b7b /drivers/net/ethernet/qlogic/qed/qed_roce.c | |
parent | 332270fdc8b6fba07d059a9ad44df9e1a2ad4529 (diff) |
qed: configure the RoCE max message size
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_roce.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_roce.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |