From patchwork Wed Jul 26 14:51:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Selvin Xavier X-Patchwork-Id: 13328218 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60206C07E8A for ; Wed, 26 Jul 2023 15:03:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234622AbjGZPDW (ORCPT ); Wed, 26 Jul 2023 11:03:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234733AbjGZPDM (ORCPT ); Wed, 26 Jul 2023 11:03:12 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AEC5270D for ; Wed, 26 Jul 2023 08:03:03 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6862842a028so4001632b3a.0 for ; Wed, 26 Jul 2023 08:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1690383782; x=1690988582; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pdTPZECglp4d0nVcTh9qAASc/8KdXW05si6oLm1AaL0=; b=Rs+3ufQgdAJ2BQmczJ1kbYrjXHGPRjjHSaSSSLk9baNH8eAnRiSUa9RZV7oQ9UiOor uv3/UULq05JocKK5ZMfgsqkLvbmhQbaCNL6lq4gxpy22/PC5uK2WEqgUn+g4NGU2yG6g ABrr4LExeVDwStVa/zNI9SHMmmTgaBRZnWMtc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690383782; x=1690988582; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pdTPZECglp4d0nVcTh9qAASc/8KdXW05si6oLm1AaL0=; b=gHPuiMdHPfxGFuM768sIhRDAmejFkorYpbYKMScBb02r/ccbBRJiVvJzq/RPj2uyls u/Xd/gUdJYCKitiCTtfP77P81U9zOcYFMOmRfIxCOOurvlX7CtNJUguf764UiSakt+DL zIYtVchjpWG1uBXMwcYD9Etstu4tPM6XNN1AVqO5a8E0LeJZW6as39ifX5XM7VbWbweL 3E3YMpBPn4x/7NWC/wHu0weA52bDIMH2cK4tMlJj2btuOt4joIrZ7ELBxRq773EHZi60 nGD8skR6iwTF0TY2qkbgFjm78RYgYR/8DPwz7WgkbY4mCZXYQXxxVR6bzeUHv4LSYA6r DE6Q== X-Gm-Message-State: ABy/qLY+PDC2DCTEI1DvCiOf55aVrCW3LDTqdcwRrPHnz3xsNQ19CwyE lGMz3QJF8qYq78Qu/OAAlEp7zA== X-Google-Smtp-Source: APBJJlGSN1ZwBWWgWu+H2XmERV+J6Ubu22udCTGlCvnx+6D4YKH73UUvdJigMGKQ7S3WVWs5ZeisIg== X-Received: by 2002:a05:6a20:4285:b0:138:1980:1e59 with SMTP id o5-20020a056a20428500b0013819801e59mr2138997pzj.28.1690383782262; Wed, 26 Jul 2023 08:03:02 -0700 (PDT) Received: from dhcp-10-192-206-197.iig.avagotech.net.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id y4-20020a63ad44000000b0055fd10306a2sm12772846pgo.75.2023.07.26.08.02.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2023 08:03:00 -0700 (PDT) From: Selvin Xavier To: jgg@ziepe.ca, leon@kernel.org Cc: linux-rdma@vger.kernel.org, andrew.gospodarek@broadcom.com, Selvin Xavier Subject: [PATCH for-next 0/4] RDMA/bnxt_re: Stats update Date: Wed, 26 Jul 2023 07:51:17 -0700 Message-Id: <1690383081-15033-1-git-send-email-selvin.xavier@broadcom.com> X-Mailer: git-send-email 2.5.5 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org This series adds some of the missing hw statistics. Also, adds some debug stats maintained by the driver. Please review an apply. Thanks, Selvin Chandramohan Akula (4): bnxt_re: Reorganize the resource stats bnxt_re: Update the hw counters for resource stats bnxt_re: Expose the missing hw counters bnxt_re: Update the debug counters for doorbell pacing drivers/infiniband/hw/bnxt_re/bnxt_re.h | 7 --- drivers/infiniband/hw/bnxt_re/hw_counters.c | 84 +++++++++++++++++++++++++---- drivers/infiniband/hw/bnxt_re/hw_counters.h | 55 +++++++++++++++++++ drivers/infiniband/hw/bnxt_re/ib_verbs.c | 77 +++++++++++++++++++------- drivers/infiniband/hw/bnxt_re/main.c | 17 +++--- drivers/infiniband/hw/bnxt_re/qplib_sp.c | 7 +++ 6 files changed, 203 insertions(+), 44 deletions(-)