diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2018-07-31 03:41:39 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-08-07 08:19:08 -0700 |
commit | f303048067a78d95947c1748ce1e55940ab2100b (patch) | |
tree | 5e0e1db9d961f9d6f66742bd37dd32ea9cdd5ea9 /include/linux/bpf.h | |
parent | 91f0654461f615247fb6cef6fc9de57f6607a677 (diff) |
i40e: add helper to copy statistic values into ethtool buffer
Similar to the helper function to copy the ethtool stats strings, add
and use a helper function for copying the ethtool stats into the
supplied buffer.
Just like before, we use a macro to avoid having to pass ARRAY_SIZE
manually, so as to reduce chance of bugs.
Some of the stats, especially queue stats, are a bit trickier, and will
be handled in future patches.
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>
Diffstat (limited to 'include/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions