[dpdk-dev] [PATCH v2] mbuf: add helpers to prefetch mbuf
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue May 24 11:20:56 CEST 2016
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.
> >
> > 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 at 6wind.com>
>
> Reviewed-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
Applied, thanks
More information about the dev
mailing list