summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2019-07-29 13:10:28 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-30 00:19:09 +0300
commitee79566e65945dcf557bcfb9335e46fac67fb002 (patch)
tree53d5b79bdf88fe3d9816d56c96b3b1207a23782d /tools/perf/scripts/python/exported-sql-viewer.py
parent67912c366d4bb0a9d108459e7c845cc7ba83f76f (diff)
downloadlinux-ee79566e65945dcf557bcfb9335e46fac67fb002.tar.xz
bnxt_en: Refactor ethtool ring statistics logic.
The current code assumes that the per ring statistics counters are fixed. In newer chips that support a newer version of TPA, the TPA counters are also changed. Refactor the code by defining these counter names in arrays so that it is easy to add a new array for a new set of counters supported by the newer chips. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions