summaryrefslogtreecommitdiff
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-04-01 11:15:09 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-04-20 22:17:29 -0700
commit09401ae25191039f4aa45c13718595f550745c68 (patch)
treee08c1de41b12c778538746b590683aa1d7721b3e /lib/test_bitmap.c
parent10c9ead9f3c6bb24bddc9a96681f7d58e6623966 (diff)
downloadlinux-09401ae25191039f4aa45c13718595f550745c68.tar.gz
linux-09401ae25191039f4aa45c13718595f550745c68.tar.xz
fm10k: add helper functions to set strings and data for ethtool stats
Reduce duplicate code and the amount of indentation by adding fm10k_add_stat_strings and fm10k_add_ethtool_stats functions which help add fm10k_stat structures to the ethtool stats callbacks. This helps increase ease of use for future stat additions, and increases code readability. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions