From patchwork Fri Aug 4 01:27:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junxian Huang X-Patchwork-Id: 13341047 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35B6CEB64DD for ; Fri, 4 Aug 2023 01:29:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231978AbjHDB3y (ORCPT ); Thu, 3 Aug 2023 21:29:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbjHDB3x (ORCPT ); Thu, 3 Aug 2023 21:29:53 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D855B423F; Thu, 3 Aug 2023 18:29:52 -0700 (PDT) Received: from kwepemi500006.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RH7Pv50vQzVjrT; Fri, 4 Aug 2023 09:28:03 +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, 4 Aug 2023 09:29:50 +0800 From: Junxian Huang To: , CC: , , , Subject: [PATCH for-rc 0/4] Bugfixes for HNS RoCE Date: Fri, 4 Aug 2023 09:27:07 +0800 Message-ID: <20230804012711.808069-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 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org 1. #1: The first patch fixes port speed error by getting the speed from ethernet instead of using a fixed speed. 2. #2: The second patch fixes an error of using direct wqe for wr-list. 3. #3: The third patch modifies some inaccurate error label names. 4. #4: The last patch modifies the assignment of QPN to improve the affinity between QP cache and CQ cache. Chengchang Tang (2): RDMA/hns: Fix port active speed RDMA/hns: Fix CQ and QP cache affinity Junxian Huang (2): RDMA/hns: Fix incorrect post-send with direct wqe of wr-list RDMA/hns: Fix inaccurate error label name in init instance drivers/infiniband/hw/hns/hns_roce_device.h | 1 + drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 11 ++++---- drivers/infiniband/hw/hns/hns_roce_main.c | 7 ++++-- drivers/infiniband/hw/hns/hns_roce_qp.c | 28 ++++++++++++++++----- 4 files changed, 34 insertions(+), 13 deletions(-) --- 2.30.0