numam-dpdk/examples/ipsec-secgw
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
..
esp.c eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
esp.h
ipip.h eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
ipsec-secgw.c mbuf: add prefetch helpers 2016-05-24 11:21:14 +02:00
ipsec.c eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
ipsec.h eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
Makefile examples: fix build with icc 15.0.1 2016-04-04 15:05:40 +02:00
rt.c examples/ipsec-secgw: fix build on FreeBSD 2016-03-31 22:27:41 +02:00
sa.c examples/ipsec-secgw: fix anonymous union initialization 2016-04-08 22:28:39 +02:00
sp.c examples/ipsec-secgw: fix build on FreeBSD 2016-03-31 22:27:41 +02:00