From patchwork Sat Mar 5 08:54:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 12770273 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AC59C433EF for ; Sat, 5 Mar 2022 08:55:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230205AbiCEIzx (ORCPT ); Sat, 5 Mar 2022 03:55:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbiCEIzw (ORCPT ); Sat, 5 Mar 2022 03:55:52 -0500 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54221254A93 for ; Sat, 5 Mar 2022 00:55:02 -0800 (PST) Received: by mail-pl1-x62f.google.com with SMTP id e2so9763427pls.10 for ; Sat, 05 Mar 2022 00:55:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=btymlOwDmaUtwtfC2Az2Z/pQkcZglZ6zJSPbE4gPQrQ=; b=DAJP7FXCEy/+8ZgFA5prLNZiFohvHAWdqM7KSWzOepYUDmrEv0cC5vjpseii0E+9Fg Qm1P2DFf21ATTVYQt7UTkQ/UHBVei5EE/i56E1bmxUsp+nmRkDJBKqwUYfE1itZ97jnc XDMc+ytEx6jsSZ4jZ4905MleiY6lvu7C5B4sM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=btymlOwDmaUtwtfC2Az2Z/pQkcZglZ6zJSPbE4gPQrQ=; b=Ul7geV1//OMhMhRLFcsH3s9/N8/6sv5/ahSjfFzxqI2dWjCYR4E9Tby6JK5CKmfynY 38zMkP/IowH1G5yfIks/SQoGD2WO5AeOf0cF9bfOwSXpvxVuRvJOwuVVa4EPRn/Dzhv5 GwkDxhag5Y6X4CnrEap8AwmDQC1uROedahNbnXDdkWqC8AVQCBZL6doJG6zRseAdZUjh CmpEL2BmQIlmpJX3xNme7duxuKh12lMmlK7uQnY69nchWXcNsCzpPQLaBq5jy5f/8YLf //0eBU5F7BaE2IwDkney4/3yrvsv45GOnj9DlBPBSy8RWOpz1fQGHc0lgAqlO4wgcgnb b7OA== X-Gm-Message-State: AOAM532ZxIYD9IiWzlac5n625ktqJtlJc1vCHMLQgoRiqLIMd9penUPT lXqBl2zQxIxbHocsqiFr2db49A== X-Google-Smtp-Source: ABdhPJxRF6YUZzRHtv4qG4+J9aapVUTzxW9ua1K5chNsCa98CR4yQk3i20/+C6GPPRQIyYm1/GUtbw== X-Received: by 2002:a17:902:bd89:b0:14d:93b4:71a9 with SMTP id q9-20020a170902bd8900b0014d93b471a9mr2657602pls.98.1646470501494; Sat, 05 Mar 2022 00:55:01 -0800 (PST) Received: from localhost.swdvt.lab.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id p28-20020a056a000a1c00b004f6519e61b7sm9213261pfh.21.2022.03.05.00.55.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Mar 2022 00:55:01 -0800 (PST) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, kuba@kernel.org, gospo@broadcom.com Subject: [PATCH net-next 0/9] bnxt_en: Updates. Date: Sat, 5 Mar 2022 03:54:33 -0500 Message-Id: <1646470482-13763-1-git-send-email-michael.chan@broadcom.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org This patch series contains mainly NVRAM related features. More NVRAM error checking and logging are added when installing firmware packages. A new devlink hw health report is now added to report and diagnose NVRAM issues. Other miscellaneous patches include reporting correctly cards that don't support link pause, adding an internal unknown link state, and avoiding unnecessary link toggle during firmware reset. Edwin Peer (2): bnxt_en: introduce initial link state of unknown bnxt_en: Do not destroy health reporters during reset Kalesh AP (4): bnxt_en: refactor error handling of HWRM_NVM_INSTALL_UPDATE bnxt_en: add more error checks to HWRM_NVM_INSTALL_UPDATE bnxt_en: parse result field when NVRAM package install fails bnxt_en: implement hw health reporter Michael Chan (2): bnxt_en: Properly report no pause support on some cards bnxt_en: Eliminate unintended link toggle during FW reset Vikas Gupta (1): bnxt_en: add an nvm test for hw diagnose drivers/net/ethernet/broadcom/bnxt/bnxt.c | 61 ++++-- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 57 +++++- drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c | 3 +- .../net/ethernet/broadcom/bnxt/bnxt_devlink.c | 191 ++++++++++++++++-- .../net/ethernet/broadcom/bnxt/bnxt_devlink.h | 3 +- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 119 ++++++++--- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.h | 7 + 7 files changed, 367 insertions(+), 74 deletions(-)