Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c100f622 authored by Bryan O'Sullivan's avatar Bryan O'Sullivan Committed by Linus Torvalds
Browse files

[PATCH] IB/ipath: don't confuse the max message size with the MTU



Signed-off-by: default avatarRalph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: default avatarBryan O'Sullivan <bryan.osullivan@qlogic.com>
Cc: "Michael S. Tsirkin" <mst@mellanox.co.il>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4faba98a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -695,7 +695,7 @@ static int ipath_query_port(struct ib_device *ibdev,
		ipath_layer_get_lastibcstat(dev->dd) & 0xf];
		ipath_layer_get_lastibcstat(dev->dd) & 0xf];
	props->port_cap_flags = dev->port_cap_flags;
	props->port_cap_flags = dev->port_cap_flags;
	props->gid_tbl_len = 1;
	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->pkey_tbl_len = ipath_layer_get_npkeys(dev->dd);
	props->bad_pkey_cntr = ipath_layer_get_cr_errpkey(dev->dd) -
	props->bad_pkey_cntr = ipath_layer_get_cr_errpkey(dev->dd) -
		dev->z_pkey_violations;
		dev->z_pkey_violations;