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 5FB3AA054F; Wed, 7 Sep 2022 17:31:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EFAAC40143; Wed, 7 Sep 2022 17:31:13 +0200 (CEST) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mails.dpdk.org (Postfix) with ESMTP id 30F63400D6 for ; Wed, 7 Sep 2022 17:31:13 +0200 (CEST) Received: by mail-pj1-f44.google.com with SMTP id s14-20020a17090a6e4e00b0020057c70943so9465281pjm.1 for ; Wed, 07 Sep 2022 08:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=Fxp3CPUrwAv5gkj8Uw5btiKML/F/hC+YHWUSxRylfyI=; b=1SM0DWflmCeCZKciqdtBeffihjD7rZiCtoRRmOuDvdWcLvAgCYNAMhJL9/GY4+frGN ObM4Rts+8cwT7Q0TIZrPzMZOP70SkXRjH9/wudPB10hWw4KY4QFa4hDa3YqNPbCeMB4g R6ObrLwTWjt3EyNRvOmdwcUdd8bNQc2VayLr99fNwI6rBVPpnYn4Zxt9U8VAvgLIvPKB bur7EX84sMYEk9JXYwCX79aB4IGH7ISz7cbD92+8HVdCp8yhQ3w8iGribuR0RkA/JFdV xtkpaN72AyH8tJOWihc4DZb0s7oYLdyIUAiG03aG+gpOLl6My6eiZhEIQ+ZPhsm9EKgF HXzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=Fxp3CPUrwAv5gkj8Uw5btiKML/F/hC+YHWUSxRylfyI=; b=8KLCVEV+bCdWKbQmJHoj1Jg4FeHKVwevhxeo3zfgWDkVPHNXaLDHltvt1sv3fj46jx rJW/ApnZKBaiy4SUDxwnGTlbeA7hb3GGhV8YAnmm2IDzvOQtNF75gzImm6dbLfPdvwSB +Y+bXQq2jBia/+cv6eFYyiCB2Wqjm278qVboBCTE9J0xKB6Odor+f3SsCexCLM1e2Cub aVwosOS/WtIEAAZwWxhSN5CeqGzL+3aPguZptkQ3GFMI6HjotaUsVhJL3ZAYJ6kD0vWp y7TrbodQRXZ+YAc3jTN5HG2xZjGX0r2JcNpbStx6uanzczSXg8rzAxwOJhO3PztVJ+as qxwg== X-Gm-Message-State: ACgBeo3GIuzubSwtETvj26i/pNj7WCwfWqWy5W6OOTO/OjWwVRFLfXN9 EhoPttIWKcevcO5hpXnf5tq/9A== X-Google-Smtp-Source: AA6agR7j7VtnPrAM6Ibn5vhEJcoYzLUxENlFVDUTqqM1L6mDZSf1PydtWAxaIwiVOxyH1LxAUGEWpg== X-Received: by 2002:a17:902:74c8:b0:176:d229:b5e0 with SMTP id f8-20020a17090274c800b00176d229b5e0mr4358144plt.35.1662564672141; Wed, 07 Sep 2022 08:31:12 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d196-20020a621dcd000000b0053e439c08c1sm3689944pfd.74.2022.09.07.08.31.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 08:31:11 -0700 (PDT) Date: Wed, 7 Sep 2022 08:31:09 -0700 From: Stephen Hemminger To: Shijith Thotton Cc: , , , , , , , , Nicolas Chautru , Ciara Power , "Konstantin Ananyev" , Chengwen Feng , Kevin Laatz , Reshma Pattan , Maxime Coquelin , Chenbo Xia Subject: Re: [PATCH v2 1/5] build: add meson option to configure IOVA mode as VA Message-ID: <20220907083109.1cfe432c@hermes.local> In-Reply-To: <20220907134340.3629224-2-sthotton@marvell.com> References: <20220829151626.2101336-1-sthotton@marvell.com> <20220907134340.3629224-2-sthotton@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Wed, 7 Sep 2022 19:13:36 +0530 Shijith Thotton wrote: > IOVA mode in DPDK is either PA or VA. The new build option iova_as_va > configures the mode to VA at compile time and prevents setting it to PA > at runtime. For now, all drivers which are not always enabled are > disabled with this option. Supported driver can set the flag > pmd_iova_as_va in its build file to enable build. > > mbuf structure holds the physical (PA) and virtual address (VA) of a > buffer. if IOVA mode is set to VA, PA is redundant as it is the same as > VA. So PA field need not be updated and marked invalid if the build is > configured to use only VA. > > Signed-off-by: Shijith Thotton NAK This works ok for use cases where NFV is building local version of DPDK, but meson options dont work for distro vendors. That is why DPDK went away from having so many config options.