From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wu, Jingjing" Subject: Re: [PATCH v2] testpmd: fix build on FreeBSD Date: Wed, 23 Mar 2016 02:17:06 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F8DDB9F2@SHSMSX104.ccr.corp.intel.com> References: <1458524684-13539-1-git-send-email-yong.liu@intel.com> <1458629413-24771-1-git-send-email-yong.liu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "Liu, Yong" To: "Liu, Yong" , "dev@dpdk.org" Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 21B6A2B9C for ; Wed, 23 Mar 2016 03:17:09 +0100 (CET) In-Reply-To: <1458629413-24771-1-git-send-email-yong.liu@intel.com> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Marvin Liu > Sent: Tuesday, March 22, 2016 2:50 PM > To: dev@dpdk.org > Cc: Liu, Yong > Subject: [dpdk-dev] [PATCH v2] testpmd: fix build on FreeBSD >=20 > Build log: > /root/dpdk/app/test-pmd/cmdline.c:6687:45: error: no member named > 's6_addr32' in 'struct in6_addr' > rte_be_to_cpu_32(res->ip_value.addr.ipv6.s6_addr32[i]); >=20 > This is caused by macro "s6_addr32" not defined on FreeBSD and testpmd > swap big endian parameter to host endian. Move the swap action to i40e > ethdev will fix this issue. >=20 > Fixes: 7b1312891b69 ("ethdev: add IP in GRE tunnel") >=20 > Signed-off-by: Marvin Liu Acked-by: Jingjing Wu