From patchwork Wed Feb 6 17:24:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raju Rangoju X-Patchwork-Id: 10799729 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 39AA614E1 for ; Wed, 6 Feb 2019 17:25:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0C272CC2C for ; Wed, 6 Feb 2019 17:25:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A48572CE08; Wed, 6 Feb 2019 17:25:09 +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 2D6122CE13 for ; Wed, 6 Feb 2019 17:25:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726792AbfBFRZI (ORCPT ); Wed, 6 Feb 2019 12:25:08 -0500 Received: from stargate.chelsio.com ([12.32.117.8]:37059 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726750AbfBFRZI (ORCPT ); Wed, 6 Feb 2019 12:25:08 -0500 Received: from localhost (kumbhalgarh.blr.asicdesigners.com [10.193.185.255]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id x16HP0FA004931; Wed, 6 Feb 2019 09:25:01 -0800 From: Raju Rangoju To: jgg@mellanox.com, davem@davemloft.net, linux-rdma@vger.kernel.org Cc: netdev@vger.kernel.org, swise@opengridcomputing.com, rajur@chelsio.com Subject: [PATCH 0/3] iw_cxgb4: add support for completing cached SRQ buffers Date: Wed, 6 Feb 2019 22:54:41 +0530 Message-Id: <20190206172444.21997-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 This series adds support for completing the SRQ buffers that were fetched but could not be completed by hw due to connection aborts, also fixes the potential srqidx leak during the connection abort. This series has both net(cxgb4) and rdma(iw_cxgb4) changes, and I would request this merge via rdma repo. I have made sure this series applies cleanly on both net-next and rdma-for-next and doesn't cause any merge conflicts. Raju Rangoju (3): cxgb4: add tcb flags and tcb rpl struct iw_cxgb4: complete the cached SRQ buffers iw_cxgb4: fix srqidx leak during connection abort drivers/infiniband/hw/cxgb4/cm.c | 166 ++++++++++++++++++++++++++-- drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 3 + drivers/infiniband/hw/cxgb4/t4.h | 1 + drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 8 ++ drivers/net/ethernet/chelsio/cxgb4/t4_tcb.h | 12 ++ 5 files changed, 180 insertions(+), 10 deletions(-)