Message ID | 20230712060033.15961-1-huangjunxian6@hisilicon.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp939736vqm; Tue, 11 Jul 2023 23:16:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlFX46Eovx3ma6Onl789t5ETyxltWBHiGM1KhKRKtQ63OXWvSR4rbSFTgHmGoNXUxrfMbLiO X-Received: by 2002:aa7:d302:0:b0:51d:d1af:df15 with SMTP id p2-20020aa7d302000000b0051dd1afdf15mr19017261edq.23.1689142568686; Tue, 11 Jul 2023 23:16:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689142568; cv=none; d=google.com; s=arc-20160816; b=l4v70uEsJkhk6gzZgCHMMhaETIiPgEUFCEF/TInsmpIOrePS++0O7C0kKXEmWlPL76 myccKMt4WMYBUk1rmU5CSX/dy2dosNmpjTLiOUlkATSuJqBlITxey/aD9RSGyzb0sZ9n zXfVUvNWclLZyMaYEo9AjF5RLcxhdGePTjrqGH1dBrRMSuwTkI5QqZbU/oIjt97R+yiA V2tCILzGfOr6fANnUOkU7YD2nLrefIrHP+tazr3ugeGRPMovF6oNbIdxvgsZwluXko/n HHNUWpVce31/Gu6Fq4UREROxdMXA24FMsr5hZR8uV34FZOA1SpTi4uotKpoMraM77e7O mSIQ== 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=o0kBUN9GmwG1hWBEG79bcK6CNrKjVxRXn7hpdQn1NOw=; fh=3H3oLXANh5v13tjHxrBYuXblpWbB01kHKe+fQJ1oJi8=; b=WgD4yzQZ4VWw7eXYG19oMS5xIaVYogG78PyIWtryfWW3wkkuNzhCtt3C8GNwjGAapH ChQRQPjjJEIcFqcyWOryq1uUhjbMg9oAoKxVZlNymzQiu171hS6v5k4JFaNO8uPod0Xz xO/Brl2VsVK4inK/AcIiQc8aNzdwFL2LG1AYjg9SRK+SrFfPPIZHuY2JzozWp/XhkziY UqDZkb215FNsbmhTuEJM89P3Lnk1kKae0X60XKM9BHPAZADHQny1gTj/iA058WOmShRt 3mT3cU5d0qXlbGzBEQaRoSFeoTh1bkJa+4Iev+Du8ZS26PFegJ2dtP98MwILCHCeztHE aj3w== 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 p4-20020aa7d304000000b0051e0e38a950si4176217edq.637.2023.07.11.23.15.44; Tue, 11 Jul 2023 23:16:08 -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 S232013AbjGLGD0 (ORCPT <rfc822;gnulinuxfreebsd@gmail.com> + 99 others); Wed, 12 Jul 2023 02:03:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230329AbjGLGDQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 12 Jul 2023 02:03:16 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49155173F; Tue, 11 Jul 2023 23:03:04 -0700 (PDT) Received: from kwepemi500006.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4R16X00kJKzMqbW; Wed, 12 Jul 2023 13:59:44 +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; Wed, 12 Jul 2023 14:03:00 +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 for-rc 0/3] RDMA/hns: Improvements for function resource configuration Date: Wed, 12 Jul 2023 14:00:30 +0800 Message-ID: <20230712060033.15961-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,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771194358138678599 X-GMAIL-MSGID: 1771194358138678599 |
Series |
RDMA/hns: Improvements for function resource configuration
|
|
Message
Junxian Huang
July 12, 2023, 6 a.m. UTC
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. 3. #3: The third patch adds validity check for function resource and adjusts the invalid ones. Junxian Huang (2): RDMA/hns: Remove VF extend configuration RDMA/hns: Add check and adjust for function resource values 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 | 195 ++++++++++++-------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 50 +++-- 3 files changed, 158 insertions(+), 88 deletions(-) -- 2.30.0