From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1111AA0562; Mon, 30 Mar 2020 09:31:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B704B1BFD4; Mon, 30 Mar 2020 09:31:05 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 98BA42C15 for ; Mon, 30 Mar 2020 09:31:03 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id F26F05C0876; Mon, 30 Mar 2020 03:31:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 30 Mar 2020 03:31:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=Ux0gYRnWLFW+tIbnEkKShBgB/D5m9zMbKGrHJBsiZHo=; b=n+/NkSLXoHgP bD2NnCIqydW/RxZ8bsBWHo8vnrS3MCojgz4W1C1t5QvwbT1JHIih8LCNqqvtbGnQ c0PLm5Qg8fDLIwbj1ce8udaqtzEFQCQiZOJpA1M/n7AHg8i06OF9DvLPC2GfeCG7 rSQNAKcF4ndsS/fi3ZMqIIRizbIZ4do= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Ux0gYRnWLFW+tIbnEkKShBgB/D5m9zMbKGrHJBsiZ Ho=; b=yD4LVdTW9IanarlrBIetC/yMWJgcHfMsk7DuZ98o+qdKddYqY/OCyMBO3 lmEqfescjsyzPXz9wwKE2IZcMLulpzKkVs1veRcMRH15U9EYUMkAPIPaPATTHZbx z0pY2285VQWOiJ/RtEBnPUCbP0VqWqipqSJ6YlNY0x6o6+fSZjhhHKHYQbbE8O4f YQmCemPzPgIxhcgyWFtcMWjhkwyAEEMDXukFpn/s0hRr14VdDx42cxCtv4TvNumL 9YcQO1X9QrQkdFOoyeCwLNVyU5+yKUsJzqM3WGQh9slnxmXLrPGNEd90eaSOkwqA 5NDswZcUvinZYIZzPgAS9U3MOO+qA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeigedguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc fkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A3E22328005A; Mon, 30 Mar 2020 03:31:01 -0400 (EDT) From: Thomas Monjalon To: Dmitry Kozlyuk Cc: dev@dpdk.org, "Dmitry Malloy (MESHCHANINOV)" , Anatoly Burakov , Bruce Richardson , Harini Ramakrishnan , Omar Cardona , Pallavi Kadam , Ranjit Menon Date: Mon, 30 Mar 2020 09:31:00 +0200 Message-ID: <2684853.NACDBdzCOe@xps> In-Reply-To: <20200330041026.784624-7-dmitry.kozliuk@gmail.com> References: <20200330041026.784624-1-dmitry.kozliuk@gmail.com> <20200330041026.784624-7-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [RFC PATCH 6/9] eal: introduce memory management wrappers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 30/03/2020 06:10, Dmitry Kozlyuk: > +/** > + * Lock region in physical memory and prevent it from swapping. > + * > + * @param virt > + * The virtual address. > + * @param size > + * Size of the region. > + * @return > + * 0 on success, negative on error. > + */ > +__rte_experimental > +int rte_mem_lock(const void *virt, size_t size); Please refer to the similar rte_mem_lock_page in the above doxygen comment. You could use the syntax @see.