[dpdk-dev] [PATCH v2 00/13] bnxt patchset to support device error recovery

Ajit Khaparde ajit.khaparde at broadcom.com
Fri Aug 30 18:35:24 CEST 2019


This patchset adds support to monitor the health of the firmware and the
underlying device and recover to an operational state in case of error.
We can also detect if a FW upgrade is in progress and quiesce all
access to the device and recover once FW indicates everything is ready.

Patchset against dpdk-next-net. Please apply.

Kalesh AP (13):
  net/bnxt: add FW reset HWRM command
  net/bnxt: prevent device access when device is in reset
  net/bnxt: handle reset notify async event from FW
  net/bnxt: inform firmware about IF state changes
  net/bnxt: handle fatal event from FW under error conditions
  net/bnxt: query firmware error recovery capabilities
  net/bnxt: map status registers for FW health monitoring
  net/bnxt: advertise error recovery capability and handle async event
  net/bnxt: add code for periodic FW health monitoring
  net/bnxt: add support for FW reset
  net/bnxt: reduce verbosity of logs
  net/bnxt: use BIT macro instead of bit fields
  net/bnxt: avoid null pointer dereference

 drivers/net/bnxt/bnxt.h                | 130 +++-
 drivers/net/bnxt/bnxt_cpr.c            |  80 +++
 drivers/net/bnxt/bnxt_cpr.h            |  18 +
 drivers/net/bnxt/bnxt_ethdev.c         | 815 ++++++++++++++++++++-----
 drivers/net/bnxt/bnxt_hwrm.c           | 200 +++++-
 drivers/net/bnxt/bnxt_hwrm.h           |   7 +
 drivers/net/bnxt/bnxt_ring.c           |  45 +-
 drivers/net/bnxt/bnxt_ring.h           |   1 +
 drivers/net/bnxt/bnxt_rxq.c            |  25 +
 drivers/net/bnxt/bnxt_rxr.c            |  17 +
 drivers/net/bnxt/bnxt_rxr.h            |   2 +
 drivers/net/bnxt/bnxt_stats.c          |  34 +-
 drivers/net/bnxt/bnxt_txq.c            |   7 +
 drivers/net/bnxt/bnxt_txr.c            |  27 +
 drivers/net/bnxt/bnxt_txr.h            |   2 +
 drivers/net/bnxt/bnxt_util.h           |   4 +
 drivers/net/bnxt/bnxt_vnic.c           |   7 +-
 drivers/net/bnxt/hsi_struct_def_dpdk.h | 137 +++++
 18 files changed, 1343 insertions(+), 215 deletions(-)

-- 
2.20.1 (Apple Git-117)



More information about the dev mailing list