From patchwork Wed Jul 25 15:52:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raju Rangoju X-Patchwork-Id: 10544237 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 E8DA4139A for ; Wed, 25 Jul 2018 15:52:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9D6C2A62C for ; Wed, 25 Jul 2018 15:52:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7F022A58E; Wed, 25 Jul 2018 15:52:35 +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 66E932A62C for ; Wed, 25 Jul 2018 15:52:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728568AbeGYREt (ORCPT ); Wed, 25 Jul 2018 13:04:49 -0400 Received: from stargate.chelsio.com ([12.32.117.8]:24859 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728341AbeGYREt (ORCPT ); Wed, 25 Jul 2018 13:04:49 -0400 Received: from localhost (kumbhalgarh.blr.asicdesigners.com [10.193.185.255]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id w6PFqRwF016083; Wed, 25 Jul 2018 08:52:28 -0700 From: Raju Rangoju To: jgg@mellanox.com, linux-rdma@vger.kernel.org Cc: swise@opengridcomputing.com, rajur@chelsio.com Subject: [PATCH v2 for-next 0/2] Add SRQ support for Chelsio adapters Date: Wed, 25 Jul 2018 21:22:12 +0530 Message-Id: <20180725155214.14746-1-rajur@chelsio.com> X-Mailer: git-send-email 2.13.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 Shared Receive Queues (SRQ) holds a pool of receive buffers that is shared among all the QPs that are associated with this SRQ. Use of SRQ reduces the memory foot print of RDMA applications. This patch series adds the code changes to enable SRQ support for Chelsio adapters. Changes since v1: - Rebased to latest RDMA for-next. - Improved the commit messages at Jason's request. Raju Rangoju (2): rdma/cxgb4: Add support for srq functions & structs rdma/cxgb4: Add support for kernel mode SRQ's drivers/infiniband/hw/cxgb4/cm.c | 42 +- drivers/infiniband/hw/cxgb4/cq.c | 142 +++++- drivers/infiniband/hw/cxgb4/device.c | 19 +- drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 41 +- drivers/infiniband/hw/cxgb4/provider.c | 12 +- drivers/infiniband/hw/cxgb4/qp.c | 818 +++++++++++++++++++++++++----- drivers/infiniband/hw/cxgb4/resource.c | 51 +- drivers/infiniband/hw/cxgb4/t4.h | 126 ++++- drivers/infiniband/hw/cxgb4/t4fw_ri_api.h | 19 + include/uapi/rdma/cxgb4-abi.h | 17 + 10 files changed, 1119 insertions(+), 168 deletions(-)