[dpdk-dev] [PATCH v2] testpmd: fix build on FreeBSD

2016-03-25 Thread Thomas Monjalon
2016-03-25 12:15, Bruce Richardson: > On Fri, Mar 25, 2016 at 12:10:40PM +, Bruce Richardson wrote: > > On Wed, Mar 23, 2016 at 04:17:12PM +0100, Thomas Monjalon wrote: > > > 2016-03-23 02:17, Wu, Jingjing: > > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marvin Liu > > > > > Bui

[dpdk-dev] [PATCH v2] testpmd: fix build on FreeBSD

2016-03-25 Thread Bruce Richardson
On Fri, Mar 25, 2016 at 12:10:40PM +, Bruce Richardson wrote: > On Wed, Mar 23, 2016 at 04:17:12PM +0100, Thomas Monjalon wrote: > > 2016-03-23 02:17, Wu, Jingjing: > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marvin Liu > > > > Build log: > > > > /root/dpdk/app/test-pmd/cmdlin

[dpdk-dev] [PATCH v2] testpmd: fix build on FreeBSD

2016-03-25 Thread Bruce Richardson
On Wed, Mar 23, 2016 at 04:17:12PM +0100, Thomas Monjalon wrote: > 2016-03-23 02:17, Wu, Jingjing: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marvin Liu > > > Build log: > > > /root/dpdk/app/test-pmd/cmdline.c:6687:45: error: no member named > > > 's6_addr32' in 'struct in6_addr' >

[dpdk-dev] [PATCH v2] testpmd: fix build on FreeBSD

2016-03-23 Thread Thomas Monjalon
2016-03-23 02:17, Wu, Jingjing: > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marvin Liu > > 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]); > > > > Thi

[dpdk-dev] [PATCH v2] testpmd: fix build on FreeBSD

2016-03-23 Thread Liu, Yong
> -Original Message- > From: Qiu, Michael > Sent: Tuesday, March 22, 2016 5:05 PM > To: Liu, Yong; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] testpmd: fix build on FreeBSD > > On 3/22/2016 2:51 PM, Marvin Liu wrote: > > Build log: > > /root/dp

[dpdk-dev] [PATCH v2] testpmd: fix build on FreeBSD

2016-03-23 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marvin Liu > Sent: Tuesday, March 22, 2016 2:50 PM > To: dev at dpdk.org > Cc: Liu, Yong > Subject: [dpdk-dev] [PATCH v2] testpmd: fix build on FreeBSD > > Build log: > /root/dpdk/

[dpdk-dev] [PATCH v2] testpmd: fix build on FreeBSD

2016-03-22 Thread Marvin Liu
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]); This is caused by macro "s6_addr32" not defined on FreeBSD and testpmd swap big endian parameter to host endian. Move the swap a

[dpdk-dev] [PATCH v2] testpmd: fix build on FreeBSD

2016-03-22 Thread Qiu, Michael
On 3/22/2016 2:51 PM, Marvin Liu wrote: > 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]); > > This is caused by macro "s6_addr32" not defined on FreeBSD and testpmd > swap