From patchwork Mon Sep 10 16:49:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Dalessandro X-Patchwork-Id: 10594533 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 3E6ED14E0 for ; Mon, 10 Sep 2018 16:49:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C357290DF for ; Mon, 10 Sep 2018 16:49:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F7BE290EE; Mon, 10 Sep 2018 16:49:14 +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 8241E290DF for ; Mon, 10 Sep 2018 16:49:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728210AbeIJVn6 (ORCPT ); Mon, 10 Sep 2018 17:43:58 -0400 Received: from mga01.intel.com ([192.55.52.88]:27923 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728123AbeIJVn6 (ORCPT ); Mon, 10 Sep 2018 17:43:58 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2018 09:49:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,356,1531810800"; d="scan'208";a="88770965" Received: from scymds01.sc.intel.com ([10.82.194.37]) by fmsmga001.fm.intel.com with ESMTP; 10 Sep 2018 09:49:00 -0700 Received: from scvm10.sc.intel.com (scvm10.sc.intel.com [10.82.195.27]) by scymds01.sc.intel.com with ESMTP id w8AGn0dI019520; Mon, 10 Sep 2018 09:49:00 -0700 Received: from scvm10.sc.intel.com (localhost [127.0.0.1]) by scvm10.sc.intel.com with ESMTP id w8AGn0vx019010; Mon, 10 Sep 2018 09:49:00 -0700 Subject: [PATCH v2 for-next 0/3] IB/hfi1: Perf updates and clean up From: Dennis Dalessandro To: jgg@ziepe.ca, dledford@redhat.com Cc: Mike Marciniszyn , linux-rdma@vger.kernel.org, Sebastian Sanchez , "Michael J. Ruhl" , Ira Weiny , Kamenee Arumugam Date: Mon, 10 Sep 2018 09:49:00 -0700 Message-ID: <20180910164804.15907.64096.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, Here we have 3 performance improvement patches. One has to do with scheduling vs posting a send from Mike, and the other two have to do with completion queues. Actually the last patch isn't so much performance as a clean up based on review feedback from Jason to a patch from Sebastian a while back. --- Changes since v1: Shuffled the order --- Kamenee Arumugam (1): IB/hfi1: Move rvt_cq_wc struct into uapi directory Michael J. Ruhl (1): IB/{hfi1,qib,rdmavt}: Schedule multi RC/UC packets instead of posting Sebastian Sanchez (1): IB/{hfi1,rdmavt,qib}: Fit completions into single aligned cache-line drivers/infiniband/hw/hfi1/qp.c | 44 +++++- drivers/infiniband/hw/hfi1/rc.c | 2 drivers/infiniband/hw/hfi1/ruc.c | 2 drivers/infiniband/hw/hfi1/uc.c | 2 drivers/infiniband/hw/hfi1/ud.c | 4 - drivers/infiniband/hw/hfi1/verbs.h | 3 drivers/infiniband/hw/qib/qib_qp.c | 17 +- drivers/infiniband/hw/qib/qib_rc.c | 2 drivers/infiniband/hw/qib/qib_ruc.c | 2 drivers/infiniband/hw/qib/qib_uc.c | 2 drivers/infiniband/hw/qib/qib_ud.c | 4 - drivers/infiniband/hw/qib/qib_verbs.h | 3 drivers/infiniband/sw/rdmavt/cq.c | 223 ++++++++++++++++++++----------- drivers/infiniband/sw/rdmavt/qp.c | 20 ++- drivers/infiniband/sw/rdmavt/trace_cq.h | 6 - include/rdma/rdma_vt.h | 10 + include/rdma/rdmavt_cq.h | 37 ++++- include/rdma/rdmavt_qp.h | 2 include/uapi/rdma/rvt-abi.h | 74 ++++++++++ 19 files changed, 330 insertions(+), 129 deletions(-) create mode 100644 include/uapi/rdma/rvt-abi.h -- -Denny