From patchwork Wed Nov 28 18:35:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10703137 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 A84EA109C for ; Wed, 28 Nov 2018 18:35:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B15E2B6BD for ; Wed, 28 Nov 2018 18:35:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F2B72B736; Wed, 28 Nov 2018 18:35:19 +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 3D76F2B6BD for ; Wed, 28 Nov 2018 18:35:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727037AbeK2Fhw (ORCPT ); Thu, 29 Nov 2018 00:37:52 -0500 Received: from mga05.intel.com ([192.55.52.43]:8883 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725266AbeK2Fhw (ORCPT ); Thu, 29 Nov 2018 00:37:52 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Nov 2018 10:35:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,291,1539673200"; d="scan'208";a="105137174" Received: from scymds02.sc.intel.com ([10.82.195.37]) by FMSMGA003.fm.intel.com with ESMTP; 28 Nov 2018 10:35:18 -0800 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds02.sc.intel.com with ESMTP id wASIZHjS016521; Wed, 28 Nov 2018 10:35:17 -0800 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id wASIZHYS005204; Wed, 28 Nov 2018 10:35:17 -0800 Subject: [PATCH for-next 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, 28 Nov 2018 10:35:17 -0800 Message-ID: <20181128183338.4599.28951.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. --- 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 | 265 ++++++++++++++++++++++++--------- 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 | 57 +++++++ 12 files changed, 521 insertions(+), 250 deletions(-) create mode 100644 include/uapi/rdma/rvt-abi.h -- -Denny