mbox series

[net-next,v2,00/10] bnxt_en update.

Message ID 1595842845-19403-1-git-send-email-michael.chan@broadcom.com
Headers show
Series bnxt_en update. | expand

Message

Michael Chan July 27, 2020, 9:40 a.m. UTC
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.

v2: Fix bnxt_re RDMA driver compile issue.

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/infiniband/hw/bnxt_re/hw_counters.c       |   2 +-
 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 +-
 8 files changed, 861 insertions(+), 343 deletions(-)

Comments

David Miller July 27, 2020, 6:49 p.m. UTC | #1
From: Michael Chan <michael.chan@broadcom.com>
Date: Mon, 27 Jul 2020 05:40:35 -0400

> 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.
> 
> v2: Fix bnxt_re RDMA driver compile issue.

This looks better, series applied, thanks Michael.