get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/85383/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 85383,
    "url": "https://patches.dpdk.org/api/patches/85383/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201217225909.3580-3-pallavi.kadam@intel.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20201217225909.3580-3-pallavi.kadam@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201217225909.3580-3-pallavi.kadam@intel.com",
    "date": "2020-12-17T22:59:09",
    "name": "[v2,2/2] build: i40e PMD on Windows",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3b01f3403bffc196f48c6624b9fa8cf0b0056ce6",
    "submitter": {
        "id": 1177,
        "url": "https://patches.dpdk.org/api/people/1177/?format=api",
        "name": "Kadam, Pallavi",
        "email": "pallavi.kadam@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201217225909.3580-3-pallavi.kadam@intel.com/mbox/",
    "series": [
        {
            "id": 14355,
            "url": "https://patches.dpdk.org/api/series/14355/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14355",
            "date": "2020-12-17T22:59:07",
            "name": "Support i40e PMD on Windows",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/14355/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/85383/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/85383/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 9500EA09F6;\n\tFri, 18 Dec 2020 00:08:01 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6E1E3CA54;\n\tFri, 18 Dec 2020 00:07:30 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id F0000CA3E\n for <dev@dpdk.org>; Fri, 18 Dec 2020 00:07:25 +0100 (CET)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Dec 2020 15:07:21 -0800",
            "from win-dpdk-pallavi.jf.intel.com (HELO localhost.localdomain)\n ([10.166.188.111])\n by orsmga001.jf.intel.com with ESMTP; 17 Dec 2020 15:07:21 -0800"
        ],
        "IronPort-SDR": [
            "\n 3BFlHCSgucTuA9GNd7y0YZLzkH2hl8HTc5b3TCAZ6CMxMwLX1pEOjoj04dPNYtSFW1i9/16+IN\n A0TM9GvXPw5w==",
            "\n xQRjXpPoZ7sRd9SQ0Chvra80Nvd+V//sFztINpxwZiXfe5eaNK+RBeuyy7i59Ex7XYdlICvYvD\n Kfo+Lk2LI3Jw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9838\"; a=\"174577400\"",
            "E=Sophos;i=\"5.78,428,1599548400\"; d=\"scan'208\";a=\"174577400\"",
            "E=Sophos;i=\"5.78,428,1599548400\"; d=\"scan'208\";a=\"413660864\""
        ],
        "X-ExtLoop1": "1",
        "From": "Pallavi Kadam <pallavi.kadam@intel.com>",
        "To": "dev@dpdk.org,\n\tthomas@monjalon.net",
        "Cc": "ranjit.menon@intel.com, dmitry.kozliuk@gmail.com,\n Narcisa.Vasile@microsoft.com, talshn@nvidia.com, ferruh.yigit@intel.com,\n bruce.richardson@intel.com, beilei.xing@intel.com, jia.guo@intel.com,\n pallavi.kadam@intel.com",
        "Date": "Thu, 17 Dec 2020 14:59:09 -0800",
        "Message-Id": "<20201217225909.3580-3-pallavi.kadam@intel.com>",
        "X-Mailer": "git-send-email 2.18.0.windows.1",
        "In-Reply-To": "<20201217225909.3580-1-pallavi.kadam@intel.com>",
        "References": "<20201205011020.6276-1-pallavi.kadam@intel.com>\n <20201217225909.3580-1-pallavi.kadam@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 2/2] build: i40e PMD on Windows",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Allows i40e PMD to compile on Windows and disable other drivers.\nDisable few warnings with Clang such as comparison of integers of\ndifferent signs and macro redefinitions.\n\nAdds temp folder mlx5/windows as it is required to build this patch\nwithout any build error. This folder will be removed once mlx5 PMD\npatches are merged.\n\nSigned-off-by: Pallavi Kadam <pallavi.kadam@intel.com>\nReviewed-by: Ranjit Menon <ranjit.menon@intel.com>\n---\n drivers/net/af_xdp/meson.build        |  6 ++++++\n drivers/net/ark/meson.build           |  6 ++++++\n drivers/net/atlantic/meson.build      |  6 ++++++\n drivers/net/bnx2x/meson.build         |  6 ++++++\n drivers/net/bnxt/meson.build          |  6 ++++++\n drivers/net/bonding/meson.build       |  6 ++++++\n drivers/net/cxgbe/meson.build         |  6 ++++++\n drivers/net/e1000/meson.build         |  6 ++++++\n drivers/net/ena/meson.build           |  6 ++++++\n drivers/net/enic/meson.build          |  6 ++++++\n drivers/net/failsafe/meson.build      |  6 ++++++\n drivers/net/fm10k/meson.build         |  6 ++++++\n drivers/net/hinic/meson.build         |  6 ++++++\n drivers/net/i40e/base/i40e_osdep.h    | 10 ++++++++++\n drivers/net/i40e/i40e_ethdev_vf.c     |  3 ++-\n drivers/net/i40e/i40e_rxtx_vec_avx2.c |  2 +-\n drivers/net/i40e/i40e_tm.c            |  2 +-\n drivers/net/iavf/meson.build          |  6 ++++++\n drivers/net/ice/meson.build           |  6 ++++++\n drivers/net/igc/meson.build           |  6 ++++++\n drivers/net/ionic/meson.build         |  6 ++++++\n drivers/net/ipn3ke/meson.build        |  6 ++++++\n drivers/net/ixgbe/meson.build         |  6 ++++++\n drivers/net/kni/meson.build           |  6 ++++++\n drivers/net/liquidio/meson.build      |  6 ++++++\n drivers/net/meson.build               |  3 ---\n drivers/net/mlx5/windows/meson.build  |  0\n drivers/net/mvneta/meson.build        |  6 ++++++\n drivers/net/mvpp2/meson.build         |  6 ++++++\n drivers/net/netvsc/meson.build        |  6 ++++++\n drivers/net/nfb/meson.build           |  6 ++++++\n drivers/net/null/meson.build          |  6 ++++++\n drivers/net/octeontx/meson.build      |  6 ++++++\n drivers/net/octeontx2/meson.build     |  6 ++++++\n drivers/net/pcap/meson.build          |  6 ++++++\n drivers/net/qede/meson.build          |  6 ++++++\n drivers/net/ring/meson.build          |  6 ++++++\n drivers/net/sfc/meson.build           |  6 ++++++\n drivers/net/szedata2/meson.build      |  6 ++++++\n drivers/net/thunderx/meson.build      |  6 ++++++\n drivers/net/txgbe/meson.build         |  6 ++++++\n drivers/net/vhost/meson.build         |  6 ++++++\n drivers/net/virtio/meson.build        |  6 ++++++\n drivers/net/vmxnet3/meson.build       |  6 ++++++\n 44 files changed, 242 insertions(+), 6 deletions(-)\n create mode 100644 drivers/net/mlx5/windows/meson.build",
    "diff": "diff --git a/drivers/net/af_xdp/meson.build b/drivers/net/af_xdp/meson.build\nindex fead8dd99..5c50d3f41 100644\n--- a/drivers/net/af_xdp/meson.build\n+++ b/drivers/net/af_xdp/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2019 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n sources = files('rte_eth_af_xdp.c')\n \n bpf_dep = dependency('libbpf', required: false)\ndiff --git a/drivers/net/ark/meson.build b/drivers/net/ark/meson.build\nindex 80bce94e1..cbc7d6166 100644\n--- a/drivers/net/ark/meson.build\n+++ b/drivers/net/ark/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n headers = files('rte_pmd_ark.h')\n \n sources = files('ark_ddm.c',\ndiff --git a/drivers/net/atlantic/meson.build b/drivers/net/atlantic/meson.build\nindex 60b84684e..a386dd2ec 100644\n--- a/drivers/net/atlantic/meson.build\n+++ b/drivers/net/atlantic/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Aquantia Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n sources = files(\n \t'atl_rxtx.c',\n \t'atl_ethdev.c',\ndiff --git a/drivers/net/bnx2x/meson.build b/drivers/net/bnx2x/meson.build\nindex 4892bb234..4e9ea6995 100644\n--- a/drivers/net/bnx2x/meson.build\n+++ b/drivers/net/bnx2x/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n dep = dependency('zlib', required: false)\n build = dep.found()\n reason = 'missing dependency, \"zlib\"'\ndiff --git a/drivers/net/bnxt/meson.build b/drivers/net/bnxt/meson.build\nindex 2896337b5..24e594e19 100644\n--- a/drivers/net/bnxt/meson.build\n+++ b/drivers/net/bnxt/meson.build\n@@ -2,6 +2,12 @@\n # Copyright(c) 2018 Intel Corporation\n # Copyright(c) 2020 Broadcom\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n headers = files('rte_pmd_bnxt.h')\n \n includes += include_directories('tf_ulp')\ndiff --git a/drivers/net/bonding/meson.build b/drivers/net/bonding/meson.build\nindex adf64626e..3ff155bcb 100644\n--- a/drivers/net/bonding/meson.build\n+++ b/drivers/net/bonding/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n name = 'bond' #, james bond :-)\n sources = files('rte_eth_bond_api.c', 'rte_eth_bond_pmd.c', 'rte_eth_bond_flow.c',\n \t'rte_eth_bond_args.c', 'rte_eth_bond_8023ad.c', 'rte_eth_bond_alb.c')\ndiff --git a/drivers/net/cxgbe/meson.build b/drivers/net/cxgbe/meson.build\nindex 3992aba44..52b59d1bd 100644\n--- a/drivers/net/cxgbe/meson.build\n+++ b/drivers/net/cxgbe/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n sources = files('cxgbe_ethdev.c',\n \t'cxgbe_main.c',\n \t'cxgbevf_ethdev.c',\ndiff --git a/drivers/net/e1000/meson.build b/drivers/net/e1000/meson.build\nindex cf456995c..a517f86fc 100644\n--- a/drivers/net/e1000/meson.build\n+++ b/drivers/net/e1000/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n subdir('base')\n objs = [base_objs]\n \ndiff --git a/drivers/net/ena/meson.build b/drivers/net/ena/meson.build\nindex 189903b90..150f10c33 100644\n--- a/drivers/net/ena/meson.build\n+++ b/drivers/net/ena/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n sources = files('ena_ethdev.c',\n \t'base/ena_com.c',\n \t'base/ena_eth_com.c')\ndiff --git a/drivers/net/enic/meson.build b/drivers/net/enic/meson.build\nindex 86ef2a8a2..345000e5d 100644\n--- a/drivers/net/enic/meson.build\n+++ b/drivers/net/enic/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Cisco Systems, Inc.\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n sources = files(\n \t'base/vnic_cq.c',\n \t'base/vnic_dev.c',\ndiff --git a/drivers/net/failsafe/meson.build b/drivers/net/failsafe/meson.build\nindex 56010e212..4e9d15bec 100644\n--- a/drivers/net/failsafe/meson.build\n+++ b/drivers/net/failsafe/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n cflags += '-std=gnu99'\n cflags += '-D_DEFAULT_SOURCE'\n cflags += '-D_XOPEN_SOURCE=700'\ndiff --git a/drivers/net/fm10k/meson.build b/drivers/net/fm10k/meson.build\nindex 2772ea4df..336b100cc 100644\n--- a/drivers/net/fm10k/meson.build\n+++ b/drivers/net/fm10k/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n subdir('base')\n objs = [base_objs]\n \ndiff --git a/drivers/net/hinic/meson.build b/drivers/net/hinic/meson.build\nindex bc7e24639..0298c0769 100644\n--- a/drivers/net/hinic/meson.build\n+++ b/drivers/net/hinic/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Huawei Technologies Co., Ltd\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n subdir('base')\n objs = [base_objs]\n \ndiff --git a/drivers/net/i40e/base/i40e_osdep.h b/drivers/net/i40e/base/i40e_osdep.h\nindex 9b5033024..5085d6510 100644\n--- a/drivers/net/i40e/base/i40e_osdep.h\n+++ b/drivers/net/i40e/base/i40e_osdep.h\n@@ -20,6 +20,7 @@\n #include <rte_io.h>\n \n #include \"../i40e_logs.h\"\n+#include \"i40e_status.h\"\n \n #define INLINE inline\n #define STATIC static\n@@ -67,6 +68,15 @@ typedef enum i40e_status_code i40e_status;\n #define false           0\n #define true            1\n \n+/* Avoid macro redefinition warning on Windows */\n+#ifdef RTE_EXEC_ENV_WINDOWS\n+#ifdef min\n+#undef min\n+#endif\n+#ifdef max\n+#undef max\n+#endif\n+#endif\n #define min(a,b) RTE_MIN(a,b)\n #define max(a,b) RTE_MAX(a,b)\n \ndiff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c\nindex c26b036b8..daf4a3f99 100644\n--- a/drivers/net/i40e/i40e_ethdev_vf.c\n+++ b/drivers/net/i40e/i40e_ethdev_vf.c\n@@ -1495,7 +1495,8 @@ i40evf_handle_aq_msg(struct rte_eth_dev *dev)\n \t\t\t\t\t\t       info.msg_len);\n \t\t\telse {\n \t\t\t\t/* read message and it's expected one */\n-\t\t\t\tif (msg_opc == vf->pend_cmd) {\n+\t\t\t\tif ((volatile uint32_t)msg_opc ==\n+\t\t\t\t    vf->pend_cmd) {\n \t\t\t\t\tvf->cmd_retval = msg_ret;\n \t\t\t\t\t/* prevent compiler reordering */\n \t\t\t\t\trte_compiler_barrier();\ndiff --git a/drivers/net/i40e/i40e_rxtx_vec_avx2.c b/drivers/net/i40e/i40e_rxtx_vec_avx2.c\nindex 7a558fc73..e5f0e90cb 100644\n--- a/drivers/net/i40e/i40e_rxtx_vec_avx2.c\n+++ b/drivers/net/i40e/i40e_rxtx_vec_avx2.c\n@@ -12,7 +12,7 @@\n #include \"i40e_rxtx.h\"\n #include \"i40e_rxtx_vec_common.h\"\n \n-#include <x86intrin.h>\n+#include <rte_vect.h>\n \n #ifndef __INTEL_COMPILER\n #pragma GCC diagnostic ignored \"-Wcast-qual\"\ndiff --git a/drivers/net/i40e/i40e_tm.c b/drivers/net/i40e/i40e_tm.c\nindex 5d722f92c..cab296e1a 100644\n--- a/drivers/net/i40e/i40e_tm.c\n+++ b/drivers/net/i40e/i40e_tm.c\n@@ -554,7 +554,7 @@ i40e_node_add(struct rte_eth_dev *dev, uint32_t node_id,\n \t}\n \t/* check level */\n \tif (level_id != RTE_TM_NODE_LEVEL_ID_ANY &&\n-\t    level_id != parent_node_type + 1) {\n+\t    level_id != (uint32_t)parent_node_type + 1) {\n \t\terror->type = RTE_TM_ERROR_TYPE_NODE_PARAMS;\n \t\terror->message = \"Wrong level\";\n \t\treturn -EINVAL;\ndiff --git a/drivers/net/iavf/meson.build b/drivers/net/iavf/meson.build\nindex 26c02c440..a7b4a7adb 100644\n--- a/drivers/net/iavf/meson.build\n+++ b/drivers/net/iavf/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Luca Boccassi <bluca@debian.org>\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n cflags += ['-Wno-strict-aliasing']\n \n includes += include_directories('../../common/iavf')\ndiff --git a/drivers/net/ice/meson.build b/drivers/net/ice/meson.build\nindex 7b291269d..9866b78c6 100644\n--- a/drivers/net/ice/meson.build\n+++ b/drivers/net/ice/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n subdir('base')\n objs = [base_objs]\n \ndiff --git a/drivers/net/igc/meson.build b/drivers/net/igc/meson.build\nindex fba119c98..90c05ef81 100644\n--- a/drivers/net/igc/meson.build\n+++ b/drivers/net/igc/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2019-2020 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n subdir('base')\n objs = [base_objs]\n \ndiff --git a/drivers/net/ionic/meson.build b/drivers/net/ionic/meson.build\nindex 1c6362d27..99aaae3e9 100644\n--- a/drivers/net/ionic/meson.build\n+++ b/drivers/net/ionic/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)\n # Copyright(c) 2019 Pensando\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n sources = files(\n \t'ionic_mac_api.c',\n \t'ionic_rx_filter.c',\ndiff --git a/drivers/net/ipn3ke/meson.build b/drivers/net/ipn3ke/meson.build\nindex d5000d807..c2d6fd238 100644\n--- a/drivers/net/ipn3ke/meson.build\n+++ b/drivers/net/ipn3ke/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2019 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n #\n # Add the experimenatal APIs called from this PMD\n #  rte_eth_switch_domain_alloc()\ndiff --git a/drivers/net/ixgbe/meson.build b/drivers/net/ixgbe/meson.build\nindex f10437891..0b7d0257b 100644\n--- a/drivers/net/ixgbe/meson.build\n+++ b/drivers/net/ixgbe/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']\n \n subdir('base')\ndiff --git a/drivers/net/kni/meson.build b/drivers/net/kni/meson.build\nindex d9fa898d1..337508c28 100644\n--- a/drivers/net/kni/meson.build\n+++ b/drivers/net/kni/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n # this driver can be built if-and-only-if KNI library is buildable\n build = dpdk_conf.has('RTE_LIB_KNI')\n reason = 'missing dependency, DPDK KNI library'\ndiff --git a/drivers/net/liquidio/meson.build b/drivers/net/liquidio/meson.build\nindex 9ae48e213..12834e4b0 100644\n--- a/drivers/net/liquidio/meson.build\n+++ b/drivers/net/liquidio/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n sources = files('base/lio_23xx_vf.c',\n \t'base/lio_mbox.c',\n \t'lio_ethdev.c',\ndiff --git a/drivers/net/meson.build b/drivers/net/meson.build\nindex 29f477750..b489088f1 100644\n--- a/drivers/net/meson.build\n+++ b/drivers/net/meson.build\n@@ -1,9 +1,6 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n-if is_windows\n-\tsubdir_done()\n-endif\n \n drivers = ['af_packet',\n \t'af_xdp',\ndiff --git a/drivers/net/mlx5/windows/meson.build b/drivers/net/mlx5/windows/meson.build\nnew file mode 100644\nindex 000000000..e69de29bb\ndiff --git a/drivers/net/mvneta/meson.build b/drivers/net/mvneta/meson.build\nindex 8d7202788..7ef71b243 100644\n--- a/drivers/net/mvneta/meson.build\n+++ b/drivers/net/mvneta/meson.build\n@@ -3,6 +3,12 @@\n # Copyright(c) 2018 Semihalf.\n # All rights reserved.\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n path = get_option('lib_musdk_dir')\n lib_dir = path + '/lib'\n inc_dir = path + '/include'\ndiff --git a/drivers/net/mvpp2/meson.build b/drivers/net/mvpp2/meson.build\nindex e06eddaac..fff909877 100644\n--- a/drivers/net/mvpp2/meson.build\n+++ b/drivers/net/mvpp2/meson.build\n@@ -3,6 +3,12 @@\n # Copyright(c) 2018 Semihalf.\n # All rights reserved.\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n path = get_option('lib_musdk_dir')\n lib_dir = path + '/lib'\n inc_dir = path + '/include'\ndiff --git a/drivers/net/netvsc/meson.build b/drivers/net/netvsc/meson.build\nindex f3f52f732..6c0f86991 100644\n--- a/drivers/net/netvsc/meson.build\n+++ b/drivers/net/netvsc/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Microsoft Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n build = dpdk_conf.has('RTE_BUS_VMBUS')\n reason = 'missing dependency, DPDK VMBus driver'\n sources = files('hn_ethdev.c', 'hn_rxtx.c', 'hn_rndis.c', 'hn_nvs.c', 'hn_vf.c')\ndiff --git a/drivers/net/nfb/meson.build b/drivers/net/nfb/meson.build\nindex d53e8eca7..7bcc4e08f 100644\n--- a/drivers/net/nfb/meson.build\n+++ b/drivers/net/nfb/meson.build\n@@ -3,6 +3,12 @@\n # Copyright(c) 2019 Netcope Technologies, a.s. <info@netcope.com>\n # All rights reserved.\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n dep = dependency('netcope-common', required: false)\n reason = 'missing dependency, \"libnfb\"'\n build = dep.found()\ndiff --git a/drivers/net/null/meson.build b/drivers/net/null/meson.build\nindex 68ac0d2ae..69edb9e24 100644\n--- a/drivers/net/null/meson.build\n+++ b/drivers/net/null/meson.build\n@@ -1,4 +1,10 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n sources = files('rte_eth_null.c')\ndiff --git a/drivers/net/octeontx/meson.build b/drivers/net/octeontx/meson.build\nindex e8d3ff4a3..cc93f5d4f 100644\n--- a/drivers/net/octeontx/meson.build\n+++ b/drivers/net/octeontx/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Cavium, Inc\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n subdir('base')\n objs = [base_objs]\n \ndiff --git a/drivers/net/octeontx2/meson.build b/drivers/net/octeontx2/meson.build\nindex 638c04a2f..bf15e52b4 100644\n--- a/drivers/net/octeontx2/meson.build\n+++ b/drivers/net/octeontx2/meson.build\n@@ -2,6 +2,12 @@\n # Copyright(C) 2019 Marvell International Ltd.\n #\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n if not dpdk_conf.get('RTE_ARCH_64')\n \tbuild = false\n \treason = 'only supported on 64-bit'\ndiff --git a/drivers/net/pcap/meson.build b/drivers/net/pcap/meson.build\nindex b680710aa..31dae19f5 100644\n--- a/drivers/net/pcap/meson.build\n+++ b/drivers/net/pcap/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n if not dpdk_conf.has('RTE_PORT_PCAP')\n \tbuild = false\n \treason = 'missing dependency, \"libpcap\"'\ndiff --git a/drivers/net/qede/meson.build b/drivers/net/qede/meson.build\nindex ff0ac0b03..f6b093319 100644\n--- a/drivers/net/qede/meson.build\n+++ b/drivers/net/qede/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Luca Boccassi <bluca@debian.org>\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n subdir('base')\n objs = [base_objs]\n \ndiff --git a/drivers/net/ring/meson.build b/drivers/net/ring/meson.build\nindex 26a324eeb..2ceea4a9c 100644\n--- a/drivers/net/ring/meson.build\n+++ b/drivers/net/ring/meson.build\n@@ -1,5 +1,11 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n sources = files('rte_eth_ring.c')\n headers = files('rte_eth_ring.h')\ndiff --git a/drivers/net/sfc/meson.build b/drivers/net/sfc/meson.build\nindex be888bd87..b10c2ef52 100644\n--- a/drivers/net/sfc/meson.build\n+++ b/drivers/net/sfc/meson.build\n@@ -6,6 +6,12 @@\n # This software was jointly developed between OKTET Labs (under contract\n # for Solarflare) and Solarflare Communications, Inc.\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n if (arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')) and (arch_subdir != 'arm' or not host_machine.cpu_family().startswith('aarch64'))\n \tbuild = false\n \treason = 'only supported on x86_64 and aarch64'\ndiff --git a/drivers/net/szedata2/meson.build b/drivers/net/szedata2/meson.build\nindex b53fcbc59..a846b2770 100644\n--- a/drivers/net/szedata2/meson.build\n+++ b/drivers/net/szedata2/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n dep = dependency('libsze2', required: false)\n build = dep.found()\n reason = 'missing dependency, \"libsze2\"'\ndiff --git a/drivers/net/thunderx/meson.build b/drivers/net/thunderx/meson.build\nindex 69819a97f..a9a326b06 100644\n--- a/drivers/net/thunderx/meson.build\n+++ b/drivers/net/thunderx/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2017 Cavium, Inc\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n subdir('base')\n objs = [base_objs]\n \ndiff --git a/drivers/net/txgbe/meson.build b/drivers/net/txgbe/meson.build\nindex 345dffaf6..2e79e72dc 100644\n--- a/drivers/net/txgbe/meson.build\n+++ b/drivers/net/txgbe/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2015-2020\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n subdir('base')\n objs = [base_objs]\n \ndiff --git a/drivers/net/vhost/meson.build b/drivers/net/vhost/meson.build\nindex 1ae4854b8..a8fd3325a 100644\n--- a/drivers/net/vhost/meson.build\n+++ b/drivers/net/vhost/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n build = dpdk_conf.has('RTE_LIB_VHOST')\n reason = 'missing dependency, DPDK vhost library'\n sources = files('rte_eth_vhost.c')\ndiff --git a/drivers/net/virtio/meson.build b/drivers/net/virtio/meson.build\nindex eaed46373..c812d085e 100644\n--- a/drivers/net/virtio/meson.build\n+++ b/drivers/net/virtio/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n sources += files('virtio_ethdev.c',\n \t'virtio_pci.c',\n \t'virtio_rxtx.c',\ndiff --git a/drivers/net/vmxnet3/meson.build b/drivers/net/vmxnet3/meson.build\nindex 0641f776f..b817bbb29 100644\n--- a/drivers/net/vmxnet3/meson.build\n+++ b/drivers/net/vmxnet3/meson.build\n@@ -1,6 +1,12 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Luca Boccassi <bluca@debian.org>\n \n+if is_windows\n+\tbuild = false\n+\treason = 'Not supported on Windows'\n+\tsubdir_done()\n+endif\n+\n sources += files(\n \t'vmxnet3_ethdev.c',\n \t'vmxnet3_rxtx.c',\n",
    "prefixes": [
        "v2",
        "2/2"
    ]
}