From patchwork Sun Oct 4 19:22:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 267626 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=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, MIME_HEADER_CTYPE_ONLY, MIME_NO_TEXT, SPF_HELO_NONE, SPF_PASS, T_TVD_MIME_NO_HEADERS, USER_AGENT_GIT autolearn=no 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 061D7C4363C for ; Sun, 4 Oct 2020 19:23:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A3A6B205ED for ; Sun, 4 Oct 2020 19:23:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="gyPeOzch" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726555AbgJDTXX (ORCPT ); Sun, 4 Oct 2020 15:23:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726294AbgJDTXX (ORCPT ); Sun, 4 Oct 2020 15:23:23 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B87DC0613CE for ; Sun, 4 Oct 2020 12:23:23 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id a17so3464777pju.1 for ; Sun, 04 Oct 2020 12:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=ynZLIbN8IO6t9ZzwljaEF+hsR/aKhIdgeZcWzPN00g4=; b=gyPeOzchF+GCuucuxvKQLH1SAE7IM2NtFU6MXLaeVYImVPOWpH3wwrUDU5N0qjtwZc d28O0aJQmmEW16yNmQKEEmU5YQtJfjts7C8jLuptAP7ZwLctwhfynCFtmZQ2B4L7/kMH iTsdpG/c63E/Ij0R5j7bxK0BLNBllBeM/ozQ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ynZLIbN8IO6t9ZzwljaEF+hsR/aKhIdgeZcWzPN00g4=; b=siudRKyA/EZSV4kjV0msH6AtAiQpWFTBBIL7JxuRyl0fPQ4Ggfz73c5Io/F23f670w p8ShG9/6HvaOdbHm5DVyYbr25PcOM0YX9yJXJKhDKcigZLE40vOG/tC+VmEWzEuog0aS CTmMELITVL0uL1/4fXUPZ6vsjInOj6mifBLTULE0eggp1aFILFdb5JD1+bz7+Ytfc8iz TMGHXU1Tps4MAsNCH1mOHTeK77R02F9wO1u6OgaadyH3FXZ70acV/BLaAfVJsmP30n+c 9aM8tw3TLXZonZm2ihsHSF9ZGhGChww8dqlgqs3m2uJGOGI0WYewieZdjPNIukAhnLgs YHpQ== X-Gm-Message-State: AOAM5300A3VTt2mxfi/HuTSjp+jnReU+V31Mw5JUUEg3e0GxFf/CZLNG IggZx84GNftnK1OwHZdsPiFBPw== X-Google-Smtp-Source: ABdhPJxOuvruYskj8cBIswZg56cU0F2MkTpyylV1whYvCT6w7wpbbLr2Dw78LwyU7p6HHSPsaTw2NQ== X-Received: by 2002:a17:90a:a014:: with SMTP id q20mr13517667pjp.77.1601839402455; Sun, 04 Oct 2020 12:23:22 -0700 (PDT) Received: from localhost.swdvt.lab.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id 138sm9824234pfu.180.2020.10.04.12.23.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Oct 2020 12:23:21 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, kuba@kernel.org, gospo@broadcom.com Subject: [PATCH net-next 00/11] bnxt_en: net-next updates. Date: Sun, 4 Oct 2020 15:22:50 -0400 Message-Id: <1601839381-10446-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 This series starts off with the usual update of the firmware interface spec. A new firmware status bit in the interface will be used in patch #4 to perform recovery on some SoC platforms. Patches #2 and #3 first add the infrastructure to read the firmware status very early during driver probe and this will allow patch #4 to do the recovery if needed. The rest of the patches add improvements to the current RX reset logic by localizing the reset to the affected RX ring only and to reset only if firmware has determined that the RX ring is in permanent error state. EdwinePeer (3): bnxt_en: refactor bnxt_alloc_fw_health() bnxt_en: log firmware status on firmware init failure bnxt_en: perform no master recovery during startup Michael Chan (7): bnxt_en: Log FW health status info, if reset is aborted. bnxt_en: Refactor bnxt_free_rx_skbs(). bnxt_en: Refactor bnxt_init_one_rx_ring(). bnxt_en: Implement RX ring reset in response to buffer errors. bnxt_en: Add a software counter for RX ring reset. bnxt_en: Reduce unnecessary message log during RX errors. bnxt_en: Eliminate unnecessary RX resets. Vasundhara Volam (1): bnxt_en: Update firmware interface spec to 1.10.1.68. drivers/net/ethernet/broadcom/bnxt/bnxt.c | 529 +++++++++++++----- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 6 + .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 1 + drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 24 +- 4 files changed, 403 insertions(+), 157 deletions(-)