From patchwork Wed Sep 26 17:44:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10616461 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 D01FB913 for ; Wed, 26 Sep 2018 17:45:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BFAC12B402 for ; Wed, 26 Sep 2018 17:45:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B33BF2B433; Wed, 26 Sep 2018 17:45:03 +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 4CD812B402 for ; Wed, 26 Sep 2018 17:45:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727852AbeIZX7E (ORCPT ); Wed, 26 Sep 2018 19:59:04 -0400 Received: from mga03.intel.com ([134.134.136.65]:54035 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727604AbeIZX7E (ORCPT ); Wed, 26 Sep 2018 19:59:04 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2018 10:45:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,307,1534834800"; d="scan'208";a="93489701" Received: from scymds02.sc.intel.com ([10.82.195.37]) by fmsmga001.fm.intel.com with ESMTP; 26 Sep 2018 10:44:22 -0700 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds02.sc.intel.com with ESMTP id w8QHiKps006407; Wed, 26 Sep 2018 10:44:20 -0700 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id w8QHiKhJ002045; Wed, 26 Sep 2018 10:44:20 -0700 Subject: [PATCH for-next 0/3] IB/hfi1, rdmavt, qib: Continue to move code to rdmavt From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: Mike Marciniszyn , linux-rdma@vger.kernel.org, Brian Welty , Ashutosh Dixit , "Michael J. Ruhl" , Venkata Sandeep Dhanalakota , Harish Chegondi Date: Wed, 26 Sep 2018 10:44:20 -0700 Message-ID: <20180926174032.25369.57319.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, Here are some patches to continue with the deduplication effort between hfi1 and qib. In this series we have moved copy SGE, send completion and loopback handling into rdmavt. --- Brian Welty (1): IB/{hfi1,qib,rdmavt}: Move copy SGE logic into rdmavt Venkata Sandeep Dhanalakota (2): IB/{hfi1,qib,rdmavt}: Move send completion logic to rdmavt IB/{hfi1,qib,rdmavt}: Move ruc_loopback to rdmavt drivers/infiniband/hw/hfi1/init.c | 6 drivers/infiniband/hw/hfi1/rc.c | 24 + drivers/infiniband/hw/hfi1/ruc.c | 372 ------------------ drivers/infiniband/hw/hfi1/uc.c | 14 - drivers/infiniband/hw/hfi1/ud.c | 22 + drivers/infiniband/hw/hfi1/verbs.c | 235 ------------ drivers/infiniband/hw/hfi1/verbs.h | 28 - drivers/infiniband/hw/qib/qib_rc.c | 18 - drivers/infiniband/hw/qib/qib_ruc.c | 342 ----------------- drivers/infiniband/hw/qib/qib_sdma.c | 2 drivers/infiniband/hw/qib/qib_uc.c | 12 - drivers/infiniband/hw/qib/qib_ud.c | 17 - drivers/infiniband/hw/qib/qib_verbs.c | 29 - drivers/infiniband/hw/qib/qib_verbs.h | 6 drivers/infiniband/sw/rdmavt/Kconfig | 2 drivers/infiniband/sw/rdmavt/qp.c | 632 +++++++++++++++++++++++++++++++ drivers/infiniband/sw/rdmavt/qp.h | 2 drivers/infiniband/sw/rdmavt/trace_tx.h | 42 ++ drivers/infiniband/sw/rdmavt/vt.c | 12 + include/rdma/rdma_vt.h | 25 + include/rdma/rdmavt_qp.h | 7 21 files changed, 796 insertions(+), 1053 deletions(-) -- -Denny