i40e: move ethtool stats boiler plate code to i40e_ethtool_stats.h
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 20 Aug 2018 15:12:24 +0000 (08:12 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 30 Aug 2018 20:53:03 +0000 (13:53 -0700)
commit8fd75c58a09a571543b5b61e49171bb3a1d88c19
tree22ff51857585239762375d4598eecc1b7bdaad4b
parent4b59938b209efedc4277e99be0ec7ddbc66fed10
i40e: move ethtool stats boiler plate code to i40e_ethtool_stats.h

Move the boiler plate structures and helper functions we recently
added into their own header file, so that the complete collection is
located together.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_ethtool_stats.h [new file with mode: 0644]