Re: [PATCH] IB/core: sysfs.c: Fix PerfMgt ClassPortInfo handling

2015-12-29 Thread Matan Barak
On Mon, Dec 28, 2015 at 11:53 PM, Hal Rosenstock wrote: > > 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

[PATCH] IB/core: sysfs.c: Fix PerfMgt ClassPortInfo handling

2015-12-28 Thread Hal Rosenstock
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

Re: [PATCH] IB/core: sysfs.c: Fix PerfMgt ClassPortInfo handling

2015-12-28 Thread ira.weiny
On Mon, Dec 28, 2015 at 04:53:18PM -0500, Hal Rosenstock wrote: > > 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