From patchwork Wed Nov 28 18:21:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10703103 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 E7BA613A4 for ; Wed, 28 Nov 2018 18:21:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9F282DBA0 for ; Wed, 28 Nov 2018 18:21:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CBB7E2DBAC; Wed, 28 Nov 2018 18:21:56 +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 4B4F52DBA0 for ; Wed, 28 Nov 2018 18:21:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725761AbeK2FY1 (ORCPT ); Thu, 29 Nov 2018 00:24:27 -0500 Received: from mga14.intel.com ([192.55.52.115]:44594 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725266AbeK2FY1 (ORCPT ); Thu, 29 Nov 2018 00:24:27 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Nov 2018 10:21:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,291,1539673200"; d="scan'208";a="253978830" Received: from scymds01.sc.intel.com ([10.82.194.37]) by orsmga004.jf.intel.com with ESMTP; 28 Nov 2018 10:21:54 -0800 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds01.sc.intel.com with ESMTP id wASILs9h028391; Wed, 28 Nov 2018 10:21:54 -0800 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id wASILsJO000770; Wed, 28 Nov 2018 10:21:54 -0800 Subject: [PATCH for-next 0/3] IB/hfi1: Start to add in OPFN From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: linux-rdma@vger.kernel.org, Mitko Haralanov , Mike Marciniszyn , Kaike Wan Date: Wed, 28 Nov 2018 10:21:54 -0800 Message-ID: <20181128182034.32618.71330.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, This is the start of some of the prep work for TID RDMA. We have other patches to follow but this seems to stand on it's own so we wanted to post while we are still reworking the other patches. Holiday's and travels, and vacations means things are a bit more delayed, but the rest of the patches are on the way. I think this could go in now to the driver, even though it won't be used yet. The reason is that as other TID patches continue to flow in there is going to be a lot of conflicts and it will make things easier to take them in as we go. --- Kaike Wan (2): IB/hfi1: Unreserve a reserved request when it is completed IB/hfi1: Add OPFN and TID RDMA capability bits Mike Marciniszyn (1): IB/hfi1: Allow the driver to initialize QP priv struct drivers/infiniband/hw/hfi1/Makefile | 1 + drivers/infiniband/hw/hfi1/common.h | 19 ++++++++----- drivers/infiniband/hw/hfi1/rc.c | 2 + drivers/infiniband/hw/hfi1/tid_rdma.c | 48 +++++++++++++++++++++++++++++++++ drivers/infiniband/hw/hfi1/tid_rdma.h | 13 +++++++++ drivers/infiniband/hw/hfi1/verbs.c | 1 + drivers/infiniband/hw/hfi1/verbs.h | 2 + drivers/infiniband/sw/rdmavt/qp.c | 9 ++++++ include/rdma/rdma_vt.h | 7 +++++ include/uapi/rdma/hfi/hfi1_user.h | 6 ++-- 10 files changed, 96 insertions(+), 12 deletions(-) create mode 100644 drivers/infiniband/hw/hfi1/tid_rdma.c create mode 100644 drivers/infiniband/hw/hfi1/tid_rdma.h -- -Denny