This patchset removes the PCIe histogram and other debug register data from ethtool -S. The removed data are not counters and they have very large and constantly fluctuating values that are not suitable for the ethtool -S decimal counter display.
The rest of the patches implement counter rollover for all hardware counters that are not 64-bit counters. Different generations of hardware have different counter widths. The driver will now query the counter widths of all counters from firmware and implement rollover support on all non-64-bit counters. The last patch adds the PCIe histogram and other PCIe register data back using the ethtool -d interface. Michael Chan (8): bnxt_en: Update firmware interface to 1.10.1.54. bnxt_en: Use macros to define port statistics size and offset. bnxt_en: Refactor statistics code and structures. bnxt_en: Allocate additional memory for all statistics blocks. bnxt_en: Retrieve hardware counter masks from firmware if available. bnxt_en: Retrieve hardware masks for port counters. bnxt_en: Accumulate all counters. bnxt_en: Switch over to use the 64-bit software accumulated counters. Vasundhara Volam (2): bnxt_en: Remove PCIe non-counters from ethtool statistics bnxt_en: Add support for 'ethtool -d' drivers/net/ethernet/broadcom/bnxt/bnxt.c | 494 ++++++++++++++++------ drivers/net/ethernet/broadcom/bnxt/bnxt.h | 96 ++++- drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c | 2 +- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 138 +++--- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h | 2 + drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 468 ++++++++++++++------ drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c | 2 +- 7 files changed, 860 insertions(+), 342 deletions(-) -- 1.8.3.1