From patchwork Thu Aug 17 23:19:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13357066 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6706F9D5 for ; Thu, 17 Aug 2023 23:19:31 +0000 (UTC) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2397F35A5 for ; Thu, 17 Aug 2023 16:19:30 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-76d1dc1ebfdso70871485a.0 for ; Thu, 17 Aug 2023 16:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1692314369; x=1692919169; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=hMk8cdSWQQZFU7718mVsPCACbcsNojZr3E1M7NEgjjg=; b=ghgsAEegI8BYyN7TAJhL7ua+u4pOQjbTrOLzF8dDmmW65guqRmPZUwFkH43eXOQ5GF n8KbfVAo4SMxf9um9+KsUPaKtJuZ8qUpiVKsYRtdmk6gukJ3e1YmmNC/FaaFWZyGIZX0 9suX9OxRkqkRsaEhsG70AcD+6eOS7bx00XMx0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692314369; x=1692919169; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hMk8cdSWQQZFU7718mVsPCACbcsNojZr3E1M7NEgjjg=; b=hIh8CfzLWKj9FQ5TjNv+xvDc9F6fWbOCnr0nE+0tR9xb3bK3B7hcu/pnt909IacPnd l/SHj5yFE1md84OL9xhkyrlGEm7c+muOKyFR60f7s5cpy47NGO3rGrAr/k15Kn7guhYV nTtbApMEQg7VhKKGHpSZVsoUWrjyYcSEvz/2dnrKnMgKiDE1EgODIVOWFq7G1+Enb/7E 4O7E/FH6EPDwdLRG3lB8qcM8VQcwZUcVbovuSxTGFXOXxjPeRW2buzeCb0ftFn2wMqNK YfTiYO4yWZnDn+NWonBNBXZV3c6uaWXXHvpbc5Uvdg/VS2EQZrK98qfPJrcm6hwK8euq iuAw== X-Gm-Message-State: AOJu0YxC0dSEADddxjb/sha7T014USRbqEzaEyPE2JCSItsemzJvXg21 +GaYidXIS140Qza38jCrXPwscQ== X-Google-Smtp-Source: AGHT+IGD21xnjHVQx8eu7BJxlXZlDPuLNKVD0otrtCagJ4w+jEaDsecQmb7Oq3YClBm32/Hztbc8OA== X-Received: by 2002:a05:620a:3705:b0:76d:24ea:21a8 with SMTP id de5-20020a05620a370500b0076d24ea21a8mr1196536qkb.13.1692314368775; Thu, 17 Aug 2023 16:19:28 -0700 (PDT) Received: from lvnvda5233.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id w27-20020a05620a149b00b0076d25b11b62sm145516qkj.38.2023.08.17.16.19.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Aug 2023 16:19:28 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, gospo@broadcom.com Subject: [PATCH net-next v2 0/6] bnxt_en: Update for net-next Date: Thu, 17 Aug 2023 16:19:05 -0700 Message-Id: <20230817231911.165035-1-michael.chan@broadcom.com> X-Mailer: git-send-email 2.32.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MIME_NO_TEXT, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Patchwork-Delegate: kuba@kernel.org This patchset contains 2 features: - The page pool implementation for the normal RX path (non-XDP) for paged buffers in the aggregation ring. - Saving of the ring error counters across reset. v2: The hwmon patches are dropped for now while Kalesh is reworking them. Michael Chan (4): bnxt_en: Increment rx_resets counter in bnxt_disable_napi() bnxt_en: Save ring error counters across reset bnxt_en: Display the ring error counters under ethtool -S bnxt_en: Add tx_resets ring counter Somnath Kotur (2): bnxt_en: Use the unified RX page pool buffers for XDP and non-XDP bnxt_en: Let the page pool manage the DMA mapping drivers/net/ethernet/broadcom/bnxt/bnxt.c | 144 ++++++++---------- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 24 ++- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 49 +++--- 3 files changed, 107 insertions(+), 110 deletions(-)