diff options
author | Don Skidmore <donald.c.skidmore@intel.com> | 2013-09-25 08:03:09 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-10-29 04:22:24 -0700 |
commit | 44bd741e10a5bc7d7dd14a79dd58f403819f43bd (patch) | |
tree | 93d3cc944d86e550a0fad5a1e29f98b6fc44b477 /drivers/net/ethernet/intel/ixgbevf/ixgbevf.h | |
parent | 3b5dca262f52793fdff4d0d970e8f1cec3f7f2ef (diff) | |
download | op-kernel-dev-44bd741e10a5bc7d7dd14a79dd58f403819f43bd.zip op-kernel-dev-44bd741e10a5bc7d7dd14a79dd58f403819f43bd.tar.gz |
ixgbevf: Add zero_base handler to network statistics
This patch removes the need to keep a zero_base variable in the adapter
structure. Now we just use two different macros to set the non-zero and
zero base. This adds to readability and shortens some of the structure
initialization under 80 columns. The gathering of status for ethtool was
slightly modified to again better fit into 80 columns and become a bit
more readable.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf/ixgbevf.h')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbevf/ixgbevf.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h index 78e4c51..acf3806 100644 --- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h +++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h @@ -361,7 +361,6 @@ struct ixgbevf_adapter { struct ixgbe_hw hw; u16 msg_enable; struct ixgbevf_hw_stats stats; - u64 zero_base; /* Interrupt Throttle Rate */ u32 eitr_param; |