From: Bryan O'Sullivan Date: Sat, 1 Jul 2006 11:36:07 +0000 (-0700) Subject: [PATCH] IB/ipath: don't confuse the max message size with the MTU X-Git-Tag: MMI-PSA29.97-13-9~48591 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c100f622fd9e529e0f4e4324b93f66d105dde61d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] IB/ipath: don't confuse the max message size with the MTU Signed-off-by: Ralph Campbell Signed-off-by: Bryan O'Sullivan Cc: "Michael S. Tsirkin" Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/infiniband/hw/ipath/ipath_verbs.c b/drivers/infiniband/hw/ipath/ipath_verbs.c index 70547d1f5908..059701d6a19d 100644 --- a/drivers/infiniband/hw/ipath/ipath_verbs.c +++ b/drivers/infiniband/hw/ipath/ipath_verbs.c @@ -695,7 +695,7 @@ static int ipath_query_port(struct ib_device *ibdev, ipath_layer_get_lastibcstat(dev->dd) & 0xf]; props->port_cap_flags = dev->port_cap_flags; props->gid_tbl_len = 1; - props->max_msg_sz = 4096; + props->max_msg_sz = 0x80000000; props->pkey_tbl_len = ipath_layer_get_npkeys(dev->dd); props->bad_pkey_cntr = ipath_layer_get_cr_errpkey(dev->dd) - dev->z_pkey_violations;