From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 65993A00BE; Wed, 8 Jul 2020 10:25:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2ED731DA2D; Wed, 8 Jul 2020 10:25:39 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 22A3B1D9F5 for ; Wed, 8 Jul 2020 10:25:37 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from fady@mellanox.com) with SMTP; 8 Jul 2020 11:25:36 +0300 Received: from l-wincomp04-vm.labs.mlnx (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0688PamH026821; Wed, 8 Jul 2020 11:25:36 +0300 From: Fady Bader To: dev@dpdk.org Cc: thomas@monjalon.net, tbashar@mellanox.com, talshn@mellanox.com, yohadt@mellanox.com, dmitry.kozliuk@gmail.com, harini.ramakrishnan@microsoft.com, ocardona@microsoft.com, pallavi.kadam@intel.com, ranjit.menon@intel.com, olivier.matz@6wind.com Date: Wed, 8 Jul 2020 11:25:22 +0300 Message-Id: <20200708082525.28504-1-fady@mellanox.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20200610120040.17968-1-fady@mellanox.com> References: <20200610120040.17968-1-fady@mellanox.com> Subject: [dpdk-dev] [PATCH v3 0/3] compile librte_net for windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Addded needed files and fixes for windows in order to get librte_net compiling under Windows. v3: * replaced htons with rte_cpu_to_be_16. * rebased to current master. Fady Bader (3): net: fix s_addr redefinition in Windows net: replace htons with rte_cpu_to_be_16 eal/windows: librte_net build on Windows lib/librte_eal/common/meson.build | 1 + lib/librte_eal/rte_eal_exports.def | 1 + lib/librte_eal/windows/include/netinet/in.h | 25 +++++++++++++++++++++++++ lib/librte_eal/windows/include/netinet/ip.h | 12 ++++++++++++ lib/librte_net/rte_arp.c | 11 +++++++---- lib/librte_net/rte_ether.h | 9 +++++++++ lib/meson.build | 2 +- 7 files changed, 56 insertions(+), 5 deletions(-) create mode 100644 lib/librte_eal/windows/include/netinet/in.h create mode 100644 lib/librte_eal/windows/include/netinet/ip.h -- 2.16.1.windows.4