From patchwork Tue Aug 15 04:56:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13353527 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 B24A617FF for ; Tue, 15 Aug 2023 04:57:11 +0000 (UTC) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C7BA107 for ; Mon, 14 Aug 2023 21:57:10 -0700 (PDT) Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-76cc4d495deso225430485a.0 for ; Mon, 14 Aug 2023 21:57:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1692075429; x=1692680229; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=9r/RThLeSObgjfJzefiQwzxoblq0Yk96OHEEmsFfcHo=; b=AJzCleqsAKLHtlET+WYjZNwB8o5/sHGKqtoxk1JHk11sL5pOXDXUiq0bayLUOWDk88 yVTIqUMDxT2fL0mmHJlB24JmjFqLIdBKHTg8xbjG3i6JS9VkOm3pBKWJDTbtSdoePSSe DCSSxRfgXO0BEh6mDXfCp+kQusQhacHTE/8zU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692075429; x=1692680229; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9r/RThLeSObgjfJzefiQwzxoblq0Yk96OHEEmsFfcHo=; b=TjMguGYM/RyRMtnnR7KYfLGqpVd32A+F1MdxdH1uBXRy/aqJebyyq7RCg7tntv1J8b nzWvUVyHsjXymZe5D0I5f5V7vrvl4t43tclLY2hZCybJhDJZjHA7mDUV0tvxM9Q1DdEy 4cN54vKB01J2Hz9VPeIVS8wg1omfD8EFJhsYMeCmh9iTHSv2HOkXYll/R/C8x7H2ZntQ Hvbps23HBMGjR5UpFcsqTLqJyOgxzbdV0o6MBWlJGgeajKeo7zvt0haBG5zxspBP9P+1 /sMd57nqpK/AE0tYE9VQKC40TA8zLClaf/DJiNuwBL9O6Ek6Iu5FkzKMq8ztA2bcpDZA cTcA== X-Gm-Message-State: AOJu0Yx7zlHqVmvAZ7Aqd69gSbe5LJ6/Ggxmv8BZCieGT2/bA6MvsbLc 8y7w0YQ1xwM+sTEvHmtg7ynl4Q== X-Google-Smtp-Source: AGHT+IFz8QVOrdRaHh9Cr3eQmzgBEJ3GDzQJyHNMiW62HCwiC9rAugN7pM+w3l7oxlUIM70H0I6I1w== X-Received: by 2002:a05:620a:24d4:b0:767:ea44:daf9 with SMTP id m20-20020a05620a24d400b00767ea44daf9mr1189448qkn.31.1692075428705; Mon, 14 Aug 2023 21:57:08 -0700 (PDT) Received: from lvnvda5233.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id k28-20020a05620a143c00b00767cbd5e942sm3516575qkj.72.2023.08.14.21.57.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Aug 2023 21:57:07 -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 00/12] bnxt_en: Update for net-next Date: Mon, 14 Aug 2023 21:56:46 -0700 Message-Id: <20230815045658.80494-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,URIBL_BLOCKED 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 3 featuress: - 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. - Hwmon enhancements and migration to newer kernel APIs. Kalesh AP (5): bnxt_en: Enhance hwmon temperature reporting bnxt_en: Move hwmon functions into a dedicated file bnxt_en: Modify the driver to use hwmon_device_register_with_info bnxt_en: Expose threshold temperatures through hwmon bnxt_en: Event handler for Thermal event Michael Chan (5): 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 bnxt_en: Update firmware interface to 1.10.2.171 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/Makefile | 1 + drivers/net/ethernet/broadcom/bnxt/bnxt.c | 268 ++++----- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 31 +- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 49 +- drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 545 ++++++++++++------ .../net/ethernet/broadcom/bnxt/bnxt_hwmon.c | 191 ++++++ .../net/ethernet/broadcom/bnxt/bnxt_hwmon.h | 30 + 7 files changed, 751 insertions(+), 364 deletions(-) create mode 100644 drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c create mode 100644 drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.h