From patchwork Mon Mar 18 16:58:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10858133 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 B97A51390 for ; Mon, 18 Mar 2019 16:58:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9627128FAB for ; Mon, 18 Mar 2019 16:58:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 89CC82905A; Mon, 18 Mar 2019 16:58:19 +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 45C8728FAB for ; Mon, 18 Mar 2019 16:58:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726824AbfCRQ6S (ORCPT ); Mon, 18 Mar 2019 12:58:18 -0400 Received: from mga18.intel.com ([134.134.136.126]:28108 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbfCRQ6S (ORCPT ); Mon, 18 Mar 2019 12:58:18 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Mar 2019 09:58:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,494,1544515200"; d="scan'208";a="126449305" Received: from scymds01.sc.intel.com ([10.82.194.37]) by orsmga008.jf.intel.com with ESMTP; 18 Mar 2019 09:58:17 -0700 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds01.sc.intel.com with ESMTP id x2IGwHr0029565; Mon, 18 Mar 2019 09:58:17 -0700 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id x2IGwHuV026654; Mon, 18 Mar 2019 09:58:17 -0700 Subject: [PATCH for-next 0/4] IB/hfi1: Minor code improvements From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: linux-rdma@vger.kernel.org, "Michael J. Ruhl" , Mike Marciniszyn , Kaike Wan Date: Mon, 18 Mar 2019 09:58:17 -0700 Message-ID: <20190318165647.25749.87576.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 are some code improvement patches and fixes for less serious bugs to TID RDMA than we sent for RC. --- Kaike Wan (4): IB/hfi1: Delay the release of destination mr for TID RDMA WRITE DATA IB/hfi1: Add a function to read next expected psn from hardware flow IB/hfi1: Unify the software PSN check for TID RDMA READ/WRITE IB/hfi1: Remove WARN_ON when freeing expected receive groups drivers/infiniband/hw/hfi1/exp_rcv.c | 3 - drivers/infiniband/hw/hfi1/rc.c | 23 ++----- drivers/infiniband/hw/hfi1/rc.h | 8 +++ drivers/infiniband/hw/hfi1/tid_rdma.c | 99 ++++++++++++++++---------------- drivers/infiniband/hw/hfi1/tid_rdma.h | 2 - drivers/infiniband/hw/hfi1/trace_tid.h | 12 +--- 6 files changed, 67 insertions(+), 80 deletions(-) -- -Denny