From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f169.google.com (mail-yw0-f169.google.com [209.85.161.169]) by dpdk.org (Postfix) with ESMTP id 7CA649AC1 for ; Mon, 20 Jun 2016 05:19:21 +0200 (CEST) Received: by mail-yw0-f169.google.com with SMTP id i12so16185747ywa.1 for ; Sun, 19 Jun 2016 20:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=of0RKpQnPL+eqRy50AmzP3th5Dyg9gyNVohAnVBtRL8=; b=FrDaD7ZfBLMoT3Rayen8N/4hLoc3kkJduQs6e9/CEgAAbEe0Zawhmd/otQylJa2Fe6 vTZwYaWArTS80ktYyTAZLdBTP50VCEtQOJB3c3kuMPejT2ShJdmpdcRU+D77wL2lnz5W i96C7DnRE5aw+Iau2X5tsijYlATLJmH3NMFbU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=of0RKpQnPL+eqRy50AmzP3th5Dyg9gyNVohAnVBtRL8=; b=QEIjy70QSFqXuPtu4SDPdPhB07j8SCcm55SnIl0+3Qq0q6JsybjXUsQWEFPt8MRggt YRCaSuLpkTJhMiRETS7YAxa+WtQSBUMsOKb6XelDmgWjFy3RTN+03dv+buY+R9S2Z0nE X8yb9Ct7O7gy+rUE0X1Y5QPWRLezQLkYh/cJatFM5uRAq3rjU61dox342nbw/PYuAijJ Dhf38ueaM407lznPaffDqX2cT021mpRXTdPgIYsPbudfWuCY6xZLVQaIEMOu4/5TJFC3 CqBiqc0SY0vafOKBLPQsT5EFwuXQq1oIlKPPvnhPYyLz6uXpnfGAYKwR1XEla6Tye8fB CTqg== X-Gm-Message-State: ALyK8tKS422SGEQmG8n0HBj7KjqOkWMVHWRknQqLX/pplrTCLoplXa62ubs9BS36LJH4zuxgswiYjO+x7RA/zkXE X-Received: by 10.37.10.4 with SMTP id 4mr7585425ybk.160.1466392760884; Sun, 19 Jun 2016 20:19:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.218.135 with HTTP; Sun, 19 Jun 2016 20:19:19 -0700 (PDT) In-Reply-To: <1466172404-14120-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1466172404-14120-1-git-send-email-jerin.jacob@caviumnetworks.com> From: Jianbo Liu Date: Mon, 20 Jun 2016 11:19:19 +0800 Message-ID: To: Jerin Jacob Cc: dev@dpdk.org, Thomas Monjalon , Bruce Richardson , "Zhang, Helin" , "Ananyev, Konstantin" Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-dev] [PATCH] ixgbe: use rte_mbuf_prefetch_part2 for cacheline1 access X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 03:19:21 -0000 On 17 June 2016 at 22:06, Jerin Jacob wrote: > made second cache line access behavior same as IA > > Signed-off-by: Jerin Jacob > --- > drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c b/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c > index 9c1d124..64a329e 100644 > --- a/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c > +++ b/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c > @@ -280,10 +280,10 @@ _recv_raw_pkts_vec(struct ixgbe_rx_queue *rxq, struct rte_mbuf **rx_pkts, > vst1q_u64((uint64_t *)&rx_pkts[pos + 2], mbp2); > > if (split_packet) { > - rte_prefetch_non_temporal(&rx_pkts[pos]->cacheline1); > - rte_prefetch_non_temporal(&rx_pkts[pos + 1]->cacheline1); > - rte_prefetch_non_temporal(&rx_pkts[pos + 2]->cacheline1); > - rte_prefetch_non_temporal(&rx_pkts[pos + 3]->cacheline1); > + rte_mbuf_prefetch_part2(rx_pkts[pos]); > + rte_mbuf_prefetch_part2(rx_pkts[pos + 1]); > + rte_mbuf_prefetch_part2(rx_pkts[pos + 2]); > + rte_mbuf_prefetch_part2(rx_pkts[pos + 3]); > } > > /* D.1 pkt 3,4 convert format from desc to pktmbuf */ > -- > 2.5.5 > Reviewed-by: Jianbo Liu