From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D5DADA0546; Wed, 7 Apr 2021 08:50:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D19614100C; Wed, 7 Apr 2021 08:49:59 +0200 (CEST) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id 750414067C for ; Tue, 6 Apr 2021 12:40:34 +0200 (CEST) Received: by mail-pg1-f174.google.com with SMTP id d10so5195211pgf.12 for ; Tue, 06 Apr 2021 03:40:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WxZW07Rv7cAfLg1jIWmXG4nIatMrFtoymJOqRshcG7o=; b=HKb2KwU2nPvo+i9NhC3HW+z4UdJfm3b+s4kIPTUY1EU/S5QQ8DnYNmEjeLQMQcEGtB aeF78viToyvCr0dyg2+jcyDHp0+vnsS18eShGX9MjOvlfhhbVYVXsD3+UwEEwrHsd+W1 bFC9Tvb6+ywg28t27RtQFwtXutmpMlYFKZ1fYMu2sL1DurFBrVDMZ7I29vhwusFeDAaH 04kMWpvLSm4O39qwLJTNscoYu5Jlhp45YwVUr/S2Q9FR+JWIzI8cqxafbRyqP/ZTnxSv N3XNTPSbJgJc/KmRQlOqrm6PGZI+erc5LSbV40RiaS+CCvFYhb+ywCv6PhJujWwjngWT BlMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WxZW07Rv7cAfLg1jIWmXG4nIatMrFtoymJOqRshcG7o=; b=hbB/+P0TnCErt2jWa9td70aa+hp86LS5xOuDrZEjuJp9ohuGl+Ji830gMpjCt893Ac VLsgID6Ea9D7kVEMDwNfi3VGPcdB9GLcjNwhVPhQbtHw+lgPEHR6DYUFOug/EbFlq0vF aowmIO4fzwOJvy0t3SPDdziYE4gwdJQx+mx+fE5BwdQ8d5IPy7/ryDpDNiup/khmha/d anYsyfhYxhm5mDBxG+nwTAzC7kuM50sOGbvOo4KMsWVDTEYaRbj5074VXHkbopyyHay2 i3HJYkKzsE7x7ixpIrIKehbUC8DvmuPvvajUvC7v9TQASVbGig9gVpE2gkrxSr9LNQXd 9hCA== X-Gm-Message-State: AOAM531kMG3F5lJCjF7vX8rbJ+fpRNfwQ5se1NWn3UF3GOVum4fblZQO yizK8inp6vUG0PtHcYPmuyWBZcDLcKnITr8q8X0= X-Google-Smtp-Source: ABdhPJyV+GUkNqCOYWKsoJn43AcRKQI2ZQSuuTcFIUSiP8hf3Z9W/IBGWWrJQ3+IHjiDSjNIdeU1adD+0LjdvuWRVzY= X-Received: by 2002:a05:6a00:2389:b029:21a:d3b4:e5 with SMTP id f9-20020a056a002389b029021ad3b400e5mr27692635pfc.39.1617705633452; Tue, 06 Apr 2021 03:40:33 -0700 (PDT) MIME-Version: 1.0 References: <20200420110953.959884-1-fengli@smartx.com> <20200420160705.1652aeae@Sovereign> In-Reply-To: From: Feng Li Date: Tue, 6 Apr 2021 18:40:07 +0800 Message-ID: To: "Burakov, Anatoly" Cc: David Marchand , Li Feng , Dmitry Kozlyuk , Bruce Richardson , dev , Kyle Zhang , Yang Fan Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Wed, 07 Apr 2021 08:49:57 +0200 Subject: Re: [dpdk-dev] [PATCH] librte_eal: add APIs to speedup virt2iova/phys X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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, Apr 1, 2021 at 6:39 PM Burakov, Anatoly wrote: > > On 25-Mar-21 1:32 PM, David Marchand wrote: > > Hello, > > > > On Mon, Apr 20, 2020 at 4:13 PM Li Feng wrote: > >> > >> Cool, thank you, Anatoly and Kozlyuk. > >> > >> I haven't found how Windows implements the rte_mem_virt2phy. > >> > >> Using an opaque structure pointer as the first argument is a good idea. > > > > I pinged about this patch status 6 months ago but got no reply. > > Trying again in public. > > > > From the thread, I understand that at best it would have to be done differently. > > > > I would agree with the latter. Like i said in my original response, the > fd-less API's are already on the very of what's acceptable and in the > perfect world we wouldn't have them in the first place, and i don't like > the fact that they exist and would wholly discourage their use, mainly > because of very confusing semantics of real physical address vs. DPDK's > IOVA vs. user IOVA, and potential for errors due to trying to resolve an > IOVA address of something that doesn't even have it. > > Given the above, I certainly don't like the idea of building on top of > these API's. Got it. Let's drop it. > > -- > Thanks, > Anatoly