From patchwork Thu Sep 28 06:32:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junxian Huang X-Patchwork-Id: 14629 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3111436vqu; Wed, 27 Sep 2023 23:35:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG52GnmBBBMzm4aSd8ANC6iMx9mQavr9bhC9RdMM4wUTv3xgbD5vdNmeYcUlA1JQGJPZAaQ X-Received: by 2002:a17:903:25ca:b0:1c3:eb95:2d27 with SMTP id jc10-20020a17090325ca00b001c3eb952d27mr312854plb.48.1695882940497; Wed, 27 Sep 2023 23:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695882940; cv=none; d=google.com; s=arc-20160816; b=w6whlqiHCRix1qJCVvlLHWyd2vSNrALap8wgR7HB4coJWJ2h9UcGonNPGGD3g7/1ZP 0br89a5hs0jmmWU7HXtd9lYzqx6e45BoGRqGUS9AiIvaEAco1vwkwL+KRalUHagJfK71 siKGQXx5/YliiBOZ6xWkbTRuqelTRdiCRhEM/VKxBQ1zASV6ikBjZfUkZRG7vHyuoo4F yG+JAekNcqZLy02bt/KNKTH0bxviN5Ifm52tHSvaAEDY3wOOTTG34Ub/s7t/MCn07HwH 6wc6Rz3jENsA5TuO+TK31XKbqYZQWaqp+Rc1gFnX7a49jUFoz/FiBwyw4P6VJhSUSVzV bdyg== 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=2RRSfOx0pOkWYeNOx7H+G/aqTBFIJXmXhDA8TpV9N2o=; fh=KWvyQxL3Ff+3WPSMjlYu+P4255AmcMULAsFol6M1vNI=; b=qz+Akwc43qVOpN9qMo7EJcX7D/xB0u7MfW4YBrxh1COY10BjrTBy+IFFFdWuY9LItc DWkS5GeA3bdjgEu/ZniHvYatOYzXK0IqWsQj4uC1evB1XL/xpQQDVrZKiUlwfiioWvxX RPeCfUBSDJFSu5O7Mxp9H+m8Tut/9y3CTNdFUHeJaXnxrqURDyJOYVg60lFUmqUENgiJ ud6rqWYPIPCQEA1f/pj0o/xP11DlrVV64OlD3l2JW0FTt0JUjQ50hAxOsIr2sUGUX6wa 8jU7mDXpCSFXghoigxNU9kCnhagH6RcRcgwuqlu+BHDIsM/BwgZyRLm1aIZGiodjj0QS F6GQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id b9-20020a170902650900b001c5f71b145dsi12317131plk.162.2023.09.27.23.35.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 23:35:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 6D9308294F79; Wed, 27 Sep 2023 23:35:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230394AbjI1GfN (ORCPT + 20 others); Thu, 28 Sep 2023 02:35:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230345AbjI1GfM (ORCPT ); Thu, 28 Sep 2023 02:35:12 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88D2F9C; Wed, 27 Sep 2023 23:35:10 -0700 (PDT) Received: from kwepemi500006.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Rx3XX4QYyzMlvL; Thu, 28 Sep 2023 14:31:24 +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, 28 Sep 2023 14:35:07 +0800 From: Junxian Huang To: , CC: , , , Subject: [PATCH 0/2] rdma: Support dumping SRQ resource in raw format Date: Thu, 28 Sep 2023 14:32:00 +0800 Message-ID: <20230928063202.1435527-1-huangjunxian6@hisilicon.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-Originating-IP: [10.67.165.2] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemi500006.china.huawei.com (7.221.188.68) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 27 Sep 2023 23:35:36 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778262150389357695 X-GMAIL-MSGID: 1778262150389357695 This patchset adds support to dump SRQ resource in raw format with rdmatool. The corresponding kernel commit is aebf8145e11a ("RDMA/core: Add support to dump SRQ resource in RAW format") Junxian Huang (1): rdma: Update uapi headers wenglianfa (1): rdma: Add support to dump SRQ resource in raw format rdma/include/uapi/rdma/rdma_netlink.h | 2 ++ rdma/res-srq.c | 17 ++++++++++++++++- rdma/res.h | 2 ++ 3 files changed, 20 insertions(+), 1 deletion(-) --- 2.30.0