From patchwork Mon Jul 30 12:20:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lijun Ou X-Patchwork-Id: 10548961 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 1A37013B8 for ; Mon, 30 Jul 2018 11:49:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0BF1C29AC7 for ; Mon, 30 Jul 2018 11:49:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 003CE29AD8; Mon, 30 Jul 2018 11:49:49 +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 A95D429AC7 for ; Mon, 30 Jul 2018 11:49:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728782AbeG3NYY (ORCPT ); Mon, 30 Jul 2018 09:24:24 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:46760 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728750AbeG3NYX (ORCPT ); Mon, 30 Jul 2018 09:24:23 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A3BCE12B1E06B; Mon, 30 Jul 2018 19:49:42 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.399.0; Mon, 30 Jul 2018 19:49:40 +0800 From: Lijun Ou To: , CC: , Subject: [ PATCH V2 for-next 0/6] The follow up updates for hns Date: Mon, 30 Jul 2018 20:20:24 +0800 Message-ID: <1532953230-79945-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 patch series is revised and resend based on the patch series, the patch series name is ("Updates hns for v4.19"). It mainly incldues some fixes from Jason Gunthorpe's comments. Change from V1: - Some revises according to Jason Gunthorpe's reviews based on the patch series ("Update hns for v4.19") Lijun Ou (6): RDMA/hns: Only assgin the fields of av if IB_QP_AV bit is set RDMA/hns: Optimized the verb of creating ah RDMA/hns: Assign the value for vlan field of qp context RDMA/hns: Modify qp will return errno When qp type is illegal RDMA/hns: Use macro instead of magic number RDMA/hns: Some updates for the fields of address handle drivers/infiniband/hw/hns/hns_roce_ah.c | 22 ++++- drivers/infiniband/hw/hns/hns_roce_device.h | 2 +- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 8 +- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 142 +++++++++++++++++++--------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 7 +- 5 files changed, 130 insertions(+), 51 deletions(-)