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 2ED97A00C2; Thu, 1 Dec 2022 02:44:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90E3C42D17; Thu, 1 Dec 2022 02:44:46 +0100 (CET) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id 44010410D1 for ; Thu, 1 Dec 2022 02:44:45 +0100 (CET) Received: by mail-pj1-f41.google.com with SMTP id mv18so515285pjb.0 for ; Wed, 30 Nov 2022 17:44:45 -0800 (PST) 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:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Z8tApTgUABXksSHZHzhO2jmo76VKpMuwFW3w/HO8KN4=; b=2heFXs3aWrRQB07Q/mcq21yPzUkZDwD//drUut5oyh400t8zgGDxM+ZbO8jEntadKQ Cq9Bv+5eDjkJ1Iy6NHq/I64LVIBiQbYIPdPV/BTKbhRf4jucfvIWcuYgLZI3EAMIqTpj 5heuNJ2PbTHKyNRL2Lo4YUikcXcJFt7K5HQw4RAhGItLEbZvSan86WmjkTPtRjxmt+TD YcEf4tbiT0s7X0WZoc0la5GDDeOGRhh8XuYkpY74RPkhEsrShitAgt8dEv9av/Nv9eg6 FSKSMI3lwMeygffzmND/QLSRHf6VzQifoSdyu25VxJlPSyYULX2Bmo7bZZp1kmBUKOnQ i8fg== 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:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z8tApTgUABXksSHZHzhO2jmo76VKpMuwFW3w/HO8KN4=; b=q2O2Z8lGUSTuvg05rn6/7XKSj3mAgAQhg6pX6h4atD2bnWyAaMft+AiYfPUsXacTQT tI8qpgtYPm658nGYplJupp9i2Nlp7oKxtnNTU3hDZ37FzBlccL7BT33LCCeL5cx9hgLe XQW0DS/+YbyoYZZz3c9/pTGNOyAp5EX5EQzPJWX7AJ2I7jjyFQ14gCagrvNHUUCe8rN7 c9jn7JUaKDV+I7uUi/gpK6NugkX9KlZSIBYJrEkNRR3/bkdlt6ksGC4+qOWwXp02coQy UpR2y45xje3jjX/PNtPgDXFFgdO8y6si7EeRromzL7z8YMh7vwpl/d8pdmiQiurM5n1W nr9w== X-Gm-Message-State: ANoB5pnbiE4dji/HleherKz1NRh3P8eYS1QFZ86gVpHGVkvHV8Vfc7x0 off19xmjQ6yjmgWfkFfSxhDZVRwSDWaiiqoS X-Google-Smtp-Source: AA0mqf6sHMMlRe3mYYpnl/83wIOdjVFm+G/D6ibEQKZkbXcUSb39Nnka1pzbaTRiDT8hTC1AmH4GTg== X-Received: by 2002:a17:903:2055:b0:189:a880:99b7 with SMTP id q21-20020a170903205500b00189a88099b7mr6241976pla.5.1669859084428; Wed, 30 Nov 2022 17:44:44 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id h14-20020a170902680e00b00186ffe62502sm2125014plk.254.2022.11.30.17.44.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Nov 2022 17:44:44 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson Subject: [PATCH 2/8] net/ring: build on Windows Date: Wed, 30 Nov 2022 17:44:33 -0800 Message-Id: <20221201014440.11896-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221201014440.11896-1-stephen@networkplumber.org> References: <20221201014440.11896-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This driver builds ok on windows, but need to modify the test meson build to skip the eventdev test on Windows. Signed-off-by: Stephen Hemminger --- app/test/meson.build | 2 +- drivers/net/ring/meson.build | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index f34d19e3c3cb..a713f0382280 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -390,7 +390,7 @@ if dpdk_conf.has('RTE_NET_BOND') driver_test_names += 'link_bonding_mode4_autotest' endif endif -if dpdk_conf.has('RTE_NET_RING') +if dpdk_conf.has('RTE_LIB_EVENTDEV') and dpdk_conf.has('RTE_NET_RING') test_deps += 'net_ring' test_sources += 'test_pmd_ring_perf.c' test_sources += 'test_pmd_ring.c' diff --git a/drivers/net/ring/meson.build b/drivers/net/ring/meson.build index 72792e26b05a..3534a3cc2287 100644 --- a/drivers/net/ring/meson.build +++ b/drivers/net/ring/meson.build @@ -1,12 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() -endif - sources = files('rte_eth_ring.c') headers = files('rte_eth_ring.h') pmd_supports_disable_iova_as_pa = true -- 2.35.1