From patchwork Wed Aug 11 21:37:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 495594 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=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, 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 C77EAC4338F for ; Wed, 11 Aug 2021 21:38:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A6A5C60551 for ; Wed, 11 Aug 2021 21:38:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232209AbhHKVij (ORCPT ); Wed, 11 Aug 2021 17:38:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:34552 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232156AbhHKVif (ORCPT ); Wed, 11 Aug 2021 17:38:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 428DC60F11; Wed, 11 Aug 2021 21:38:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628717890; bh=8TCZoA0RWguytepXsv6jjrJZ5XL9K0yD28JNI0V+wBk=; h=From:To:Cc:Subject:Date:From; b=H1AYA+mX4Z9SbM3norOivtBxGhUIlPoMQteD5UxXaQzswMXvyE9Wc/4iCfBLXQzXB xyuwcfPTlwwc0bVqXkETN0+TDxKIKxTiQLr6kJT5VSTTwEAo1asnQbZxZprKCwMRzT cW0ykcSwNvVWBSAr+LOyZ4/MikDv25VLiIGtC46FnGa9VslZMbNf1Fkuw50DjVG0rn AjrJrCEoClkEgU0uAORafnhLrccyNPZBB9pwS3vG2QYi4UZk5wUUgUohQi1X/kJXmk FOnOI5wGZPEYI4Pt61nSLQVS6Pg9NywjtFGdEAsN58XQ9iZYhvhX+QycUJXGLD/yxC cQnt6dml4BrwA== From: Jakub Kicinski To: davem@davemloft.net Cc: michael.chan@broadcom.com, huangjw@broadcom.com, eddie.wai@broadcom.com, prashant@broadcom.com, gospo@broadcom.com, netdev@vger.kernel.org, edwin.peer@broadcom.com, Jakub Kicinski Subject: [PATCH net v2 0/4] bnxt: Tx NAPI disabling resiliency improvements Date: Wed, 11 Aug 2021 14:37:45 -0700 Message-Id: <20210811213749.3276687-1-kuba@kernel.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org A lockdep warning was triggered by netpoll because napi poll was taking the xmit lock. Fix that and a couple more issues noticed while reading the code. Jakub Kicinski (4): bnxt: don't lock the tx queue from napi poll bnxt: disable napi before canceling DIM bnxt: make sure xmit_more + errors does not miss doorbells bnxt: count Tx drops drivers/net/ethernet/broadcom/bnxt/bnxt.c | 60 ++++++++++++++--------- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 + 2 files changed, 37 insertions(+), 24 deletions(-)