From patchwork Fri Oct 1 16:37:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Kozlyuk X-Patchwork-Id: 100325 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.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 To: dev@dpdk.org Cc: Dmitry Kozlyuk , stable@dpdk.org, Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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', ) From patchwork Fri Oct 1 16:37:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Kozlyuk X-Patchwork-Id: 100326 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 96CDAA0032; Fri, 1 Oct 2021 18:37:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9131B411BF; Fri, 1 Oct 2021 18:37:34 +0200 (CEST) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) by mails.dpdk.org (Postfix) with ESMTP id C7B4C41166 for ; Fri, 1 Oct 2021 18:37:32 +0200 (CEST) Received: by mail-lf1-f44.google.com with SMTP id u18so41255865lfd.12 for ; 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=0jKSkvgzLfcUPR7GZI6zIZ4/OSYOeYO3rDwMfNkiTdU=; b=LgTUDK5/TSucBx4sWJJfiRCKWLQZ7C0KZjlTtIeITfHKD+Z9m68wk4FBrHQQ3Dkbxe /lqDfqj3GzW+0tJBSg0r5aTDfg6nqWstZV5rCCRmDefZWx2S0vWmhoBshcKVqWUOrnRZ 3MPBd6kYJG3rvd9Hnb61IsvFysOROemuVAjgj6EvHOHFFIo01m/sm/MJDBUupcluunGH X1P4r7gmGgZqHqIRFg6XF5FodGYcgELIP6DB9xQiZ6oHafdPToQxGYo6KnbeTVTN3xaF YFg/0AgpzNYPn9NVVAvhoNPo8oqOo4+J7g3Cj2xCU/8Xkm1sRHcEpLDA1h8aam3p8SRO 9daw== 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=0jKSkvgzLfcUPR7GZI6zIZ4/OSYOeYO3rDwMfNkiTdU=; b=g6Dj6m8DZssSRZ70GFmiqC0S6WvIO5VuGl94d6FTylphogUtvdvYpf4c/W1MtogGku rXP8mL6YJBYUegREW5bPh8pRH7GdFokwKXvGXA64OxDGgGv9YsV8B9812ry8Uw972N6o qcgz5gvGxAPfwtqtZnQHj3rEltuc4HlnaB9Fxdewvko1jfn47fy4Mv+VvHP65KMF6H/4 m8/d5ITEFZoV17UNob0rogn9nE8InRW0PMb3zTpZQxKmnmgtaAYwnRzzEebOE+Parr3y aAop9Seino8rxqr0MBMQwcP0sVgwHj/Kdw9bfChrm1ijpphu2amxVbLEvFzxvBeFNIEQ cIWA== X-Gm-Message-State: AOAM5339ew0RTlZfs+qT8kBplCkmV6xRbFUm5ybkk6l/zwWErOvgnzuP AR3gikGlKPNm8d8Szrn2xXukg+jX18xtjA== X-Google-Smtp-Source: ABdhPJzGQLRQy8hfrUQaTNqzC4FmpIkXRsGflzUz2GzxlwIIlkd9ZJt8HSJQ2C9ZpI3S6VM2TH7ajw== X-Received: by 2002:a2e:1302:: with SMTP id 2mr13358526ljt.280.1633106252215; Fri, 01 Oct 2021 09:37:32 -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 To: dev@dpdk.org Cc: Dmitry Kozlyuk , bruce.richardson@intel.com Date: Fri, 1 Oct 2021 19:37:26 +0300 Message-Id: <20211001163726.78308-3-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 Subject: [dpdk-dev] [PATCH 2/2] buildtools: enable chkincs on Windows 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" Independent header compilation test (chkincs) was disabled on Windows. The comment stated that the shebang line in the generator script was not working. Meson 0.57.0, currently recommended for Windows, successfully parses that line and invokes the script. Remove the OS restriction as its reason no longer applies. Fixes: 05050ac4ce99 ("build: add header includes check") Cc: bruce.richardson@intel.com Signed-off-by: Dmitry Kozlyuk Acked-by: Bruce Richardson --- buildtools/chkincs/meson.build | 5 ----- 1 file changed, 5 deletions(-) diff --git a/buildtools/chkincs/meson.build b/buildtools/chkincs/meson.build index 34dcd81ce1..5ffca89761 100644 --- a/buildtools/chkincs/meson.build +++ b/buildtools/chkincs/meson.build @@ -6,11 +6,6 @@ if not get_option('check_includes') subdir_done() endif -if is_windows - # for windows, the shebang line in the script won't work. - error('option "check_includes" is not supported on windows') -endif - gen_c_file_for_header = find_program('gen_c_file_for_header.py') gen_c_files = generator(gen_c_file_for_header, output: '@BASENAME@.c',