Files
linux/drivers/infiniband/core
Hal Rosenstock 6e2a51a0f7 IB/core: sysfs.c: Fix PerfMgt ClassPortInfo handling
Port number is not part of ClassPortInfo attribute but is
still needed as a parameter when invoking process_mad.

To properly handle this attribute, port_num is added as a
parameter to get_counter_table and get_perf_mad was changed
not to store port_num in the attribute itself when it's
querying the ClassPortInfo attribute.

This handles issue pointed out by Matan Barak <matanb@dev.mellanox.co.il>

Fixes: 145d9c5410 ('IB/core: Display extended counter set if available')

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Acked-by: Matan Barak <matanb@mellanox.com>
Acked-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-01-19 15:26:20 -05:00
..
2015-12-23 10:35:12 -05:00
2015-10-08 11:09:10 +01:00
2015-06-12 14:49:18 -04:00
2015-12-23 10:39:52 -05:00
2015-05-05 13:21:27 -04:00
2015-12-23 10:39:52 -05:00
2016-01-19 15:25:45 -05:00
2008-07-14 23:48:44 -07:00
2016-01-19 15:25:45 -05:00
2015-12-23 10:39:52 -05:00
2015-08-30 15:48:24 -04:00