linux/drivers/net/ethernet/intel/fm10k
Jacob Keller 09401ae251 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>
2016-04-20 22:17:29 -07:00
..
fm10k_common.c fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_common.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k_dcbnl.c fm10k: conditionally compile DCB and DebugFS support 2015-12-13 15:27:59 -08:00
fm10k_debugfs.c fm10k: conditionally compile DCB and DebugFS support 2015-12-13 15:27:59 -08:00
fm10k_ethtool.c fm10k: add helper functions to set strings and data for ethtool stats 2016-04-20 22:17:29 -07:00
fm10k_iov.c fm10k: fix a minor typo in some comments 2016-04-05 12:49:38 -07:00
fm10k_main.c fm10k: use ethtool_rxfh_indir_default for default redirection table 2016-04-05 12:49:50 -07:00
fm10k_mbx.c fm10k: cleanup mailbox code comments etc 2015-12-22 05:19:57 -08:00
fm10k_mbx.h fm10k: cleanup mailbox code comments etc 2015-12-22 05:19:57 -08:00
fm10k_netdev.c fm10k: fix a minor typo in some comments 2016-04-05 12:49:38 -07:00
fm10k_pci.c fm10k: fix a minor typo in some comments 2016-04-05 12:49:38 -07:00
fm10k_pf.c fm10k: fix a minor typo in some comments 2016-04-05 12:49:38 -07:00
fm10k_pf.h fm10k: constify fm10k_mac_ops, fm10k_iov_ops and fm10k_info structures 2015-12-22 05:10:01 -08:00
fm10k_ptp.c fm10k: cleanup SPACE_BEFORE_TAB checkpatch warning 2016-04-05 12:44:44 -07:00
fm10k_tlv.c fm10k: cleanup remaining right-bit-shifted 1 2016-04-05 12:44:30 -07:00
fm10k_tlv.h fm10k: cleanup mailbox code comments etc 2015-12-22 05:19:57 -08:00
fm10k_type.h fm10k: cleanup remaining right-bit-shifted 1 2016-04-05 12:44:30 -07:00
fm10k_vf.c fm10k: constify fm10k_mac_ops, fm10k_iov_ops and fm10k_info structures 2015-12-22 05:10:01 -08:00
fm10k_vf.h fm10k: constify fm10k_mac_ops, fm10k_iov_ops and fm10k_info structures 2015-12-22 05:10:01 -08:00
fm10k.h fm10k: use ethtool_rxfh_indir_default for default redirection table 2016-04-05 12:49:50 -07:00
Makefile fm10k: conditionally compile DCB and DebugFS support 2015-12-13 15:27:59 -08:00