Message ID | 20230831125139.3593067-1-huangjunxian6@hisilicon.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c792:0:b0:3f2:4152:657d with SMTP id b18csp266227vqu; Thu, 31 Aug 2023 07:07:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0RXm1xx1d7cvuCH48ULG1sAY0/mlY100MTQHHTeua3z3bYDM2TcPqwGipMgczVn/Wo7jI X-Received: by 2002:ac2:5e37:0:b0:4ff:80d4:e132 with SMTP id o23-20020ac25e37000000b004ff80d4e132mr3335750lfg.29.1693490837217; Thu, 31 Aug 2023 07:07:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693490837; cv=none; d=google.com; s=arc-20160816; b=fyDkd1w4sx8XC3hGgWug4STgzqGzqthyObofP7lnvpzazbINh1IWYgrWqLESfLt90z KcKRcrnKPB45qZnX06BQgE0dKyCTQBIr36qWsUXrITR8oWLHYYjvXrzee+jOIA+DX9ic KkzmRInIpUnG8fqUqYdoDrh8D446a12GV2dS++l3m5ovl1LUCGI6uMCXEOelFg4yMhyG HXJTTC5VtlkoTpA9mGyPWnzGnPvaqZnC37NGoE70tQANs7d+RQXAB0PT3cf5975rKzwZ oEurvIY4Yj/CMNpkq/joiI51eROa3r0YO8/ePwvi41fCLsI/yfrhHyUIc9c5cm3pFUSz MmAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=oSFCQpbdLYKloUoaKQnPZlSEMDHBaYT+vY5l5MMdO/k=; fh=veUu+MjJcwXJ3ejriqQxe0SBsO2VSdL7Sh7dQAqXxlM=; b=EUPJ2lncEd37X0kKyrR3u/9dLc+07msCBfM44dILmRsLJfm8KnRk4deL4mINsUmkc0 yfKjYbDiewJkKe9+cLmPDD6FTx/hPMxT79ToHMvDQ88RKCMMGgstQ3uG2weVKOwCm3L5 j0JXuxwrPIytasgcD7gBjDkjpyeEaj5JxjPm0g7AE5QqocJfB3p/5Kuf/ZMCileeZ9z+ 6Gsrj3K5YusHZrV6g1iaCO7I8EBP5YKTg2tfbc8hdcspN4dyiXF6Wmjjy6KqzUhiqrQk DhhN+w8bcGG5TfRuAsZC7/sbe9IKi4BwGyQlWWFETSZ05AhyAAPYfDYvSGNdJwEWrT5Q YQTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d21-20020aa7d5d5000000b0052a1a79597esi1086554eds.655.2023.08.31.07.06.32; Thu, 31 Aug 2023 07:07:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345909AbjHaMyj (ORCPT <rfc822;hyq.kernel@gmail.com> + 99 others); Thu, 31 Aug 2023 08:54:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242207AbjHaMyj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 31 Aug 2023 08:54:39 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19801BC; Thu, 31 Aug 2023 05:54:36 -0700 (PDT) Received: from kwepemi500006.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Rc1H34xqxztRtH; Thu, 31 Aug 2023 20:50:39 +0800 (CST) Received: from localhost.localdomain (10.67.165.2) by kwepemi500006.china.huawei.com (7.221.188.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Thu, 31 Aug 2023 20:54:32 +0800 From: Junxian Huang <huangjunxian6@hisilicon.com> To: <jgg@nvidia.com>, <leon@kernel.org> CC: <linux-rdma@vger.kernel.org>, <linuxarm@huawei.com>, <linux-kernel@vger.kernel.org>, <huangjunxian6@hisilicon.com> Subject: [PATCH v2 for-next 0/2] RDMA/hns: Add more debugging information for rdma-tool Date: Thu, 31 Aug 2023 20:51:37 +0800 Message-ID: <20230831125139.3593067-1-huangjunxian6@hisilicon.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.165.2] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemi500006.china.huawei.com (7.221.188.68) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775753847931434546 X-GMAIL-MSGID: 1775753847931434546 |
Series |
RDMA/hns: Add more debugging information for rdma-tool
|
|
Message
Junxian Huang
Aug. 31, 2023, 12:51 p.m. UTC
1. #1: The first patch supports dumping QP/CQ/MR context entirely in raw data with rdma-tool. 2. #2: The second patch supports query of HW stats with rdma-tool. V2 fixes the static warnings in V1, and drops the SW statistics patch. The SW statistics will be implemented with a new solution and will be sent separately later. Chengchang Tang (2): RDMA/hns: Dump whole QP/CQ/MR resource in raw RDMA/hns: Support hns HW stats drivers/infiniband/hw/hns/hns_roce_device.h | 28 +++++++ drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 51 ++++++++++++ drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 1 + drivers/infiniband/hw/hns/hns_roce_main.c | 79 +++++++++++++++++++ drivers/infiniband/hw/hns/hns_roce_restrack.c | 75 +----------------- 5 files changed, 162 insertions(+), 72 deletions(-) -- 2.30.0