[dpdk-dev] [PATCH 1/3] examples/distributor: fix build for non-x86 arch

2016-02-05 Thread Thomas Monjalon
2016-02-05 15:15, Ananyev, Konstantin: > From: Pattan, Reshma > > From: Thomas Monjalon > > > _mm_prefetch is defined only in x86 compilers. > > > rte_prefetch functions are defined in EAL for each arch, and must be > > > preferred > > > over compiler intrinsics. [...] > > > - _mm_

[dpdk-dev] [PATCH 1/3] examples/distributor: fix build for non-x86 arch

2016-02-05 Thread Thomas Monjalon
_mm_prefetch is defined only in x86 compilers. rte_prefetch functions are defined in EAL for each arch, and must be preferred over compiler intrinsics. Fixes: 07db4a975094 ("examples/distributor: new sample app") Signed-off-by: Thomas Monjalon --- examples/distributor/main.c | 8 1 fil

[dpdk-dev] [PATCH 1/3] examples/distributor: fix build for non-x86 arch

2016-02-05 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pattan, Reshma > Sent: Friday, February 05, 2016 3:08 PM > To: Thomas Monjalon > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/3] examples/distributor: fix build for > non-x8

[dpdk-dev] [PATCH 1/3] examples/distributor: fix build for non-x86 arch

2016-02-05 Thread Pattan, Reshma
Hi Thomas, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Friday, February 5, 2016 2:54 PM > To: Richardson, Bruce; Horton, Remy > Cc: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/3] examples/distributor: fix