From patchwork Sat Feb 23 12:01:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lijun Ou X-Patchwork-Id: 10827443 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BA0FA180E for ; Sat, 23 Feb 2019 11:19:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A89D72E58F for ; Sat, 23 Feb 2019 11:19:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9CDB82EA25; Sat, 23 Feb 2019 11:19:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7D8792E58F for ; Sat, 23 Feb 2019 11:19:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727257AbfBWLTZ (ORCPT ); Sat, 23 Feb 2019 06:19:25 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:4716 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727805AbfBWLTZ (ORCPT ); Sat, 23 Feb 2019 06:19:25 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id A97CBFDF360E695A6327; Sat, 23 Feb 2019 19:19:22 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.408.0; Sat, 23 Feb 2019 19:19:12 +0800 From: Lijun Ou To: , CC: , , Subject: [PATCH V2 for-next 0/8] Hns updates Date: Sat, 23 Feb 2019 20:01:20 +0800 Message-ID: <1550923288-31997-1-git-send-email-oulijun@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series fix some places that don't match the IB protocol as well as optimize some codes. Change from V1: 1. Drop the unnecessary patch("[PATCH for-next 7/9] RDMA/hns: Prevent the gid overflow") Lijun Ou (8): RDMA/hns: Only assign the relatived fields of psn if IB_QP_SQ_PSN is set RDMA/hns: only assign the fields of rq' psn if IB_QP_RQ_PSN is set RDMA/hns: Update the range of raq_psn field of qp context RDMA/hns: Only assgin some fields if the relatived attr_mask is set RDMA/hns: Hide error print information with roce vf device RDMA/hns: Bugfix for sending with invalidate RDMA/hns: Remove the warning by checkpatch.pl RDMA/hns: Delete unused variable in hns_roce_v2_modify_qp function drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 286 +++++++++++++++-------------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 4 +- 2 files changed, 155 insertions(+), 135 deletions(-)