[dpdk-dev] [PATCH v2] mbuf: add helpers to prefetch mbuf

2016-05-24 Thread Thomas Monjalon
2016-05-19 12:16, Jerin Jacob: > On Wed, May 18, 2016 at 06:02:08PM +0200, Olivier Matz wrote: > > Some architectures (ex: Power8) have a cache line size of 128 bytes, > > so the drivers should not expect that prefetching the second part of > > the mbuf with rte_prefetch0(&m->cacheline1) is valid.

[dpdk-dev] [PATCH v2] mbuf: add helpers to prefetch mbuf

2016-05-19 Thread Jerin Jacob
On Wed, May 18, 2016 at 06:02:08PM +0200, Olivier Matz wrote: > Some architectures (ex: Power8) have a cache line size of 128 bytes, > so the drivers should not expect that prefetching the second part of > the mbuf with rte_prefetch0(&m->cacheline1) is valid. > > This commit add helpers that can b

[dpdk-dev] [PATCH v2] mbuf: add helpers to prefetch mbuf

2016-05-18 Thread Olivier Matz
Some architectures (ex: Power8) have a cache line size of 128 bytes, so the drivers should not expect that prefetching the second part of the mbuf with rte_prefetch0(&m->cacheline1) is valid. This commit add helpers that can be used by drivers to prefetch the rx or tx part of the mbuf, whatever th