commit | 0ded9c61c13746991cbcc098cf00715526627e9a | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Thu May 10 05:59:41 2018 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon May 14 07:05:16 2018 -0700 |
tree | 5831c92e7674c1462176996a472786a96f305d2f | |
parent | e691b771aa7f660c42697c15b86ada2180e68280 [diff] |
i40e: calculate ethtool stats size in a separate function Use a separate function to calculate the number of stats for a particular device. This helps reduce the clutter in i40e_get_sset_count(). 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>