Re: [dpdk-dev] [PATCH v10 02/18] lib: create private header file

2017-03-16 Thread Thomas Monjalon
2017-03-16 10:43, Hunt, David: > On 15/3/2017 5:18 PM, Thomas Monjalon wrote: > > 2017-03-15 06:19, David Hunt: > >> +/** > >> + * Number of packets to deal with in bursts. Needs to be 8 so as to > >> + * fit in one cache line. > >> + */ > >> +#define RTE_DIST_BURST_SIZE (sizeof(rte_xmm_t) / sizeof

Re: [dpdk-dev] [PATCH v10 02/18] lib: create private header file

2017-03-16 Thread Hunt, David
On 15/3/2017 5:18 PM, Thomas Monjalon wrote: 2017-03-15 06:19, David Hunt: +/** + * Number of packets to deal with in bursts. Needs to be 8 so as to + * fit in one cache line. + */ +#define RTE_DIST_BURST_SIZE (sizeof(rte_xmm_t) / sizeof(uint16_t)) error: 'rte_xmm_t' undeclared here (arm compil

Re: [dpdk-dev] [PATCH v10 02/18] lib: create private header file

2017-03-15 Thread Thomas Monjalon
2017-03-15 06:19, David Hunt: > +/** > + * Number of packets to deal with in bursts. Needs to be 8 so as to > + * fit in one cache line. > + */ > +#define RTE_DIST_BURST_SIZE (sizeof(rte_xmm_t) / sizeof(uint16_t)) error: 'rte_xmm_t' undeclared here (arm compilation) Can it be fixed by including r

[dpdk-dev] [PATCH v10 02/18] lib: create private header file

2017-03-15 Thread David Hunt
We'll be adding internal implementation definitions in here that are common to both burst and legacy APIs. Signed-off-by: David Hunt Acked-by: Bruce Richardson --- lib/librte_distributor/rte_distributor_private.h | 136 +++ lib/librte_distributor/rte_distributor_v20.c |