[dpdk-dev] [PATCH 1/2 v2] examples/distributor: Fix compile issue

2015-11-27 Thread Thomas Monjalon
> > examples/distributor/main.c(338): error #167: > > argument of type "struct rte_mbuf *" > > is incompatible with parameter of type "const char *" > > _mm_prefetch(bufs[0], 0); > > > > The first param pass to _mm_prefetch is wrong, > > need convert "struct rte_mbuf *" to "voi

[dpdk-dev] [PATCH 1/2 v2] examples/distributor: Fix compile issue

2015-11-27 Thread De Lara Guarch, Pablo
> -Original Message- > From: Qiu, Michael > Sent: Friday, November 27, 2015 3:36 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; thomas.monjalon at 6wind.com; Qiu, Michael > Subject: [PATCH 1/2 v2] examples/distributor: Fix compile issue > > examples/distributor/main.c(338): error

[dpdk-dev] [PATCH 1/2 v2] examples/distributor: Fix compile issue

2015-11-27 Thread Michael Qiu
examples/distributor/main.c(338): error #167: argument of type "struct rte_mbuf *" is incompatible with parameter of type "const char *" _mm_prefetch(bufs[0], 0); The first param pass to _mm_prefetch is wrong, need convert "struct rte_mbuf *" to "void *". Fixes: 07db4a9750