Message ID | 20190830163537.32704-1-ajit.khaparde@broadcom.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5AED51E995; Fri, 30 Aug 2019 18:35:49 +0200 (CEST) Received: from rnd-relay.smtp.broadcom.com (rnd-relay.smtp.broadcom.com [192.19.229.170]) by dpdk.org (Postfix) with ESMTP id 41F241E995 for <dev@dpdk.org>; Fri, 30 Aug 2019 18:35:47 +0200 (CEST) Received: from nis-sj1-27.broadcom.com (nis-sj1-27.lvn.broadcom.net [10.75.144.136]) by rnd-relay.smtp.broadcom.com (Postfix) with ESMTP id D6CDC30C044; Fri, 30 Aug 2019 09:35:39 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 rnd-relay.smtp.broadcom.com D6CDC30C044 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1567182939; bh=KRORwkemxGI8xJ+t0DwGgS3AXrZZLI6Y3tTplMQkYGM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MNX3IwtdcKGJ9os27KRDx5/eWkKfUqaUJ35ffMHg7xeOsTYUNUEFKLr14ZYOHCbaF MOGwIJV3QlZGnwHEtI1AG2axrvvmRuyD5yPYoc6A1MWmAs0ccq5lq+HZWflnc1BLNT 4SQwxVNfbcb6rg5n+LbNl41E3gzfrXHRdkrMUHLY= Received: from localhost.localdomain (unknown [10.230.30.225]) by nis-sj1-27.broadcom.com (Postfix) with ESMTP id 1CD2CAC06AB; Fri, 30 Aug 2019 09:35:41 -0700 (PDT) From: Ajit Khaparde <ajit.khaparde@broadcom.com> To: dev@dpdk.org Cc: ferruh.yigit@intel.com Date: Fri, 30 Aug 2019 09:35:24 -0700 Message-Id: <20190830163537.32704-1-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.20.1 (Apple Git-117) In-Reply-To: <2a851a62-f5a1-7061-edb4-412db0d335ce@intel.com> References: <2a851a62-f5a1-7061-edb4-412db0d335ce@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 00/13] bnxt patchset to support device error recovery X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
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
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