From patchwork Thu Mar 9 21:31:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 124913 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 7822A41E23; Thu, 9 Mar 2023 22:31:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14F5440ED7; Thu, 9 Mar 2023 22:31:33 +0100 (CET) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mails.dpdk.org (Postfix) with ESMTP id 9836F40695 for ; Thu, 9 Mar 2023 22:31:31 +0100 (CET) Received: by mail-pl1-f181.google.com with SMTP id p20so3417231plw.13 for ; Thu, 09 Mar 2023 13:31:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; t=1678397490; 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=bj9QsCiRcL68GucoNVLyhCzxFK1Kz1nEP+as+LCwgGw=; b=HXJeBf2EtLHOD7ZklB8TBJnMMNYUhqlPFAgOpHfQQzRdby6CVEJdq4iOdYxFgV+WJU GH73h4JzNKY7TsTEejQ0+IIz4j27ES5+wVi/a2yv4jg6s2574EEp1z8PU85WsKVJ/lEJ btGOw8jILpxoEBpifGR4c+rn1FXbuj+oWrUMi1kjcXaLqettItxVxF0qkcRXqwTSHNYM qfsL2yhUXCidsRFo2O9LJ+Y5tuaTHRdIH9jybnbz+uJFVlGsVcREkTGcKUpnk26x9YFJ VEb9giHqSkJ6jLaG1zgP/4dMP+4ZDvIC6yZw82Hw20Ae40IU78v2ymBuDxNnSgiohbBU Tk/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678397490; 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=bj9QsCiRcL68GucoNVLyhCzxFK1Kz1nEP+as+LCwgGw=; b=Z6jtRq3uq0jVCT5vp/kP/TzBqr07j+OOIjrXUIBmcxLdURiylSIM6HhcRRfhYm4pKU AQ4Ovl7IKYUmR//YD07gjEzXicouFnVmkiM33QPlNKnaITJ1EFI3f5gwrmggbsCOfh69 H5g/YciI9kuushXdbg4AlQSKA5ASYUwGGWbNh2aQ//8KEQTSJcH65eVgKLf+T1I+sXKK WKmaHcYGv5PMbSbfKLv4cPwFLBIOfqNaN/ozTHQzIWdd586IcpBmIBYfOFc8I32lsiZ/ Xv/4Bm4BWiPWqJbHOIHpR6cKOAJgnTK4+ZPOvocIw3C0paFaK4GlIgFps3okFxbPuo69 6qyQ== X-Gm-Message-State: AO0yUKVwW+Su28ifD2rm/pVqwJZCyKkbOZhdWfj1Qyc3GT5h9V6AuyoJ szvXjphyeUAeAtEMcBxv4HOCyINmmHhwhgENVKjofw== X-Google-Smtp-Source: AK7set/gYDVueMlsIoFyVI+IsDIoLHkXdC2mHNvbRNAIuuK5iyguTNqEgwPfTpHGPq6FVU4d7EqCyA== X-Received: by 2002:a17:90a:1d46:b0:236:7137:dc9 with SMTP id u6-20020a17090a1d4600b0023671370dc9mr23665944pju.48.1678397490347; Thu, 09 Mar 2023 13:31:30 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id q3-20020a63cc43000000b00502e4015ff7sm64225pgi.23.2023.03.09.13.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 13:31:29 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v5 0/9] Enable building more libraries on Windows Date: Thu, 9 Mar 2023 13:31:19 -0800 Message-Id: <20230309213128.34146-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20221201014440.11896-1-stephen@networkplumber.org> References: <20221201014440.11896-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 v5 - remove no longer needed rte_os_shim.h in ring 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 | 3 +- 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, 92 insertions(+), 262 deletions(-)