From patchwork Sun Feb 14 23:04:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 12087459 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A146BC433E0 for ; Sun, 14 Feb 2021 23:06:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5CCF564E4E for ; Sun, 14 Feb 2021 23:06:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230172AbhBNXFx (ORCPT ); Sun, 14 Feb 2021 18:05:53 -0500 Received: from lpdvacalvio01.broadcom.com ([192.19.229.182]:45536 "EHLO relay.smtp-ext.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229793AbhBNXFw (ORCPT ); Sun, 14 Feb 2021 18:05:52 -0500 Received: from localhost.swdvt.lab.broadcom.net (dhcp-10-13-253-90.swdvt.lab.broadcom.net [10.13.253.90]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id F296EE9; Sun, 14 Feb 2021 15:05:01 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com F296EE9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1613343902; bh=wigpHtPUsBa0CqXE0MPEwwOdJmHr5J5fPdTQ123Zkmo=; h=From:To:Cc:Subject:Date:From; b=bxoSR8CW1CbvMmlRKs7D6N3GcAKP1jqIyZS2ARv+BBGAJ1yWddL7dfhD8IGDRUub/ vZQPEOgn7VpqCRzY8CrTbWYfLs9mS2OQ0LzpVNBKOSGIBcCxW08w2oM6zm2defHULT i290HM6mYcP4UWHO5pWz7TXl5zGYbWcQbASmgPHY= From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, kuba@kernel.org, gospo@broadcom.com Subject: [PATCH net-next 0/7] bnxt_en: Error recovery optimizations. Date: Sun, 14 Feb 2021 18:04:54 -0500 Message-Id: <1613343901-6629-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 series implements some optimizations to error recovery. One patch adds an echo/reply mechanism with firmware to enhance error detection. The other patches speed up the recovery process by polling config space earlier and to selectively initialize context memory during re-initialization. Edwin Peer (1): bnxt_en: selectively allocate context memories Michael Chan (6): bnxt_en: Update firmware interface spec to 1.10.2.16. bnxt_en: Implement faster recovery for firmware fatal error. bnxt_en: Add context memory initialization infrastructure. bnxt_en: Initialize "context kind" field for context memory blocks. bnxt_en: Reply to firmware's echo request async message. bnxt_en: Improve logging of error recovery settings information. drivers/net/ethernet/broadcom/bnxt/bnxt.c | 222 ++++++++++++++---- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 24 +- drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 105 ++++++++- 3 files changed, 290 insertions(+), 61 deletions(-)