numam-dpdk/lib/librte_mbuf
Olivier Matz e89880957f mbuf: add prefetch helpers
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 the cache line size.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2016-05-24 11:21:14 +02:00
..
Makefile mbuf: remove packet type from offload flags 2015-09-03 19:22:48 +02:00
rte_mbuf_version.map lib: remove redundant definition of local symbols 2015-06-29 18:57:32 +02:00
rte_mbuf.c eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
rte_mbuf.h mbuf: add prefetch helpers 2016-05-24 11:21:14 +02:00