e89880957f
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> |
||
---|---|---|
.. | ||
Makefile | ||
rte_mbuf_version.map | ||
rte_mbuf.c | ||
rte_mbuf.h |