netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 00/10] bnxt_en update.
@ 2020-07-27  9:40 Michael Chan
  2020-07-27  9:40 ` [PATCH net-next v2 01/10] bnxt_en: Remove PCIe non-counters from ethtool statistics Michael Chan
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Michael Chan @ 2020-07-27  9:40 UTC (permalink / raw)
  To: davem; +Cc: netdev, kuba

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(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-07-27 18:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-27  9:40 [PATCH net-next v2 00/10] bnxt_en update Michael Chan
2020-07-27  9:40 ` [PATCH net-next v2 01/10] bnxt_en: Remove PCIe non-counters from ethtool statistics Michael Chan
2020-07-27  9:40 ` [PATCH net-next v2 02/10] bnxt_en: Update firmware interface to 1.10.1.54 Michael Chan
2020-07-27  9:40 ` [PATCH net-next v2 03/10] bnxt_en: Use macros to define port statistics size and offset Michael Chan
2020-07-27  9:40 ` [PATCH net-next v2 04/10] bnxt_en: Refactor statistics code and structures Michael Chan
2020-07-27  9:40 ` [PATCH net-next v2 05/10] bnxt_en: Allocate additional memory for all statistics blocks Michael Chan
2020-07-27  9:40 ` [PATCH net-next v2 06/10] bnxt_en: Retrieve hardware counter masks from firmware if available Michael Chan
2020-07-27  9:40 ` [PATCH net-next v2 07/10] bnxt_en: Retrieve hardware masks for port counters Michael Chan
2020-07-27  9:40 ` [PATCH net-next v2 08/10] bnxt_en: Accumulate all counters Michael Chan
2020-07-27  9:40 ` [PATCH net-next v2 09/10] bnxt_en: Switch over to use the 64-bit software accumulated counters Michael Chan
2020-07-27  9:40 ` [PATCH net-next v2 10/10] bnxt_en: Add support for 'ethtool -d' Michael Chan
2020-07-27 18:49 ` [PATCH net-next v2 00/10] bnxt_en update David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).