From patchwork Fri Jul 21 02:51:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junxian Huang X-Patchwork-Id: 12372 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp3531251vqt; Thu, 20 Jul 2023 20:35:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlHnPCUDNGSlQ7aPIbXoBo9U2E8kcXkB9j+di+2oJYXLobxeTBSzFybSPBvMPWk88m6IOZcP X-Received: by 2002:ac2:4f05:0:b0:4f8:5696:6bbc with SMTP id k5-20020ac24f05000000b004f856966bbcmr540591lfr.29.1689910510398; Thu, 20 Jul 2023 20:35:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689910510; cv=none; d=google.com; s=arc-20160816; b=GkPvlYfj4jqLYeU/vGz2mNZKuXftvix7PhKooYHr28ddrqgJHTQIVG6HjXwuZiuFT4 ZGY2tfdx+RY/tGQ1xSXzcondxGpubK8RgaMC+wyV8O2Zg/hIXt778Ms32y1gD1dxN0Fn x6RWMuxpFTuQ7RUIhqmSVil5t/jiIewDIUyiJC696CQS+79CDoxKEkW5R344vS293AoO AFsJ2DDCcMZIytZAhUyl9P3vMb05KxuKvW3ilt8MvjWkU9Tvj3h+ILKeVI8vg/rQnGD3 YLPAsjN6vK6DKO+KZs6dfEcfrBRH28tynzL1+4ZqdgzSJcKQTOzM/DRc13ijD3bV+44r SHgg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a24-20020aa7cf18000000b00521d84b39b3si1798491edy.479.2023.07.20.20.34.46; Thu, 20 Jul 2023 20:35:10 -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 S229652AbjGUCyX (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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771999603242568601 X-GMAIL-MSGID: 1771999603242568601 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