Message ID | 20231225075330.4116470-1-huangjunxian6@hisilicon.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-10936-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp280542dyb; Sun, 24 Dec 2023 23:57:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFuuJbXQX4lL5kF6agNJX9N162g+Q9e11EtcLFHJaETJeqCnQkRJBSBskmXxTxZhwuNKBRW X-Received: by 2002:a17:907:7671:b0:a23:f53:d0a7 with SMTP id kk17-20020a170907767100b00a230f53d0a7mr1084761ejc.89.1703491061597; Sun, 24 Dec 2023 23:57:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703491061; cv=none; d=google.com; s=arc-20160816; b=rz6ceYHM3Df6/ZOMe5oHqGBGTSKEdBd9oG6ayUFHBvFJR8TvDLoHpI9y6xnveUuCZC NqBxIy07tH4S/AUdSANX+YVJuH+QkO2fpVHL5mdfySZC19CxKz2cI4grc5y76kS3R+94 ZTMlx/Mo2qnaSayzVwGrqfw3X6f7pE0YA6ErLFXYJGZ7fOFrerfs+s/RThlcNZ/mW8us rxJ1gV2zHRJiGFEytmWLcGFVIJTqNl3XcN6tv8kfo+VQDZkQ8vOgtfXMbY5VrmlkR11B fTUxubDgOe/DMzsHSsiFYZHQ2aIeMqeUteqC6GzRIYpWlAEh0G44PNE3BuQYjQsHcHju AB0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=K190gB9py1u1v1awVNrU8OW51sZG3mniAqIb6JvFi5Y=; fh=KWvyQxL3Ff+3WPSMjlYu+P4255AmcMULAsFol6M1vNI=; b=MATYdBNUt1uLOS6RiknzdQEbxovroW4K4HZOf6rWTIui1WoqldQQtZxolPyX10fKAK CV/r5v2PGBX89VcZUd3dLQVaBw4n8Oi4+TdgvEq5Z3PliwpBkmq/ArqTXfKzkEpTO6Rb VV/ct3YnhVPjkmLQOr0SMxvDuUeUhZ47piChqjngyxc1l2BK6Ezu7uHOOnj8T3CR/LTt /8P9B4YJaMsEePtKJnHAN5m+vR4N3HldAQkk4WtHoZ4dUAYh6wpxvKzRFCCSBbRC6uKT t+eExwi7A1RVOKuVpZHBhEomFkLBmCu88WaBy8s/R42fL/U15TpLNjfhSv23r9fMjja8 1UEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-10936-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10936-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f14-20020a170906738e00b00a235869324fsi4481319ejl.1048.2023.12.24.23.57.41 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Dec 2023 23:57:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10936-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-10936-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10936-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4003B1F21C68 for <ouuuleilei@gmail.com>; Mon, 25 Dec 2023 07:57:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 619AC3D63; Mon, 25 Dec 2023 07:57:23 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F05C76FA1; Mon, 25 Dec 2023 07:57:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=hisilicon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hisilicon.com Received: from mail.maildlp.com (unknown [172.19.163.17]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4Sz9FV1Hmbz1R5pL; Mon, 25 Dec 2023 15:55:58 +0800 (CST) Received: from kwepemi500006.china.huawei.com (unknown [7.221.188.68]) by mail.maildlp.com (Postfix) with ESMTPS id 5B1F21A0172; Mon, 25 Dec 2023 15:57:16 +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.35; Mon, 25 Dec 2023 15:57:15 +0800 From: Junxian Huang <huangjunxian6@hisilicon.com> To: <jgg@ziepe.ca>, <leon@kernel.org> CC: <linux-rdma@vger.kernel.org>, <linuxarm@huawei.com>, <linux-kernel@vger.kernel.org>, <huangjunxian6@hisilicon.com> Subject: [PATCH for-next 0/6] RDMA/hns: Improvement for multi-level addressing Date: Mon, 25 Dec 2023 15:53:24 +0800 Message-ID: <20231225075330.4116470-1-huangjunxian6@hisilicon.com> X-Mailer: git-send-email 2.30.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemi500006.china.huawei.com (7.221.188.68) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786239843371628041 X-GMAIL-MSGID: 1786239843371628041 |
Series |
RDMA/hns: Improvement for multi-level addressing
|
|
Message
Junxian Huang
Dec. 25, 2023, 7:53 a.m. UTC
This series optimizes multi-level addressing for hns. Patch #1, #2 and #6 are optimization of multi-level addressing codes. Patch #3 is prepared for the following optimizations. Patch #4 and #5 introduce adaptive pagesize and hopnum to improve HW performance. Chengchang Tang (5): RDMA/hns: Refactor mtr find RDMA/hns: Refactor mtr_init_buf_cfg() RDMA/hns: Alloc MTR memory before alloc_mtt() RDMA/hns: Support flexible pagesize RDMA/hns: Support adaptive PBL hopnum Yunsheng Lin (1): RDMA/hns: Simplify 'struct hns_roce_hem' allocation drivers/infiniband/hw/hns/hns_roce_alloc.c | 6 - drivers/infiniband/hw/hns/hns_roce_cq.c | 11 +- drivers/infiniband/hw/hns/hns_roce_device.h | 16 +- drivers/infiniband/hw/hns/hns_roce_hem.c | 95 +---- drivers/infiniband/hw/hns/hns_roce_hem.h | 56 +-- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 111 +++--- drivers/infiniband/hw/hns/hns_roce_mr.c | 386 +++++++++++++++----- 7 files changed, 386 insertions(+), 295 deletions(-) -- 2.30.0