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 E681AA0527; Thu, 23 Jul 2020 09:08:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D3BA61BFEB; Thu, 23 Jul 2020 09:08:46 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id BACD81BF7B for ; Thu, 23 Jul 2020 09:08:43 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from fady@mellanox.com) with SMTP; 23 Jul 2020 10:08:40 +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 06N78eGh027335; Thu, 23 Jul 2020 10:08:40 +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: Thu, 23 Jul 2020 10:08:22 +0300 Message-Id: <20200723070825.6448-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 v4 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" v2: * fixed style issue. v3: * replaced htons with rte_cpu_to_be_16. * rebased to current master. v4: * removed the use of rte_random in librte_net. * replaced htons with RTE_BE16. Fady Bader (3): net: fix s_addr redefinition in Windows net: replace htons with RTE_BE16 eal/windows: librte_net build on Windows lib/librte_eal/windows/include/netinet/in.h | 23 +++++++++++++++++++++++ lib/librte_eal/windows/include/netinet/ip.h | 10 ++++++++++ lib/librte_net/rte_arp.c | 11 +++++------ lib/librte_net/rte_ether.c | 4 ++++ lib/librte_net/rte_ether.h | 9 +++++++++ lib/meson.build | 2 +- 6 files changed, 52 insertions(+), 7 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