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 DE17FA053D; Fri, 24 Jul 2020 17:52:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 87AA91BFE5; Fri, 24 Jul 2020 17:52:45 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A70521BFD7 for ; Fri, 24 Jul 2020 17:52:43 +0200 (CEST) IronPort-SDR: N0M1N/H7dZg46uWKi9AYMAiNfUZKDctaUAlFaDoqldr8eXhPokm76e4FJfWPfQHqnlEAXNlMOr aKRwlFnkKa2w== X-IronPort-AV: E=McAfee;i="6000,8403,9692"; a="149916806" X-IronPort-AV: E=Sophos;i="5.75,391,1589266800"; d="scan'208";a="149916806" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jul 2020 08:52:42 -0700 IronPort-SDR: Dwk1tsZSu5J4FiVwmLddgXLHbl8hcSr4vDhm8jVwOoqTcvso07HyCWo0R8Xgk22VDEdFaB1XqC k1DlxuN7G3Ng== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,391,1589266800"; d="scan'208";a="393342198" Received: from pkadam-mobl1.amr.corp.intel.com (HELO [10.209.48.168]) ([10.209.48.168]) by fmsmga001.fm.intel.com with ESMTP; 24 Jul 2020 08:52:42 -0700 To: Fady Bader , 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, ranjit.menon@intel.com, olivier.matz@6wind.com References: <20200610120040.17968-1-fady@mellanox.com> <20200723070825.6448-1-fady@mellanox.com> From: "Kadam, Pallavi" Message-ID: <5c69dfc1-f2b2-1af9-fa33-78f111224d96@intel.com> Date: Fri, 24 Jul 2020 08:52:41 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200723070825.6448-1-fady@mellanox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Subject: Re: [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" On 7/23/2020 12:08 AM, Fady Bader wrote: > 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 > Tested-by: Pallavi Kadam