Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3458132ybt; Tue, 30 Jun 2020 03:20:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfPH4n5MXOMVUBks9gyRM4djAhNotRVbW0wFwzbauWOWhEDvHHIkCzqUtAJh2aP7trIlgS X-Received: by 2002:a17:906:3c56:: with SMTP id i22mr5820306ejg.12.1593512457939; Tue, 30 Jun 2020 03:20:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593512457; cv=none; d=google.com; s=arc-20160816; b=jE567l0Q0PP+KgqSyafLo0UB92ya7S4odOFqUXzmmgPGAVlVUsST7ym0b3R5/w+L0s jP33vt2IG4bZ9msToncYlKRMHJzBFv4DFfF+PF/z9VRCf17hMBbCYmCbcgzYXoQeyNT+ 1H9/2wGILUcYTRsccoqvKKIgJJryg9EqjIhPRSdMhBS7kRTHxBzSYBCZ/2iWHw0WXjoB 1t2EazxqBZ4W3FeeuqLj+wHBjr25irSjB7gDVeZ4vQtqBTwUPt9o5i0DHnHQuvT4IP/j pbuKYYzcduV7Nh0V9QCu1mbiTQcjeEFSdNF8z/gMN5TJRggckG43J7/2EH+DRNliTHSy 1XLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yfh8UjwPQ/Rd2T0Kx/J3DcdLgQpr4tXNjBdAH/sRLq8=; b=BRNAmys6vfhLI7z+AUx/VkoxjzV94FFsWU7hSAB6gCXpzexWJsQsTHkLOogslEEYgs /M55Jw8K53K4MPZ+2imOLdzSOZG1yElmSDQbeFYmiVVquK78PIV/fp8J6suZO6mrKnXz QJ+FKbyH2MaYQeV/9TJuDbx6GuEIp5pJ6VHSHBw7+P0X+gM4q7hiqEvmMafRNboorNjB rJI2N50PE3AoT4QMPR50iCWHz9Qghucsyh/itPhCWV4YKamKpn+wYnKcefDetivEDJ6G 1a9UEzg9xKghThpLW/OMO7lG9lOfJKIEOCp5QoZW35plj8y6aiuqAqvC7cdemPyT9H3M FjAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=t3k+pYK2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k91si1441936edc.296.2020.06.30.03.20.34; Tue, 30 Jun 2020 03:20:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=t3k+pYK2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732380AbgF3KTD (ORCPT + 99 others); Tue, 30 Jun 2020 06:19:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:48716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732162AbgF3KTC (ORCPT ); Tue, 30 Jun 2020 06:19:02 -0400 Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A7EBB2073E; Tue, 30 Jun 2020 10:19:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593512341; bh=MgqOtwuEJn70fQmOaTWf8tVN+pvLSAlVQJwyozWbKhQ=; h=From:To:Cc:Subject:Date:From; b=t3k+pYK2Boio044H4pTukIKeNYRUEX2Nl4O5Ms1niVopma5YhnUiMjAIIZOX110uH gB7q6nhZtL+Dq5WuY270xbJy+S6WNoeZqq+we3GtuxNkMgnraH1xCL20WuZxjPZ338 D2ADQkJBh9lUpYVLHKSRnqaCHhXPzItN9tgUvvVk= From: Leon Romanovsky To: Doug Ledford , Jason Gunthorpe Cc: Leon Romanovsky , Lijun Ou , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Potnuri Bharat Teja , Weihang Li , "Wei Hu(Xavier)" , Yishai Hadas Subject: [PATCH rdma-next v1 0/4] ib_core allocation patches Date: Tue, 30 Jun 2020 13:18:51 +0300 Message-Id: <20200630101855.368895-1-leon@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leon Romanovsky Changelog v1: * Removed empty "//" comment * Deleted destroy_rwq_ind_table from object tree * One patch was accepted, so rebased on latest for-upstream v0: https://lore.kernel.org/lkml/20200624105422.1452290-1-leon@kernel.org ---------------------------------------------------------------------- Let's continue my allocation work. Leon Romanovsky (4): RDMA/core: Create and destroy counters in the ib_core RDMA: Clean MW allocation and free flows RDMA: Move XRCD to be under ib_core responsibility RDMA/core: Convert RWQ table logic to ib_core allocation scheme drivers/infiniband/core/device.c | 4 + drivers/infiniband/core/uverbs.h | 2 +- drivers/infiniband/core/uverbs_cmd.c | 63 +++++++++------ drivers/infiniband/core/uverbs_main.c | 10 +-- drivers/infiniband/core/uverbs_std_types.c | 19 +++-- .../core/uverbs_std_types_counters.c | 17 ++-- drivers/infiniband/core/verbs.c | 51 +++++------- drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 5 +- drivers/infiniband/hw/cxgb4/mem.c | 35 +++------ drivers/infiniband/hw/cxgb4/provider.c | 4 +- drivers/infiniband/hw/hns/hns_roce_device.h | 5 +- drivers/infiniband/hw/hns/hns_roce_main.c | 2 + drivers/infiniband/hw/hns/hns_roce_mr.c | 31 +++----- drivers/infiniband/hw/mlx4/main.c | 43 +++++------ drivers/infiniband/hw/mlx4/mlx4_ib.h | 17 ++-- drivers/infiniband/hw/mlx4/mr.c | 32 +++----- drivers/infiniband/hw/mlx4/qp.c | 40 +++------- drivers/infiniband/hw/mlx5/main.c | 27 ++++--- drivers/infiniband/hw/mlx5/mlx5_ib.h | 18 ++--- drivers/infiniband/hw/mlx5/mr.c | 42 ++++------ drivers/infiniband/hw/mlx5/qp.c | 77 +++++++------------ include/rdma/ib_verbs.h | 30 ++++---- 22 files changed, 247 insertions(+), 327 deletions(-) -- 2.26.2