From patchwork Thu Sep 28 06:32:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junxian Huang X-Patchwork-Id: 145784 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3112363vqu; Wed, 27 Sep 2023 23:38:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEqubIgmcVK6b/kpjWK4JKptjLRdDPDjLZtanfPzi8t+h7qB1r6osEcfK1yx/XGnGgalKzg X-Received: by 2002:a05:6a20:1383:b0:149:f82a:2640 with SMTP id hn3-20020a056a20138300b00149f82a2640mr268033pzc.30.1695883090284; Wed, 27 Sep 2023 23:38:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695883090; cv=none; d=google.com; s=arc-20160816; b=wMkca0R8ZVvqSPnuBT1OWBoyUMLTlNLA5oC7xdbnsFLjMEdGkos1khdcehtJP4xWEm XCGljBT7RJJVsPZEAaPMlzHKNrOCwTLn1VFlaL0x+MyGpn8j6+oA6+TwlnZYFkjg2Mtk rah5shCPrw1SgeCruT+iPY2qx4MoxCyJQbMy1SAi71xIEaGJf8ChO1VNAE46FWLyEkgs Pz32sCPKpr2nkZ+L6oqb465m53UYo6AeUoVCtIK1xyS70xBvmQ1tscHKjWjY3RVmZZIy 2JOglkzh1PsOSgXqSqotz37ALNwo6GX5JoLazS29I91E84rh87aptMa/vlwML6BP1OkW thhw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=jIC/lgse2iWl8WdwSYgQs7j0lKLPAsC5YqDfFcjURf4=; fh=KWvyQxL3Ff+3WPSMjlYu+P4255AmcMULAsFol6M1vNI=; b=AjEnX4x29aZmYGjgMrlBfATUpNpJlYwmUPSgetHR63nD4hEnkmhM5zAZ0irQqrXJcR OVXgApS6YUrkG4qPd/YdOeryCZ4HijuzadqH3NodZd+T5nlNimeTDMRO73N1kd6eGWSH 2USQdiq3qZi2FhOiKaKrzxYByTMYyzzOzeSygsiyXzCzPdTpGouA6IJExwF2hUZlRLIB goLWc0zd+vASoyWDvmSW5pBz/MFwMGPHxjWen3zOG2SmGidLkybWqrkgrKoaUlta8N1K Mif/fxGlXH9kIwbr7Nr6kLVXquY9X6yD+kKOn0CcQaa6hPx/fRRd2sJwQNmqtjVPZK2A i3ug== 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:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id n2-20020a170902d2c200b001b9eb349549si15012379plc.630.2023.09.27.23.38.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 23:38:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id E444B81C4AAA; Wed, 27 Sep 2023 23:35:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230449AbjI1GfQ (ORCPT + 20 others); Thu, 28 Sep 2023 02:35:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230284AbjI1GfM (ORCPT ); Thu, 28 Sep 2023 02:35:12 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87EBA99; Wed, 27 Sep 2023 23:35:10 -0700 (PDT) Received: from kwepemi500006.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Rx3ZC4ZRyzrT7c; Thu, 28 Sep 2023 14:32:51 +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:08 +0800 From: Junxian Huang To: , CC: , , , Subject: [PATCH 1/2] rdma: Update uapi headers Date: Thu, 28 Sep 2023 14:32:01 +0800 Message-ID: <20230928063202.1435527-2-huangjunxian6@hisilicon.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20230928063202.1435527-1-huangjunxian6@hisilicon.com> References: <20230928063202.1435527-1-huangjunxian6@hisilicon.com> 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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 27 Sep 2023 23:35:40 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778262307429509259 X-GMAIL-MSGID: 1778262307429509259 Update rdma_netlink.h file upto kernel commit aebf8145e11a ("RDMA/core: Add support to dump SRQ resource in RAW format") Signed-off-by: wenglianfa Signed-off-by: Junxian Huang --- rdma/include/uapi/rdma/rdma_netlink.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rdma/include/uapi/rdma/rdma_netlink.h b/rdma/include/uapi/rdma/rdma_netlink.h index 92c528a0..84f775be 100644 --- a/rdma/include/uapi/rdma/rdma_netlink.h +++ b/rdma/include/uapi/rdma/rdma_netlink.h @@ -299,6 +299,8 @@ enum rdma_nldev_command { RDMA_NLDEV_CMD_STAT_GET_STATUS, + RDMA_NLDEV_CMD_RES_SRQ_GET_RAW, + RDMA_NLDEV_NUM_OPS };