mbox series

[v3,00/15] bnxt patchset to support device error recovery

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

Message

Ajit Khaparde Oct. 2, 2019, 1:23 a.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.

v2->v3: Some APIs and dev_ops return types has been updated since
	v2 was submitted. This version addresses the conflicts on
	account of that.

Kalesh AP (15):
  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: add hot firmware upgrade support for Stingray
  net/bnxt: reduce verbosity of logs
  net/bnxt: avoid null pointer dereference
  net/bnxt: use BIT macro instead of bit fields
  net/bnxt: add PTP support for Thor

 drivers/net/bnxt/bnxt.h                |  142 +++-
 drivers/net/bnxt/bnxt_cpr.c            |  122 ++-
 drivers/net/bnxt/bnxt_cpr.h            |   19 +
 drivers/net/bnxt/bnxt_ethdev.c         | 1066 ++++++++++++++++++------
 drivers/net/bnxt/bnxt_filter.c         |    2 +-
 drivers/net/bnxt/bnxt_hwrm.c           |  310 ++++++-
 drivers/net/bnxt/bnxt_hwrm.h           |    9 +
 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            |   59 +-
 drivers/net/bnxt/bnxt_rxr.h            |    2 +
 drivers/net/bnxt/bnxt_stats.c          |   36 +-
 drivers/net/bnxt/bnxt_txq.c            |    7 +
 drivers/net/bnxt/bnxt_txr.c            |   34 +-
 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 |  242 ++++++
 19 files changed, 1816 insertions(+), 318 deletions(-)
  

Comments

Ferruh Yigit Oct. 2, 2019, 5:02 p.m. UTC | #1
On 10/2/2019 2:23 AM, 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.
> 
> v2->v3: Some APIs and dev_ops return types has been updated since
> 	v2 was submitted. This version addresses the conflicts on
> 	account of that.
> 
> Kalesh AP (15):
>   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: add hot firmware upgrade support for Stingray
>   net/bnxt: reduce verbosity of logs
>   net/bnxt: avoid null pointer dereference
>   net/bnxt: use BIT macro instead of bit fields
>   net/bnxt: add PTP support for Thor

Series applied to dpdk-next-net/master, thanks.