[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-06-21 Thread Olivier Matz
Hi, On 06/02/2016 11:30 AM, Jerin Jacob wrote: > On Thu, Jun 02, 2016 at 05:04:13PM +0800, Jianbo Liu wrote: >> On 1 June 2016 at 14:00, Jerin Jacob >> wrote: >>> On Wed, Jun 01, 2016 at 11:29:47AM +0800, Jianbo Liu wrote: On 1 June 2016 at 03:28, Olivier MATZ wrote: > Hi Jianbo, >

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-06-02 Thread Jianbo Liu
On 2 June 2016 at 15:10, Olivier MATZ wrote: > Hi Jianbo, > > On 06/01/2016 05:29 AM, Jianbo Liu wrote: >>> enum rte_mbuf_prefetch_type { >>> > PREFETCH0, >>> > PREFETCH1, >>> > ... >>> > }; >>> > >>> > static inline void >>> > rte_mbuf_prefetch_part1(enum rte_mbuf_prefetch_type ty

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-06-02 Thread Jianbo Liu
On 1 June 2016 at 14:00, Jerin Jacob wrote: > On Wed, Jun 01, 2016 at 11:29:47AM +0800, Jianbo Liu wrote: >> On 1 June 2016 at 03:28, Olivier MATZ wrote: >> > Hi Jianbo, >> > >> > On 05/31/2016 05:06 AM, Jianbo Liu wrote: >> >> Change the inline function to macro with parameters >> >> >> >> Signe

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-06-02 Thread Jerin Jacob
On Thu, Jun 02, 2016 at 05:04:13PM +0800, Jianbo Liu wrote: > On 1 June 2016 at 14:00, Jerin Jacob > wrote: > > On Wed, Jun 01, 2016 at 11:29:47AM +0800, Jianbo Liu wrote: > >> On 1 June 2016 at 03:28, Olivier MATZ wrote: > >> > Hi Jianbo, > >> > > >> > On 05/31/2016 05:06 AM, Jianbo Liu wrote:

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-06-02 Thread Olivier MATZ
Hi Jianbo, On 06/01/2016 05:29 AM, Jianbo Liu wrote: >> enum rte_mbuf_prefetch_type { >> > PREFETCH0, >> > PREFETCH1, >> > ... >> > }; >> > >> > static inline void >> > rte_mbuf_prefetch_part1(enum rte_mbuf_prefetch_type type, >> > struct rte_mbuf *m) >> > { >> > sw

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-06-01 Thread Jerin Jacob
On Wed, Jun 01, 2016 at 11:29:47AM +0800, Jianbo Liu wrote: > On 1 June 2016 at 03:28, Olivier MATZ wrote: > > Hi Jianbo, > > > > On 05/31/2016 05:06 AM, Jianbo Liu wrote: > >> Change the inline function to macro with parameters > >> > >> Signed-off-by: Jianbo Liu > >> > >> [...] > >> --- a/lib/l

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-06-01 Thread Jianbo Liu
On 1 June 2016 at 03:28, Olivier MATZ wrote: > Hi Jianbo, > > On 05/31/2016 05:06 AM, Jianbo Liu wrote: >> Change the inline function to macro with parameters >> >> Signed-off-by: Jianbo Liu >> >> [...] >> --- a/lib/librte_mbuf/rte_mbuf.h >> +++ b/lib/librte_mbuf/rte_mbuf.h >> @@ -849,14 +849,15

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-05-31 Thread Olivier MATZ
Hi Jianbo, On 05/31/2016 05:06 AM, Jianbo Liu wrote: > Change the inline function to macro with parameters > > Signed-off-by: Jianbo Liu > > [...] > --- a/lib/librte_mbuf/rte_mbuf.h > +++ b/lib/librte_mbuf/rte_mbuf.h > @@ -849,14 +849,15 @@ struct rte_mbuf { > * in the receive path. If the cac

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-05-31 Thread Stephen Hemminger
On Tue, 31 May 2016 08:36:06 +0530 Jianbo Liu wrote: > Change the inline function to macro with parameters > > Signed-off-by: Jianbo Liu Going from typed (inline) to untyped (macro) is a step backwards in code safety.

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-05-31 Thread Jianbo Liu
Change the inline function to macro with parameters Signed-off-by: Jianbo Liu --- drivers/net/fm10k/fm10k_rxtx_vec.c | 8 drivers/net/i40e/i40e_rxtx_vec.c| 8 drivers/net/ixgbe/ixgbe_rxtx_vec.c | 8 drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 12