From patchwork Wed Sep 26 17:02:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10616383 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 D4A0A14BD for ; Wed, 26 Sep 2018 17:05:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCC362B53F for ; Wed, 26 Sep 2018 17:05:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0D772B562; Wed, 26 Sep 2018 17:05:00 +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 684B42B53F for ; Wed, 26 Sep 2018 17:05:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728511AbeIZXSw (ORCPT ); Wed, 26 Sep 2018 19:18:52 -0400 Received: from mga04.intel.com ([192.55.52.120]:47091 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727502AbeIZXSw (ORCPT ); Wed, 26 Sep 2018 19:18:52 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2018 10:04:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,307,1534834800"; d="scan'208";a="95020047" Received: from scymds02.sc.intel.com ([10.82.195.37]) by orsmga002.jf.intel.com with ESMTP; 26 Sep 2018 10:02:02 -0700 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds02.sc.intel.com with ESMTP id w8QH224P019853; Wed, 26 Sep 2018 10:02:02 -0700 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id w8QH21Ms001958; Wed, 26 Sep 2018 10:02:01 -0700 Subject: [PATCH for-next 0/3] IB/hfi1,rdmavt,sa: Code cleanups From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: Mike Marciniszyn , linux-rdma@vger.kernel.org, Alex Estrin , Kaike Wan , "Michael J. Ruhl" , Kamenee Arumugam Date: Wed, 26 Sep 2018 10:02:01 -0700 Message-ID: <20180926165211.11706.93978.stgit@scvm10.sc.intel.com> User-Agent: StGit/0.17.1-18-g2e886-dirty MIME-Version: 1.0 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 Hi Doug and Jason, The first patch here is one that we submitted previously that hand a goof up in the license text. This version just deletes the license text in favor of using only the SPDX identifiers. I'll try and get the other files in the driver cleaned up soon as well. The other two are clean ups as well. One moves some stuff in hfi1 to a more appropriate header the other from Alex cleans up some return logic in the SA code. --- Alex Estrin (1): IB/sa: simplify return code logic for ib_nl_send_msg() Kamenee Arumugam (1): IB/hfi1: Move rvt_cq_wc struct into uapi directory Michael J. Ruhl (1): IB/hfi1: Move UnsupportedVL bits definitions to the correct header drivers/infiniband/core/sa_query.c | 13 -- drivers/infiniband/hw/hfi1/chip_registers.h | 4 + drivers/infiniband/hw/hfi1/pio.c | 8 - drivers/infiniband/hw/hfi1/qp.c | 32 ++++- drivers/infiniband/sw/rdmavt/cq.c | 190 +++++++++++++++++---------- include/rdma/rdmavt_cq.h | 10 + include/uapi/rdma/rvt-abi.h | 34 +++++ 7 files changed, 196 insertions(+), 95 deletions(-) create mode 100644 include/uapi/rdma/rvt-abi.h -- -Denny