Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3416573pxp; Tue, 8 Mar 2022 14:01:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNvIlPfv4ZeiqeW7GU/fKxOgtnmlR+pNj59bv2/U5Zy5KzbNsfq1+fw7cYpuWVWePHLJNd X-Received: by 2002:a05:6402:374:b0:415:e849:2935 with SMTP id s20-20020a056402037400b00415e8492935mr17944962edw.47.1646776894760; Tue, 08 Mar 2022 14:01:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646776894; cv=none; d=google.com; s=arc-20160816; b=zkq59iUHe0dUj/M7A+Q7m5pOAvbAw8gigGSo9B5K9kQph0isrE0Fb/X6FlSpfE+Bpi KpC4Bwmwr+qXqy0wnmefCQNT/DkSnEPamadjkcxn7Kr4HkfmQeiE+ZmOEfi3lpsGhgDw 6PfW2az726BKF8zBvY7eYf9GCzn272ggbYsDcUFewen78fGYg4ksCyWR29IhL8uMDfsB 1AJ+Lu2h7cV0cwbpcy31ORai2TrR1olFWPVo5ue//LPDQ2+w6ze0/RY1Yoom2/Apkpm0 XLmg4wHwrVbCo/xTwJT/32zVUIyuXZ5WuvThcH1dJVuhzpWxiqQuhOcLIs9P3XHRTLXO OuuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=07h5pxLtI1/yoJHBgDBSyWxgSOTaSGKINDti+18p9R4=; b=c8V8CWjqY/nE0CxXHacXr6IBJAmAYHyWB2pV+QekP2zsH7uWC0gvBm+TXMkHB6XAZJ Q0aLwkP8ZayCx+cnst12mLCVxldJNlicqs2Qs7IIxXT6fgA/tsEvwObLOlD4YWhkztJY DaSHR6OBW5N0rFcdgT2DvptCJSKy2GeYoBSUwDj7pIOh/YJwA/CuIU4M+ad03hMQUDZd YHN2ttkhIfC6Wu0LgPwyZyQwJFrm0j2b76ObvZf2b7XmrMhFl57xhOpP2VW/OMVt3fbB dfnkuOATCRDVZOZ5t85e92Q3cfX3EWGb7aVppJGkMohNgPGjHxnasws4omw/iIh2yaBg gsuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TAajbzMg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sh20-20020a1709076e9400b006ce6b771f09si29301ejc.883.2022.03.08.14.01.03; Tue, 08 Mar 2022 14:01:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TAajbzMg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243401AbiCHOfr (ORCPT + 99 others); Tue, 8 Mar 2022 09:35:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234344AbiCHOfq (ORCPT ); Tue, 8 Mar 2022 09:35:46 -0500 Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 422DD4B86F; Tue, 8 Mar 2022 06:34:49 -0800 (PST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1646750087; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=07h5pxLtI1/yoJHBgDBSyWxgSOTaSGKINDti+18p9R4=; b=TAajbzMgENxIzEZryT/PgNkOdxCqCDybP/Fos4sYNa51onaMgNLeIxt046vIj4/v0NymX/ jq7CxPVFGHc4rv/FnO24LH93rCH6UeOVL1hYveUyg5YIdKo0RB1K/1i690xOde9A7nRH/d 9Y3I63SJAqiF8JH884xjV7XT88rRyTs= From: Yajun Deng To: jgg@nvidia.com, selvin.xavier@broadcom.com, galpress@amazon.com, sleybo@amazon.com, liangwenpeng@huawei.com, liweihang@huawei.com, mustafa.ismail@intel.com, shiraz.saleem@intel.com, leonro@nvidia.com, dennis.dalessandro@cornelisnetworks.com, mike.marciniszyn@cornelisnetworks.com, zyjzyj2000@gmail.com Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Yajun Deng Subject: [PATCH for-next 0/9] RDMA: get rid of create_user_ah Date: Tue, 8 Mar 2022 22:34:28 +0800 Message-Id: <20220308143428.3401170-1-yajun.deng@linux.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The two members create_user_ah and create_ah in struct ib_device_ops are very similar. we can use create_ah for all case. so get rid of create_user_ah. Yajun Deng (9): RDMA/core: get rid of create_user_ah RDMA/bnxt_re: get rid of create_user_ah RDMA/efa: get rid of create_user_ah RDMA/hns: get rid of create_user_ah RDMA/irdma: get rid of create_user_ah RDMA/mlx5: get rid of create_user_ah RDMA/ocrdma: get rid of create_user_ah RDMA/rdmavt: get rid of create_user_ah RDMA/rxe: get rid of create_user_ah drivers/infiniband/core/device.c | 1 - drivers/infiniband/core/uverbs_cmd.c | 2 +- drivers/infiniband/core/verbs.c | 7 ++----- drivers/infiniband/hw/bnxt_re/main.c | 1 - drivers/infiniband/hw/efa/efa_main.c | 2 +- drivers/infiniband/hw/efa/efa_verbs.c | 5 +++++ drivers/infiniband/hw/hns/hns_roce_main.c | 1 - drivers/infiniband/hw/irdma/verbs.c | 1 - drivers/infiniband/hw/mlx5/main.c | 1 - drivers/infiniband/hw/ocrdma/ocrdma_main.c | 1 - drivers/infiniband/sw/rdmavt/vt.c | 1 - drivers/infiniband/sw/rxe/rxe_verbs.c | 1 - include/rdma/ib_verbs.h | 2 -- 13 files changed, 9 insertions(+), 17 deletions(-) -- 2.25.1