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 CED6EA0353; Mon, 18 Nov 2019 14:14:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 234F2B62; Mon, 18 Nov 2019 14:14:24 +0100 (CET) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 96B25A69 for ; Mon, 18 Nov 2019 14:14:23 +0100 (CET) Received: by mail-wr1-f66.google.com with SMTP id f2so19417497wrs.11 for ; Mon, 18 Nov 2019 05:14:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=tpJy9ZheyeUIitIb1rZtQmBy2c/nmoLSQNJZ04SpwhM=; b=H0AH8IdBprxdpZ+qquOz5DtW8isYv/sBgLJPM0a6f27x26Ja+tWUyp6FR0AKgUB13b 4HLFgr92RNeHBokswrveUO1psx8p40YsH8NwkIuChDSAe4OxAstWOf6BawnnbxlOj7ZX bu8m2eLvvjPQ94KvjoTWq1OzEfS24g116lmrxXKPx5lS0yvpvC2NwERUh10aAFFdJA9N C9MxCjJHUmeA+s5FVPegENKK67eGSz4qVBKTvHE/DporTnRxRwBACL0oVHP8+jM721SY QcPSC+mQCMuVP5SxsdPzqNABD7SfNTODvtke4HUOshIyW07w4xddkS2GQxhhIuCb39D0 hPMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tpJy9ZheyeUIitIb1rZtQmBy2c/nmoLSQNJZ04SpwhM=; b=NQI2EF0FrDRAhpDchbIeJR4e9amzDO6eDk+Z27F7A53Gzr8LYiQzkTLUbPb7Ky9zkQ exAiCmDUI46LfR6UNyAD/xmDxAjFBb1TuhHHzHm8nTytkzvFifWqWZc9GQv8szFmzGbU fSgmrcgOvwhkfUwvruzuKIyvtk69+aivPw4NpkIZD663JNGNM2TuRu9CZBOWgIu+wtH+ bl3EXgb4Iw3gg+AB7SntWMdB7lCiOrHT1ScVmfRnIkyp6ZiIGraRtb3u8yt+CVpH96Ro S811w5YiAJchgomu2XJnPCTIbrXly3OkkOav6A9ipvl/8qqay51+sw3ahHv+SY9Ixo+C N0Ug== X-Gm-Message-State: APjAAAXrwQ3ee83EsarRK34WGPPvAY0TKsLWojCD9+f5IO3GgRYrogxD dskRtqBxvK1i9lOjR1yQu+/9mlFO8bE= X-Google-Smtp-Source: APXvYqxI/t6NHDleguJyqwgASR9yysDkfVe9b4ZZuG/0EHDyEclrNKcHF5LSCxyna8KlYyLfayozhw== X-Received: by 2002:a5d:6104:: with SMTP id v4mr28751152wrt.36.1574082863200; Mon, 18 Nov 2019 05:14:23 -0800 (PST) Received: from 6wind.com (2a01cb0c0005a600345636f7e65ed1a0.ipv6.abo.wanadoo.fr. [2a01:cb0c:5:a600:3456:36f7:e65e:d1a0]) by smtp.gmail.com with ESMTPSA id l4sm20138875wml.33.2019.11.18.05.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Nov 2019 05:14:22 -0800 (PST) Date: Mon, 18 Nov 2019 14:14:21 +0100 From: Olivier Matz To: Anatoly Burakov Cc: dev@dpdk.org Message-ID: <20191118131421.GD8680@platinum> References: <9ac0f4b480cec8cbe8a9910a68f9d564641c2f41.1573740779.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9ac0f4b480cec8cbe8a9910a68f9d564641c2f41.1573740779.git.anatoly.burakov@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH] mem: clarify documentation for rte_mem_virt2iova 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" On Thu, Nov 14, 2019 at 02:13:06PM +0000, Anatoly Burakov wrote: > It may not be immediately clear that rte_mem_virt2iova does not actually > check the internal memseg table, and will instead either return VA (in > IOVA as VA mode), or will fall back to kernel page table walk (in IOVA > as PA mode). > > Add a note to API documentation indicating the above. > > Signed-off-by: Anatoly Burakov Reviewed-by: Olivier Matz