From patchwork Wed Dec 5 15:10:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10714365 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 CD4BB18B8 for ; Wed, 5 Dec 2018 15:10:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDC3F2D409 for ; Wed, 5 Dec 2018 15:10:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B205F2D449; Wed, 5 Dec 2018 15:10:25 +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 DAD242D443 for ; Wed, 5 Dec 2018 15:10:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727182AbeLEPKX (ORCPT ); Wed, 5 Dec 2018 10:10:23 -0500 Received: from mga14.intel.com ([192.55.52.115]:16946 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727094AbeLEPKX (ORCPT ); Wed, 5 Dec 2018 10:10:23 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Dec 2018 07:10:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,317,1539673200"; d="scan'208";a="107518292" Received: from scymds01.sc.intel.com ([10.82.194.37]) by orsmga003.jf.intel.com with ESMTP; 05 Dec 2018 07:10:22 -0800 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds01.sc.intel.com with ESMTP id wB5FALO7029855; Wed, 5 Dec 2018 07:10:21 -0800 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id wB5FALp1031854; Wed, 5 Dec 2018 07:10:21 -0800 Subject: [PATCH for-next v2 0/4] IB/hfi1: Clean up and code improvements From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: Harish Chegondi , "Michael J. Ruhl" , Mike Marciniszyn , Kamenee Arumugam , linux-rdma@vger.kernel.org Date: Wed, 05 Dec 2018 07:10:21 -0800 Message-ID: <20181205150358.27132.36815.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, These patches are general code improvement/cleanups. This includes a resubmit of patches that were submitted previously and needed reworked. Changes since v1 ---------------- Added #include lines per Jason and Leon feedback. Fixed a memory leak identified in last minute code inspection --- Harish Chegondi (1): IB/rdmavt: Fracture single lock used for posting and processing RWQEs Kamenee Arumugam (2): IB/hfi1: Move rvt_cq_wc struct into uapi directory IB/hfi1: Move receive work queue struct into uapi directory Michael J. Ruhl (1): IB/{hfi1,qib}: Cleanup open coded sge sizing drivers/infiniband/hw/hfi1/qp.c | 32 ++++ drivers/infiniband/hw/hfi1/verbs.c | 12 -- drivers/infiniband/hw/qib/qib_ud.c | 6 - drivers/infiniband/hw/qib/qib_verbs.c | 18 -- drivers/infiniband/sw/rdmavt/cq.c | 189 +++++++++++++++--------- drivers/infiniband/sw/rdmavt/qp.c | 263 ++++++++++++++++++++++++--------- drivers/infiniband/sw/rdmavt/qp.h | 2 drivers/infiniband/sw/rdmavt/rc.c | 41 +++-- drivers/infiniband/sw/rdmavt/srq.c | 95 ++++++++---- include/rdma/rdmavt_cq.h | 10 + include/rdma/rdmavt_qp.h | 44 +++--- include/uapi/rdma/rvt-abi.h | 59 +++++++ 12 files changed, 522 insertions(+), 249 deletions(-) create mode 100644 include/uapi/rdma/rvt-abi.h -- -Denny