From patchwork Thu Jan 24 05:48:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10778331 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 894331390 for ; Thu, 24 Jan 2019 05:48:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76D682CDF6 for ; Thu, 24 Jan 2019 05:48:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69AF12CF7D; Thu, 24 Jan 2019 05:48:17 +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 D2A4D2CDF6 for ; Thu, 24 Jan 2019 05:48:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726014AbfAXFsQ (ORCPT ); Thu, 24 Jan 2019 00:48:16 -0500 Received: from mga12.intel.com ([192.55.52.136]:55012 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725290AbfAXFsQ (ORCPT ); Thu, 24 Jan 2019 00:48:16 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jan 2019 21:48:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,514,1539673200"; d="scan'208";a="137290815" Received: from scymds02.sc.intel.com ([10.82.195.37]) by fmsmga002.fm.intel.com with ESMTP; 23 Jan 2019 21:48:15 -0800 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds02.sc.intel.com with ESMTP id x0O5mEfF028530; Wed, 23 Jan 2019 21:48:14 -0800 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id x0O5mAM8013024; Wed, 23 Jan 2019 21:48:10 -0800 Subject: [PATCH for-next 00/23] IB/hfi1: Add TID RDMA Write From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: Ashutosh Dixit , linux-rdma@vger.kernel.org, Mitko Haralanov , Mike Marciniszyn , Kaike Wan Date: Wed, 23 Jan 2019 21:48:10 -0800 Message-ID: <20190124054519.10736.29756.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 Here is the final set of patches for TID RDMA. Again this is code which was previously submitted but re-organized so as to be easier to review. Similar to how the READ series was organized the patches to build, receive, allocate resources etc are broken out. For details on TID RDMA as a whole again refer to the original cover letter. https://www.spinics.net/lists/linux-rdma/msg66611.html --- Kaike Wan (23): IB/hfi1: Build TID RDMA WRITE request IB/hfi1: Allow for extra entries in QP's s_ack_queue IB/hfi1: Add an s_acked_ack_queue pointer IB/hfi1: Add functions to receive TID RDMA WRITE request IB/hfi1: Add a function to build TID RDMA WRITE response IB/hfi1: Add TID resource timer IB/hfi1: Add a function to receive TID RDMA WRITE response IB/hfi1: Add a function to build TID RDMA WRITE DATA packet IB/hfi1: Add a function to receive TID RDMA WRITE DATA packet IB/hfi1: Add a function to build TID RDMA ACK packet IB/hfi1: Add a function to receive TID RDMA ACK packet IB/hfi1: Add TID RDMA retry timer IB/hfi1: Add a function to build TID RDMA RESYNC packet IB/hfi1: Add a function to receive TID RDMA RESYNC packet IB/hfi1: Resend the TID RDMA WRITE DATA packets IB/hfi1: Add the TID second leg send packet builder IB/hfi1: Add the TID second leg ACK packet builder IB/hfi1: Add the dual leg code IB/hfi1: Add TID RDMA WRITE functionality into RDMA verbs IB/hfi1: Add interlock between TID RDMA WRITE and other requests IB/hfi1: Enable TID RDMA WRITE protocol IB/hfi1: Add static trace for TID RDMA WRITE protocol IB/hfi1: Prioritize the sending of ACK packets drivers/infiniband/hw/hfi1/init.c | 1 drivers/infiniband/hw/hfi1/iowait.c | 34 drivers/infiniband/hw/hfi1/iowait.h | 99 + drivers/infiniband/hw/hfi1/opfn.c | 5 drivers/infiniband/hw/hfi1/pio.c | 18 drivers/infiniband/hw/hfi1/qp.c | 57 + drivers/infiniband/hw/hfi1/qp.h | 5 drivers/infiniband/hw/hfi1/rc.c | 542 ++++++ drivers/infiniband/hw/hfi1/rc.h | 1 drivers/infiniband/hw/hfi1/ruc.c | 32 drivers/infiniband/hw/hfi1/sdma.c | 24 drivers/infiniband/hw/hfi1/sdma_txreq.h | 1 drivers/infiniband/hw/hfi1/tid_rdma.c | 2504 +++++++++++++++++++++++++++++ drivers/infiniband/hw/hfi1/tid_rdma.h | 88 + drivers/infiniband/hw/hfi1/trace.c | 66 + drivers/infiniband/hw/hfi1/trace_ibhdrs.h | 6 drivers/infiniband/hw/hfi1/trace_tid.h | 532 ++++++ drivers/infiniband/hw/hfi1/trace_tx.h | 6 drivers/infiniband/hw/hfi1/user_sdma.c | 9 drivers/infiniband/hw/hfi1/verbs.c | 20 drivers/infiniband/hw/hfi1/verbs.h | 35 drivers/infiniband/hw/hfi1/verbs_txreq.h | 1 drivers/infiniband/hw/hfi1/vnic_sdma.c | 6 drivers/infiniband/sw/rdmavt/qp.c | 1 include/rdma/ib_hdrs.h | 5 include/rdma/rdmavt_qp.h | 2 include/rdma/tid_rdma_defs.h | 56 + 27 files changed, 4025 insertions(+), 131 deletions(-) -- -Denny