[dpdk-dev] [PATCH v2] net/virtio: fix build error with clang

Yuanhan Liu yuanhan.liu at linux.intel.com
Fri Sep 23 11:17:18 CEST 2016


On Fri, Sep 23, 2016 at 10:31:12AM +0200, Thomas Monjalon wrote:
> 2016-09-23 14:15, Yuanhan Liu:
> > -	_mm_prefetch((const void *)rused, _MM_HINT_T0);
> > +	rte_prefetch0(rused);
> 
> There are other occurences of _mm_prefetch in other drivers.
> It could deserve a patch.

Indeed. I could make a patch to replace them all if you think that's
appropriate.

	--yliu


More information about the dev mailing list