From: Or Gerlitz Date: Wed, 11 Jan 2012 17:00:29 +0000 (+0200) Subject: IB/mlx4: Fix info returned when querying IBoE ports X-Git-Tag: v3.4-rc1~169^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9c766bb75ee2caad2735e41784387784ffd87db;p=pandora-kernel.git IB/mlx4: Fix info returned when querying IBoE ports To issue a port query, use the QUERY_(Ethernet)_PORT command instead of the MAD_IFC command, since MAD_IFC attempts to query the firmware IB SMA, which is irrelevant for IBoE ports. This allows us to handle both 10Gb/s and 40Gb/s rates (e.g in sysfs), using QDR speed (10Gb/s) and width of 1X or 4X. Signed-off-by: Dotan Barak Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed