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 B1F74A0518; Fri, 24 Jul 2020 03:11:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3BC5E1C20D; Fri, 24 Jul 2020 03:11:25 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 3A5F71C20A for ; Fri, 24 Jul 2020 03:11:24 +0200 (CEST) IronPort-SDR: 9N7kHhe3oZV7n0HVptE37pGYWxjaQ+7sJF1OqrtilNba7YEdTe8g2q1r8aAuM74jxLevHNJM8E 2S84rsNEf8Vg== X-IronPort-AV: E=McAfee;i="6000,8403,9691"; a="148564003" X-IronPort-AV: E=Sophos;i="5.75,388,1589266800"; d="scan'208";a="148564003" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2020 18:11:23 -0700 IronPort-SDR: KcA1t6jwF3wl5fqLMdhsib87G5IRnnN7lmdSn2NzFeGiHxAqrkbv5kPf+V0Ltd7oKrEegvxMoa /CrDiqCd+wYg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,388,1589266800"; d="scan'208";a="432925711" Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by orsmga004.jf.intel.com with ESMTP; 23 Jul 2020 18:11:23 -0700 Received: from [10.166.30.253] (10.166.30.253) by ORSMSX101.amr.corp.intel.com (10.22.225.128) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 23 Jul 2020 18:11:22 -0700 To: Fady Bader , CC: , , , , , , , , References: <20200610120040.17968-1-fady@mellanox.com> <20200723070825.6448-1-fady@mellanox.com> From: Ranjit Menon Message-ID: Date: Thu, 23 Jul 2020 18:11:22 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; 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-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.166.30.253] 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 Acked-by: Ranjit Menon