[dpdk-dev] [PATCH 1/2] eal: introduce rte_prefetch_non_temporal

2016-02-11 Thread Jan Viktorin
I am OK with this patch. On Sun, 6 Dec 2015 20:54:29 +0530 Jerin Jacob wrote: > non-temporal/transient/stream version of rte_prefetch0() > > The non-temporal prefetch is intended as a prefetch hint that processor > will use the prefetched data only once or short period, > unlike the rte_prefetc

[dpdk-dev] [PATCH 1/2] eal: introduce rte_prefetch_non_temporal

2016-02-11 Thread Thomas Monjalon
Please arch maintainers, your ack would be appreciated. 2015-12-06 20:54, Jerin Jacob: > +static inline void rte_prefetch_non_temporal(const volatile void *p) > +{ > + rte_prefetch0(p); > +} A comment about using the same instruction for temporal and non-temporal? > +/** > + * Prefetch a cac

[dpdk-dev] [PATCH 1/2] eal: introduce rte_prefetch_non_temporal

2015-12-06 Thread Jerin Jacob
non-temporal/transient/stream version of rte_prefetch0() The non-temporal prefetch is intended as a prefetch hint that processor will use the prefetched data only once or short period, unlike the rte_prefetch0() function which imply that prefetched data to use repeatedly. Signed-off-by: Jerin Jac