From patchwork Sun Feb 19 23:14:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 124155 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 1794041CE4; Mon, 20 Feb 2023 00:14:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A490C4114B; Mon, 20 Feb 2023 00:14:22 +0100 (CET) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mails.dpdk.org (Postfix) with ESMTP id E025340691 for ; Mon, 20 Feb 2023 00:14:20 +0100 (CET) Received: by mail-pj1-f49.google.com with SMTP id cp9so667877pjb.0 for ; Sun, 19 Feb 2023 15:14:20 -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=rE9hbu9PGE5EvElzTqXDWA+JUpVZhflAEuQXYFP9h0g=; b=A/BZosTwNOQbWcXI9tY+AQi5DCwETUnWYzEVf3HShacjn3hU6M4eKcXgBYCVc1qhN1 sWs3FBczh+2z9Y7UfB3r8zfibnDHdFwJ8/Ou8qN7Z85pUbCwafsb+9bqApWoXSsaK5AO DTaQnGeoGtAWpPCAT/qVZdks0ax7X6grm7CyrpJmvbdGOj19ToN278oIdXNGU4KHMxyZ Q4BgRDiPCtfjyEbK/hz3H+tGZ2WpbgXN+P+mPuanLPPs65dBRsO3lF2k1oUwIL5+Mllr JPc1+9mQbwC+oGYrScFy1dZEpoSjh7ObiOqSdStV2Hobm5H/5RhCl3kxMwuFHO4oHpG5 Zhjg== 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=rE9hbu9PGE5EvElzTqXDWA+JUpVZhflAEuQXYFP9h0g=; b=qMq78rodRvjyQoJzBh5bfMaEqQu6gt7rDjCyoy/ZWeoSWRfAJ0kerWonqrLJj7BXBt uSBzX3m42hAAcVP4XiCbE9u6e/n3T/3wtKxP7rcEOruKkwlSK5EfbSfCAlSe1kLJTjzP wah0f32PQnD9h/i7HlOMDLa5WuKNfTxX/bl1Iu4bZqBTKzxIaWioTZjmYcTbezsKCPJe 5tyngV1ub9Iunh+Q0S6hWnHxBR9QbQmi+lOJUJ8ngrPH6T4su+cB4IG9AW5HgrzgEaMI omfjcA2soOD3A5G6dsTQXySDLVHehtbk2lZ6p8NZOD161vuREC+UHKgTe0r/qMCupxJ1 /HlA== X-Gm-Message-State: AO0yUKX+Tw1OGYFqi4dWbflYlZvAUV9ZNisdEK9iVE0rPgwUZZdMDqen pgSBdzR/UutcGa8+/agq/H83BzNeFs6wsIbkyQg= X-Google-Smtp-Source: AK7set9XCWSQnaqL2rW/9Abb1qis/PJQ4oAkweTU+VK4RsHmBMbBP3D/Vknbz2AYLFEJQ8mgHs7uGA== X-Received: by 2002:a17:902:bf44:b0:19a:93e4:3b9a with SMTP id u4-20020a170902bf4400b0019a93e43b9amr787095pls.54.1676848459207; Sun, 19 Feb 2023 15:14:19 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id l10-20020a170902d34a00b00192fe452e17sm683336plk.162.2023.02.19.15.14.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Feb 2023 15:14:18 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 0/9] Enable building more libraries on Windows Date: Sun, 19 Feb 2023 15:14:07 -0800 Message-Id: <20230219231416.22524-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230207001937.875608-1-stephen@networkplumber.org> References: <20230207001937.875608-1-stephen@networkplumber.org> MIME-Version: 1.0 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 While diagnosing some Windows cross build errors; noticed that lots of important DPDK libraries are not being built on Windows. Stephen Hemminger (8): net/null: build null PMD on Windows net/ring: build on Windows lpm: enable on Windows reorder: build on Windows ip_frag: enable build on Windows rib: enable on Windows fib: enable on Windows pcapng: windows compatibility v4 - fix spelling in commnet enable build of lib/table as well v3 - add rte_os_shim.h to rte_ring to fix use of strdup() breaking with stricter MS compiler v2 - fix unnecessary PATH_MAX in net/ring driver Stephen Hemminger (9): net/null: build null PMD on Windows net/ring: build on Windows lpm: enable on Windows reorder: build on Windows ip_frag: enable build on Windows rib: enable on Windows fib: enable on Windows pcapng: windows compatibility table: enable build on Windows app/test/meson.build | 2 +- app/test/test_fib.c | 22 +----------- app/test/test_fib6.c | 24 ++------------ app/test/test_fib6_perf.c | 15 +-------- app/test/test_fib_perf.c | 19 ++--------- app/test/test_ipfrag.c | 12 ------- app/test/test_lpm.c | 15 +-------- app/test/test_lpm6.c | 12 ------- app/test/test_lpm6_data.h | 3 +- app/test/test_lpm6_perf.c | 14 +------- app/test/test_lpm_perf.c | 39 +++++++--------------- app/test/test_reorder.c | 11 ------ app/test/test_rib.c | 19 ----------- app/test/test_rib6.c | 24 ++------------ drivers/net/null/meson.build | 6 ---- drivers/net/ring/meson.build | 6 ---- drivers/net/ring/rte_eth_ring.c | 4 ++- lib/fib/meson.build | 6 ---- lib/fib/rte_fib.c | 1 + lib/fib/rte_fib6.c | 1 + lib/ip_frag/ip_frag_common.h | 2 ++ lib/ip_frag/meson.build | 6 ---- lib/lpm/meson.build | 6 ---- lib/pcapng/meson.build | 6 ---- lib/pcapng/rte_pcapng.c | 59 +++++++++++++++++++++++++++++++-- lib/reorder/meson.build | 6 ---- lib/reorder/rte_reorder.c | 1 + lib/rib/meson.build | 6 ---- lib/rib/rte_rib.c | 1 + lib/rib/rte_rib6.c | 1 + lib/table/meson.build | 6 ---- 31 files changed, 93 insertions(+), 262 deletions(-)