diff options
author | 2020-07-27 05:40:39 -0400 | |
---|---|---|
committer | 2020-07-27 11:47:33 -0700 | |
commit | 177a6cde47fcf23e5826c6224fc53038480451c2 (patch) | |
tree | 61f0ccd8890e2826fa8a871d8d8f34d7d1c68328 /tools/perf/scripts/python/syscall-counts.py | |
parent | bnxt_en: Use macros to define port statistics size and offset. (diff) | |
download | linux-dev-177a6cde47fcf23e5826c6224fc53038480451c2.tar.xz linux-dev-177a6cde47fcf23e5826c6224fc53038480451c2.zip |
bnxt_en: Refactor statistics code and structures.
The driver manages multiple statistics structures of different sizes.
They are all allocated, freed, and handled practically the same. Define
a new bnxt_stats_mem structure and common allocation and free functions
for all staistics memory blocks.
Reviewed-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions