mbox series

[v2,00/13] bnxt patchset to support device error recovery

Message ID 20190830163537.32704-1-ajit.khaparde@broadcom.com (mailing list archive)
Headers
Series bnxt patchset to support device error recovery |

Message

Ajit Khaparde Aug. 30, 2019, 4:35 p.m. UTC
  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(-)
  

Comments

Ferruh Yigit Sept. 30, 2019, 1:29 p.m. UTC | #1
On 8/30/2019 5:35 PM, Ajit Khaparde wrote:
> 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


Hi Ajit, Kalesh,

Some APIs and dev_ops return types has been changed in the next-net, and the
patch conflict because of those changes, can you please send a new version on
top of latest next-net?

Thanks,
ferruh