From patchwork Thu Jan 24 03:29:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10778263 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 0201F13BF for ; Thu, 24 Jan 2019 03:29:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E54772D52A for ; Thu, 24 Jan 2019 03:29:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8C1C2D5F1; Thu, 24 Jan 2019 03:29:33 +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 62A8A2D52A for ; Thu, 24 Jan 2019 03:29:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726324AbfAXD3c (ORCPT ); Wed, 23 Jan 2019 22:29:32 -0500 Received: from mga07.intel.com ([134.134.136.100]:58541 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726309AbfAXD3c (ORCPT ); Wed, 23 Jan 2019 22:29:32 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jan 2019 19:29:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,514,1539673200"; d="scan'208";a="293930739" Received: from scymds02.sc.intel.com ([10.82.195.37]) by orsmga005.jf.intel.com with ESMTP; 23 Jan 2019 19:29:31 -0800 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds02.sc.intel.com with ESMTP id x0O3TV0U017165; Wed, 23 Jan 2019 19:29:31 -0800 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id x0O3TU7r006871; Wed, 23 Jan 2019 19:29:31 -0800 Subject: [PATCH for-next 00/17] IB/hfi1: Add TID RDMA Read 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 19:29:30 -0800 Message-ID: <20190124032400.3371.74628.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 This is the series for adding TID RDMA read. Kaike put in a lot of effort into making this more consumable for review so special thanks to him. Allocating resources and tracing are separated out followed by patches which build up the read request. Then we have the patches to receive incoming TID RDMA read requests and handle integration with the RC protocol. See the cover letter of the original posting for more of a detailed overview of TID. https://www.spinics.net/lists/linux-rdma/msg66611.html --- Kaike Wan (17): IB/hfi: Move RC functions into a header file IB/hfi1: TID RDMA flow allocation IB/hfi1: TID RDMA RcvArray programming and TID allocation IB/hfi1: Add the counter n_tidwait IB/hfi1: Add static trace for flow and TID management functions IB/hfi1: Add functions to build TID RDMA READ request IB/hfi1: Set PbcInsertHcrc for TID RDMA packets IB/hfi1: Add functions to receive TID RDMA READ request IB/hfi1: Add a function to build TID RDMA READ response IB/hfi1: Add functions to receive TID RDMA READ response IB/hfi1: Add TID RDMA handlers IB/hfi1: Add functions for restarting TID RDMA READ request IB/hfi1: Increment the retry timeout value for TID RDMA READ request IB/hfi1: Integrate TID RDMA READ protocol into RC protocol IB/hfi1: Add interlock between a TID RDMA request and other requests IB/hfi1: Enable TID RDMA READ protocol IB/hfi1: Add static trace for TID RDMA READ protocol drivers/infiniband/hw/hfi1/chip.c | 2 drivers/infiniband/hw/hfi1/chip.h | 1 drivers/infiniband/hw/hfi1/common.h | 4 drivers/infiniband/hw/hfi1/driver.c | 58 - drivers/infiniband/hw/hfi1/hfi.h | 19 drivers/infiniband/hw/hfi1/init.c | 10 drivers/infiniband/hw/hfi1/qp.c | 5 drivers/infiniband/hw/hfi1/qp.h | 2 drivers/infiniband/hw/hfi1/rc.c | 542 +++++- drivers/infiniband/hw/hfi1/rc.h | 50 + drivers/infiniband/hw/hfi1/tid_rdma.c | 2714 +++++++++++++++++++++++++++++ drivers/infiniband/hw/hfi1/tid_rdma.h | 196 ++ drivers/infiniband/hw/hfi1/trace.c | 52 + drivers/infiniband/hw/hfi1/trace_ibhdrs.h | 2 drivers/infiniband/hw/hfi1/trace_rc.h | 48 + drivers/infiniband/hw/hfi1/trace_tid.h | 758 ++++++++ drivers/infiniband/hw/hfi1/trace_tx.h | 12 drivers/infiniband/hw/hfi1/user_exp_rcv.h | 1 drivers/infiniband/hw/hfi1/verbs.c | 176 ++ drivers/infiniband/hw/hfi1/verbs.h | 61 + drivers/infiniband/hw/qib/qib_rc.c | 7 drivers/infiniband/sw/rdmavt/qp.c | 13 drivers/infiniband/sw/rdmavt/rc.c | 13 include/rdma/ib_hdrs.h | 9 include/rdma/rdma_vt.h | 12 include/rdma/rdmavt_qp.h | 18 include/rdma/tid_rdma_defs.h | 52 + 27 files changed, 4664 insertions(+), 173 deletions(-) create mode 100644 drivers/infiniband/hw/hfi1/rc.h create mode 100644 include/rdma/tid_rdma_defs.h -- -Denny