diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2012-01-11 19:00:29 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-03-12 16:24:59 -0700 |
commit | a9c766bb75ee2caad2735e41784387784ffd87db (patch) | |
tree | 8dbc6a8fe8e2b6853f817b029d34dbcf856d0684 /include | |
parent | 3616f9cead935d4e4c35915600d5e4d1384219cd (diff) | |
download | linux-stable-a9c766bb75ee2caad2735e41784387784ffd87db.tar.gz linux-stable-a9c766bb75ee2caad2735e41784387784ffd87db.tar.bz2 linux-stable-a9c766bb75ee2caad2735e41784387784ffd87db.zip |
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 <dotanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions