aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMichael Chan <[email protected]>2017-07-24 12:34:23 -0400
committerDavid S. Miller <[email protected]>2017-07-24 17:29:58 -0700
commit5c8227d0d3b1eb1ad8f98d0b6dc619d70f2cfa04 (patch)
tree7d6ff5464304d559b5f32601e80ff9318456f72c /tools/perf/scripts/python/netdev-times.py
parent39d8ba2e71fbdde686d7e31ad141a01994dc0793 (diff)
bnxt_en: Add bnxt_get_num_stats() to centrally get the number of ethtool stats.
Instead of duplicating the logic multiple times. Also, it is unnecessary to zero the buffer in .get_ethtool_stats() because it is already zeroed by the caller. Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions