Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2969002rwo; Thu, 3 Aug 2023 19:11:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENX0SgPecDnRtmUkOF+SyS02XtHRyjAihYH1xdwxhOKmah17+GsPcGIyqlpxpRhNzPVGsF X-Received: by 2002:a05:6512:31c7:b0:4f9:58bd:9e5c with SMTP id j7-20020a05651231c700b004f958bd9e5cmr329927lfe.3.1691115088843; Thu, 03 Aug 2023 19:11:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691115088; cv=none; d=google.com; s=arc-20160816; b=ZdoyjLMsnK7X+Rs9RublLTgBw2zlRePJPi2DtzZEOLvm3Il8OgA25B09zFuzfGHpz2 M49pzfIfTLwgfLZENDpDols7d70mOqajZDSMZ8m1YAuV7uTleC6CTckqAa1h4pR8L8CS XJLuyYOSBQPs5hResLvRG/lmnQpMnQf1KpYjysHasR5K7iXw88u6ayjJOt1zIHM2HOZG lAz2ldcvOoTyinG4r8a9u4cqBlKK08/X0WT5b58UNMkiogDRRRjs7EqyUbg51D8crOZN 8g4yVbvPH571ZSg8++7DjtbJFisWFntOnyvS6Tqf2NYKOfGv2HBC8JzGW4KFwWhS2wil BJGg== 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=7aDbLrgLyWpl+4l0NAFV2r43kHaIdKiCsP9DkWSjM+s=; fh=3H3oLXANh5v13tjHxrBYuXblpWbB01kHKe+fQJ1oJi8=; b=LWX19t92uNTG34Eg0QwKHGc+hAWDwskcwA289aHg3qXXM598S698YQgiIiL9JJUD2E 7gkEnSFyxLosgIlZ2XPWSCzGNgQ6UZoW1aTgwmg+mlZbu9Z7LSNItRNLlTCospZ9kKZ5 Kv4fWLoqdvrA+nlY560CqFk6zAsN8zBiA169zJY2thWtk2yECeHCsvoLZY5na89DIXGT js3OIRkTgdAv/x0eI/kPneV8G3nP+CHhfAZrYPQMSSBlMSt4B9JFwb9bc3xkLMUezNBK cameszb9AxdzAXp9AY1MajbLiuxGUpWdQSKOCu6IHuwYGQUiZasDZ6l/a8aBY2YuSYPL sAbQ== 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 gq21-20020a170906e25500b00982a5377650si952593ejb.247.2023.08.03.19.11.05; Thu, 03 Aug 2023 19:11:28 -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 S232083AbjHDB3z (ORCPT + 99 others); Thu, 3 Aug 2023 21:29:55 -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 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,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: X-Mailing-List: linux-kernel@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