diff options
author | Arkadi Sharshevsky <[email protected]> | 2017-05-18 09:18:52 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-05-18 11:03:59 -0400 |
commit | 6dd4aba36f2dca00c3b6976a0d59c5cee16ad545 (patch) | |
tree | a770e80dddf42bad8858d6efd5288833d9552332 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1ac91bff9c65d4a5e0da244495ea6275fd514c5a (diff) |
mlxsw: spectrum_dpipe: Fix incorrect entry index
In case of disabled counters the entry index will be incorrect. Fix this
by moving the entry index set before the counter status check.
Fixes: 2ba5999f009d ("mlxsw: spectrum: Add Support for erif table entries access")
Signed-off-by: Arkadi Sharshevsky <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions