From patchwork Wed Sep 26 17:26:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10616435 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 D630E913 for ; Wed, 26 Sep 2018 17:26:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C0EE128A99 for ; Wed, 26 Sep 2018 17:26:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B53112B564; Wed, 26 Sep 2018 17:26:35 +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 583A028A99 for ; Wed, 26 Sep 2018 17:26:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726937AbeIZXkc (ORCPT ); Wed, 26 Sep 2018 19:40:32 -0400 Received: from mga14.intel.com ([192.55.52.115]:23402 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbeIZXkc (ORCPT ); Wed, 26 Sep 2018 19:40:32 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2018 10:26:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,307,1534834800"; d="scan'208";a="83456360" Received: from scymds01.sc.intel.com ([10.82.194.37]) by FMSMGA003.fm.intel.com with ESMTP; 26 Sep 2018 10:26:34 -0700 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds01.sc.intel.com with ESMTP id w8QHQXIq019833; Wed, 26 Sep 2018 10:26:33 -0700 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id w8QHQW7x026962; Wed, 26 Sep 2018 10:26:32 -0700 Subject: [PATCH for-next 0/3] IB/hfi1: TID RDMA pre-reqs From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: linux-rdma@vger.kernel.org, Mitko Haralanov , Mike Marciniszyn , Kaike Wan Date: Wed, 26 Sep 2018 10:26:32 -0700 Message-ID: <20180926172105.13912.81683.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, Kaike is working on revamping the patches for TID RDMA. Here is the start of the groundwork. More will follow but wanted to start sending pieces out as they come in. --- Kaike Wan (3): IB/rdmavt: Rename check_send_wqe as setup_wqe IB/hfi1: Prepare resource waits for dual leg IB/hfi1: Add static trace for iowait drivers/infiniband/hw/hfi1/Makefile | 1 drivers/infiniband/hw/hfi1/iowait.c | 136 +++++++++++++++++ drivers/infiniband/hw/hfi1/iowait.h | 233 +++++++++++++++++++---------- drivers/infiniband/hw/hfi1/qp.c | 78 +++++++--- drivers/infiniband/hw/hfi1/qp.h | 31 ++-- drivers/infiniband/hw/hfi1/ruc.c | 10 + drivers/infiniband/hw/hfi1/sdma.c | 52 ++---- drivers/infiniband/hw/hfi1/sdma.h | 8 - drivers/infiniband/hw/hfi1/trace.h | 3 drivers/infiniband/hw/hfi1/trace_iowait.h | 96 ++++++++++++ drivers/infiniband/hw/hfi1/user_sdma.c | 14 +- drivers/infiniband/hw/hfi1/verbs.c | 13 +- drivers/infiniband/hw/hfi1/verbs.h | 8 + drivers/infiniband/hw/hfi1/verbs_txreq.h | 11 - drivers/infiniband/hw/hfi1/vnic_sdma.c | 21 +-- drivers/infiniband/hw/qib/qib_verbs.c | 11 + drivers/infiniband/hw/qib/qib_verbs.h | 6 - drivers/infiniband/sw/rdmavt/qp.c | 28 ++- include/rdma/rdma_vt.h | 17 +- 19 files changed, 567 insertions(+), 210 deletions(-) create mode 100644 drivers/infiniband/hw/hfi1/iowait.c create mode 100644 drivers/infiniband/hw/hfi1/trace_iowait.h -- -Denny