From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 7F916A0032;
	Fri,  1 Oct 2021 18:37:37 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 6D88641174;
	Fri,  1 Oct 2021 18:37:33 +0200 (CEST)
Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com
 [209.85.167.45])
 by mails.dpdk.org (Postfix) with ESMTP id 0B1764067E;
 Fri,  1 Oct 2021 18:37:32 +0200 (CEST)
Received: by mail-lf1-f45.google.com with SMTP id g41so40725666lfv.1;
 Fri, 01 Oct 2021 09:37:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=WhMzWjLUNO/gYPJsCFuHc5tIDDG60uf4usT9aUnChTE=;
 b=oKxVzRWEGeArTj8uk9I7haM2XN+oyrl8wnhaiaNv8/7Zwd9dShcfNsgyIcP+WN97Ts
 9FuIDywxgQFOwqZKQj8FSMnNIIKN2VmKfo1SkEcOGkQ/jOG7nbTNFcYr0BUQ6kdrK76R
 frYGZMlmHkOR7G3OC0nkPY5A6Lw4Vqc/fLuHjKk8AMrpznOd5DaBl1uvNtSvpYjw3Wfm
 NqqL22o2vCq8aAp7ATHXIpRhHdD1NMualHEQNGSewH2T00EBJNA/e/6wu+m6ApH/mDCr
 KgozPOLM4l8S/lX6pnxqv+ulZ9FOHEcG1+CeVaOaYlcoyMQte2Fsw8kHoVmEtCZo4O+U
 BdfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=WhMzWjLUNO/gYPJsCFuHc5tIDDG60uf4usT9aUnChTE=;
 b=5zQRVUNIDu4kYAY7uo9ZYMRjxfXP1oG1cYEHu0Lu1LtiqAZYZpkMx70vCQlaSm4Qq4
 zKmEzBOGTmD70f6+wPqxJ/d0NwXhVyaNaNSV9gidZoazvv2Ft9XWl946O12zOEuhhv9w
 rAZ7K+OeiHwlEYyLpu+DG5e6//WPZIEZ2qd2WlJadajiwXYo28ZGueTnkGwiCU2DdDRu
 1Cyh8Uol7asTvFIW1BryOgO8xiU/nsM1UN9x+guAXgqm/yOpluY+al23bo8f1h+zQUll
 MSLfFnFyu3PDu4HUAO7f4d/MdCdy3KhTslw6mn9KU9ERcu029ja94HB6O73vTAEjLzyB
 2vTg==
X-Gm-Message-State: AOAM5304HB/MVA1XeD3Ltr8TyxQjPfGy1vnd/wB3KfKvBVNcQzzSAwfe
 RNxmFSPa2x0VEGiPP6XVwqv56M0bj2K09A==
X-Google-Smtp-Source: ABdhPJwuSxT8q96k4pUrpVqXIBOCKUsSE3V/l3Xc3335nIE2ldrWhJlKCr3MekQKQO8Bbx1zRFO9CQ==
X-Received: by 2002:a05:651c:54a:: with SMTP id
 q10mr12335609ljp.2.1633106251545; 
 Fri, 01 Oct 2021 09:37:31 -0700 (PDT)
Received: from sovereign.. (broadband-37-110-65-23.ip.moscow.rt.ru.
 [37.110.65.23])
 by smtp.gmail.com with ESMTPSA id b20sm781589lfc.75.2021.10.01.09.37.31
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 01 Oct 2021 09:37:31 -0700 (PDT)
From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
To: dev@dpdk.org
Cc: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>, stable@dpdk.org,
 Narcisa Ana Maria Vasile <navasile@linux.microsoft.com>,
 Dmitry Malloy <dmitrym@microsoft.com>,
 Pallavi Kadam <pallavi.kadam@intel.com>
Date: Fri,  1 Oct 2021 19:37:25 +0300
Message-Id: <20211001163726.78308-2-dmitry.kozliuk@gmail.com>
X-Mailer: git-send-email 2.29.3
In-Reply-To: <20211001163726.78308-1-dmitry.kozliuk@gmail.com>
References: <20211001163726.78308-1-dmitry.kozliuk@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH 1/2] eal/windows: do not install virt2phys header
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

The header was not intended to be a public one.
DPDK users should use `rte_mem_virt2iova()` to translate addresses.
Other virt2phys users should use the header from the driver instead.

Fixes: 2a5d547a4a9b ("eal/windows: implement basic memory management")
Cc: stable@dpdk.org

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
---
 lib/eal/windows/include/meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/eal/windows/include/meson.build b/lib/eal/windows/include/meson.build
index b3534b025f..5fb1962ac7 100644
--- a/lib/eal/windows/include/meson.build
+++ b/lib/eal/windows/include/meson.build
@@ -5,6 +5,5 @@ includes += include_directories('.')
 
 headers += files(
         'rte_os.h',
-        'rte_virt2phys.h',
         'rte_windows.h',
 )
-- 
2.29.3