Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5226066pxv; Tue, 20 Jul 2021 23:49:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOppzUVKUcL7/KPxGY6aKP9xTQnFD5ofn4qx1nkBPAv9n9GQWUB4rcFP+B7NApzpQWyIqP X-Received: by 2002:a92:d391:: with SMTP id o17mr18560045ilo.214.1626850160749; Tue, 20 Jul 2021 23:49:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626850160; cv=none; d=google.com; s=arc-20160816; b=fQC39tA6X9Ej4Ksx6jVQ3l5493M66uWWDboBdNNtDSGmrgcxRmclZL4O+TWxPJkWHZ PwQH95XORZzdKwpDdUek35WqOhAeKB2TVNM6Jaj/gVp42BrYHPua445EQbt9cb/2yj87 D8T9Qy8JIErEhRknH2a2KTKDGgpGDP1y/l6uVWlJ4y4M1gVafjQynSURIfsRiaO2Ai4/ nH7byNdVgTwFTZuMQcrEMJ1eRF0Bgi4FFiTR5wqODDTHoxjds8oSF/QELCbfvWfgSBom MCWHY1uiCj/y4shCKa4EOoR7oDtIpvQ2ITQYe8GVSBsi3H+TtDgFEbqH9spvDVWmJdRp fQag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pyHtN+Xci42zugXAkTf9n9TxewDvmHNLWNT2t946HgU=; b=fTMGMgSMEtn/cadIjAPFToBfH0YAnrDjuln1vLRtJWl8LF7NsE8m8tpAUPguoz8yMj 3eOdDphx+OHlVCDK+HMyVVbBinFZpxDXXrQ/AIGwytFOhSBjWj8zihw8zq/MLWx0MEbg ccC1xA2IVw+hSsL9QmNPpi+3TY/Y2S4us+bBMP/SzAlGO45bOMxUNbwe+Au9Xg4IB6Fx wM7+Kq+HNPikTaL2mosweuhm+gKC0zHpFpR/FBet8RIMNIk6NFe3Bbnz9rqv27lorkWO tYhFyzCwDeo4JqEY6raPahQwo3sQLJHn9VduBIMsKYGPWHr4KhkNVinEAhudHnyxNEXn k7ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=aeVaTNPE; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x12si9304933iom.57.2021.07.20.23.49.09; Tue, 20 Jul 2021 23:49:20 -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=@infradead.org header.s=casper.20170209 header.b=aeVaTNPE; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233863AbhGUGH1 (ORCPT + 99 others); Wed, 21 Jul 2021 02:07:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233349AbhGUGFc (ORCPT ); Wed, 21 Jul 2021 02:05:32 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D600C061574; Tue, 20 Jul 2021 23:46:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=pyHtN+Xci42zugXAkTf9n9TxewDvmHNLWNT2t946HgU=; b=aeVaTNPESISav9LEVCg5sedbVI LpG/b5gousUA1XZBMh5DdRuzJJT1GpqhgkcXVAEensgLNXVOATCLgnUvwEGRXfLDDrrt/a/rgNyTu Jhp4JCFNZB+Cx0ei2l6dVdakCkximDNOdd7NB8FL3as59wJFngTHVpL8lzErfGKelO41AAZZjYGNN uYwWHvaAr1+5jnN6ELJ79TPPxr74ELaB+Jdjrromp48jmWUs1GrdLxsMYWtXkoy+dd2ccxxM9sRN5 b2CRKxwlpKSajpSNHkEHM+/JMElL3dgoI9vgjdKHQkHXymj3VV8onUBeWZ8LdUjccn08aFam+h2Sw XFCWIEFQ==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m65zI-008tO6-Gx; Wed, 21 Jul 2021 06:45:52 +0000 Date: Wed, 21 Jul 2021 07:45:48 +0100 From: Christoph Hellwig To: Leon Romanovsky Cc: Doug Ledford , Jason Gunthorpe , Leon Romanovsky , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Mark Zhang Subject: Re: [PATCH rdma-next 4/7] RDMA/core: Reorganize create QP low-level functions Message-ID: References: <328963df8e30bfc040c846d2c7626becd341f3ec.1626846795.git.leonro@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <328963df8e30bfc040c846d2c7626becd341f3ec.1626846795.git.leonro@nvidia.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +/** > + * ib_create_qp_kernel - Creates a kernel QP associated with the specified Any reason this function is renamed? This seems rather unrelated to the rest of th patch. > + * protection domain. > * @pd: The protection domain associated with the QP. > * @qp_init_attr: A list of initial attributes required to create the > * QP. If QP creation succeeds, then the attributes are updated to > * the actual capabilities of the created QP. > * @caller: caller's build-time module name > - * > - * NOTE: for user qp use ib_create_qp_user with valid udata! > */ Also a kerneldoc comment for a function that is an implementation detail is actively harmful. Please document ib_create_qp instead.