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 74402A04B5; Thu, 10 Sep 2020 21:55:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DCC9C1DB8; Thu, 10 Sep 2020 21:55:47 +0200 (CEST) Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) by dpdk.org (Postfix) with ESMTP id 71AE2255 for ; Thu, 10 Sep 2020 21:55:46 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id A736C58021B; Thu, 10 Sep 2020 15:55:45 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 10 Sep 2020 15:55:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= bCUgTpQAxzIQFo/FQBu2OJ+cEG8mMM7o2+4EznKuQNY=; b=egYV/NU+mITMJBc3 voty9k5EBiu3JmONvm0v2Quurt8j8TvW8px+bQgtZqf84ZNN+V2STOwvxx8q/fSu qTyROWXFEZaJwUVWlaOpJxVhLZsDy3zoqabYMIUoFGoSYXIHkx6Oss1uOzI/sneN lq5h9fBISg1NX5i7dAf+tWlAsjO9uwdWOipqSdoG3oqCEUeYmeKjdwu39viGpAaS R1hQY/MWeWWueUNpkrkC3W8PSEfP7Fuz7p8cPBC5258LwzqT8fEQ4D1RBvl7fhtJ jMyTQ7XnXI2Xid+qUK5Vx1ruCptRFKXNvNrHVVJNJodd6DdaedgTASPgI4lLruui zEQ9Ww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=bCUgTpQAxzIQFo/FQBu2OJ+cEG8mMM7o2+4EznKuQ NY=; b=nKe0NHccyL5rp6bPUl70CYvEOqNUAClfrfH9XFvQZjUklhwyNCAPzflld vVulfF1PdztAnuAMApgsgvlKK+5ISgSDdQ9C2dLxHTizNGLcMpWVEneIvco41Q1m 9GE6t5sxfAjv72fQ21qYqqXMlTJnh1aRajQOXm/gqkdbCGO6n4mVZRbC55EOmkVG HQGWO0zHJzMDJv72T+ffb35wkSA9excK2SP2hsSauS5KpOxA2uNGSNbY4UDD5Y4D Y03WF3KT9zrfHVnptguPqzbfXGIefMt0AJo+yzO/UZb9IzHji94MSiPwPS2yuuqW xtIPzpXahymKfHkG4MemnneV11Mlg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehjedgudefiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C6E673280063; Thu, 10 Sep 2020 15:55:43 -0400 (EDT) From: Thomas Monjalon To: Fady Bader Cc: dev@dpdk.org, tbashar@mellanox.com, talshn@mellanox.com, yohadt@mellanox.com, dmitry.kozliuk@gmail.com, harini.ramakrishnan@microsoft.com, ocardona@microsoft.com, pallavi.kadam@intel.com, olivier.matz@6wind.com, Ranjit Menon Date: Thu, 10 Sep 2020 21:55:41 +0200 Message-ID: <2472791.3sMhhApBq9@thomas> In-Reply-To: References: <20200610120040.17968-1-fady@mellanox.com> <20200723070825.6448-1-fady@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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" 24/07/2020 03:11, Ranjit Menon: > 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 Tested-by: Pallavi Kadam Applied with ICMP added as Ophir requested, and some rewording.