From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v2] net/virtio: fix build error with clang Date: Fri, 23 Sep 2016 17:17:18 +0800 Message-ID: <20160923091718.GD23158@yliu-dev.sh.intel.com> References: <1471938058-12385-1-git-send-email-yuanhan.liu@linux.intel.com> <1474611309-20325-1-git-send-email-yuanhan.liu@linux.intel.com> <2180039.Zml4U8GjVQ@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Jerin Jacob To: Thomas Monjalon Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C726F689B for ; Fri, 23 Sep 2016 11:16:50 +0200 (CEST) Content-Disposition: inline In-Reply-To: <2180039.Zml4U8GjVQ@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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