Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10381801rwp; Thu, 20 Jul 2023 20:50:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlHsURBIiZY1WOIXhfVaTb6gNbC9TpVMA2zzQMha81JIh/mViHxlo+CvZoosFPV/Ljx11Qbu X-Received: by 2002:a17:906:59:b0:993:f744:d235 with SMTP id 25-20020a170906005900b00993f744d235mr781863ejg.6.1689911426176; Thu, 20 Jul 2023 20:50:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689911426; cv=none; d=google.com; s=arc-20160816; b=g5jbJeF6wkAeHd600gp1I1/uVW36ElmrXUSMFywuhpH9fm3CpIP0uMEzt7c0OdSNIw knrqPY9vfn0Z+wNH49254R11Jc0pmWQ/x1D7a/S8ysufR46sIIPBkfDZroy3Gqi/S2tX aIbXKE6HvMj00FH1g7ic74cBsTjr5SsfUue2FRxyz7VWIXmSN/dFld7HmcVBjk6TVqWh mdRF8iJtFoqaDaLB89f9kcsoa8xwYt56n05j0XCRLKNvG3egE6N0ENxaO2UMKdeJV9mE WLWIrW1aA5C0gniTuCHJ+ifezhhgWO2il9y1MLZ5bixSLp7nAL+LZqfiPKva28jCKskZ 0IsQ== 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=XcA58IqRelb24zbYm0ge69ujuIPqvhPdRwWaFjHhi68=; fh=3H3oLXANh5v13tjHxrBYuXblpWbB01kHKe+fQJ1oJi8=; b=ps9Edov27vZomRNg264mJ10tnQlavfsKbtq4k9fdJKJquBk2DuDh1CjGKGFzQl8F/I b+mgBboTlQfAmYS4G6dxyXS7oxUyb228IGEhrFalN5iVI1zbreXxPCfHvYRZg4JmNDEt FCaFIpdtCi7zJy0uoD9q6aD2BdClrdWDfvXfOLU3rJCRZd6PqfM7WVxH3/Wg9kkNZbRS SjotjfuuluxTJzx3xcH6SumQ22rMWqnCM9yLDNUeoIV7IbXKihS5Pw+m+BYLIDowHbmo txXYoxlAJCu2NIaeuWtehZ4g8jz+oZd83opXPv20YHRsNQFVrmwJqkRWHYZwL8O76qCv G00g== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w25-20020aa7dcd9000000b0051e0eba608csi1645302edu.10.2023.07.20.20.50.02; Thu, 20 Jul 2023 20:50:26 -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 S229628AbjGUCyX (ORCPT + 99 others); Thu, 20 Jul 2023 22:54:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjGUCyW (ORCPT ); Thu, 20 Jul 2023 22:54:22 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12A001710; Thu, 20 Jul 2023 19:54:21 -0700 (PDT) Received: from kwepemi500006.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4R6Yx13mLFzLnt6; Fri, 21 Jul 2023 10:51:49 +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.27; Fri, 21 Jul 2023 10:54:18 +0800 From: Junxian Huang To: , CC: , , , Subject: [PATCH v3 for-rc 0/2] RDMA/hns: Improvements for function resource configuration Date: Fri, 21 Jul 2023 10:51:44 +0800 Message-ID: <20230721025146.450831-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: dggems704-chm.china.huawei.com (10.3.19.181) 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,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org Here are 3 patches involving function resource configuration. 1. #1: The first patch supports getting xrcd num from firmware. 2. #2: The second patch removes a redundant configuration in driver, which is now handled by firmware. V2 removes 'inline' before function names in the third patch. V3 removes the third patch in V1 and V2. *** BLURB HERE *** Junxian Huang (1): RDMA/hns: Remove VF extend configuration Luoyouming (1): RDMA/hns: support get xrcd num from firmware drivers/infiniband/hw/hns/hns_roce_device.h | 1 - drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 89 +++------------------ drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 13 +-- 3 files changed, 14 insertions(+), 89 deletions(-) -- 2.30.0