From patchwork Sat Sep 22 08:21:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lijun Ou X-Patchwork-Id: 10611321 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 B2395161F for ; Sat, 22 Sep 2018 07:43:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A1AC92B2DC for ; Sat, 22 Sep 2018 07:43:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 94C622B680; Sat, 22 Sep 2018 07:43:41 +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 4022A2B2F1 for ; Sat, 22 Sep 2018 07:43:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726022AbeIVNgP (ORCPT ); Sat, 22 Sep 2018 09:36:15 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:59054 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726039AbeIVNgP (ORCPT ); Sat, 22 Sep 2018 09:36:15 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 56BB7CCC367DB; Sat, 22 Sep 2018 15:43:35 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.399.0; Sat, 22 Sep 2018 15:43:35 +0800 From: Lijun Ou To: , CC: , Subject: [RESEND PATCH V2 for-next 0/4] Two new features support for hip08 Date: Sat, 22 Sep 2018 16:21:04 +0800 Message-ID: <1537604468-52162-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 adds atomic and cm of vlan device function for hip08 as well as optimize some codes for post send verbs. Change from V1: 1. Fix the comment with Leon Romanovsky's reviews Lijun Ou (4): RDMA/hns: Refactor the codes for setting transport opode RDMA/hns: Add atomic support RDMA/hns: Add CM of vlan device support RDMA/hns: Add enable judgement for UD vlan drivers/infiniband/hw/hns/hns_roce_ah.c | 6 +- drivers/infiniband/hw/hns/hns_roce_device.h | 2 + drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 117 ++++++++++++++++------------ drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 12 +++ drivers/infiniband/hw/hns/hns_roce_main.c | 3 +- 5 files changed, 87 insertions(+), 53 deletions(-)