From patchwork Thu Apr 11 14:15:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10896081 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 DEC011708 for ; Thu, 11 Apr 2019 14:17:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BFA9228A0F for ; Thu, 11 Apr 2019 14:17:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B3DB328749; Thu, 11 Apr 2019 14:17:12 +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 5CE7C28A0F for ; Thu, 11 Apr 2019 14:17:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726630AbfDKORL (ORCPT ); Thu, 11 Apr 2019 10:17:11 -0400 Received: from mga18.intel.com ([134.134.136.126]:8567 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726603AbfDKORL (ORCPT ); Thu, 11 Apr 2019 10:17:11 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Apr 2019 07:17:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,337,1549958400"; d="scan'208";a="141918969" Received: from scymds01.sc.intel.com ([10.82.194.37]) by fmsmga007.fm.intel.com with ESMTP; 11 Apr 2019 07:15:34 -0700 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds01.sc.intel.com with ESMTP id x3BEFXSP027099; Thu, 11 Apr 2019 07:15:33 -0700 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id x3BEFXmi021334; Thu, 11 Apr 2019 07:15:33 -0700 Subject: [PATCH for-next 0/9] IB/hfi1, rdmavt: Smattering of fixes and code cleanups/improvments From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: linux-rdma@vger.kernel.org, "Michael J. Ruhl" , Mike Marciniszyn , John Fleck , Kaike Wan Date: Thu, 11 Apr 2019 07:15:33 -0700 Message-ID: <20190411141018.19651.52992.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 This series has some header file and code cleanups. Mostly from Mike but we have a removal of an unneeded flag from John as well. There is also some counter additions for ones that we missed originally and a clean up/improvement to our completion API for qib and hfi1. Kaike also has some comment fix-ups. --- John Fleck (1): IB/hfi1: Remove reference to RHF.VCRCErr Kaike Wan (1): IB/{rdmavt, hfi1): Miscellaneous comment fixes Mike Marciniszyn (7): IB/hfi1: Make opfn.h self sufficient IB/rdmavt: Fix ab/ba include issues IB/rdmavt: Use more efficient allowed_ops IB/{rdmavt,qib,hfi1}: Use new routine to release reference counts IB/rdmavt: Add new completion inline IB/{rdmavt,qib,hfi1}: Convert to new completion API IB/hfi1: Add selected Rcv counters drivers/infiniband/hw/hfi1/chip.c | 3 drivers/infiniband/hw/hfi1/chip.h | 3 drivers/infiniband/hw/hfi1/chip_registers.h | 3 drivers/infiniband/hw/hfi1/common.h | 2 drivers/infiniband/hw/hfi1/driver.c | 5 - drivers/infiniband/hw/hfi1/opfn.h | 6 + drivers/infiniband/hw/hfi1/rc.c | 26 +--- drivers/infiniband/hw/hfi1/ruc.c | 2 drivers/infiniband/hw/hfi1/tid_rdma.c | 2 drivers/infiniband/hw/qib/qib_rc.c | 26 +--- drivers/infiniband/hw/qib/qib_verbs.h | 2 drivers/infiniband/sw/rdmavt/qp.c | 41 +----- drivers/infiniband/sw/rdmavt/qp.h | 2 drivers/infiniband/sw/rdmavt/rc.c | 2 drivers/infiniband/sw/rdmavt/trace_qp.h | 2 drivers/infiniband/sw/rdmavt/trace_rc.h | 2 drivers/infiniband/sw/rdmavt/trace_tx.h | 2 include/rdma/rdma_vt.h | 78 ++--------- include/rdma/rdmavt_qp.h | 198 ++++++++++++++++++++------- 19 files changed, 204 insertions(+), 203 deletions(-) -- -Denny