From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 0F2DA475E for ; Tue, 24 May 2016 11:20:58 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id z87so11927892wmh.1 for ; Tue, 24 May 2016 02:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=fBO1C8a6h7HKKEvzW0vuhQNxuF//eB4Rx0VoC3HHtEM=; b=pVQhTQ1k9D0HPJ6sySg3b3a3J49s+irpcHRpQmfjfgqOW4zfdDYzKDkwfGeriNvgb6 okRO1HSm6LUE9szav0qqFqSzVYEv+ViB/hRQdsRlQa0ZH/IXlJlRcga6KHmL7d/eIR5U tTb4amnyX5m6GTH34Fzggfr49AigSGUMKwJZjt9cL36t/tBLggr9GmGLm5hp6sBBbyuX JhMgInHg0yWlbSXT+SZcc9YU9HZjJAipO/1kRheXRtmMFuxbXyfip4UkAG0dWq0i2P8v X49kWRPwauLGIQ6aVrIIulL/MPe/p1UN2pKTqT4xb6uou8Bx1EteS4pjD316Wz2gS4Xm ppoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=fBO1C8a6h7HKKEvzW0vuhQNxuF//eB4Rx0VoC3HHtEM=; b=BeWIUCT5zZH9TT/Mkp65B8GWk2sQN2lSJVlqXsBKA9/3XLLP3PlF290JKANtk75j09 BeCU7wAhXTz+z/M23BC7sB8XOH0LSIgpObQgO4BYU9dN1FYvBQ+Gc8U1wjuIAfGEb1DQ vym8BUJDg+qu5YnQUGGr2cdaWt9UGKHHNXxDRuWYhwCr+Tc871cYtsb0EOP6W9Szv/GA hHu5S8Ii7GPa9+xCCd8dCynk4/8Ooa1WkyGAt9nPXD7kbnhgCX5/GNlDzi3BKsjdHgCC SKN/dJgNnjoYRqY24ulhbfzqaBytAns4C4dCSP2SJtM9DRph4XaRantar1S7VKWFeH8+ 1dqw== X-Gm-Message-State: AOPr4FXJHC4uxfoTttIhC+P6BmaKNa98p5ImWgz0ROS9HzILvY+Aipwe79Orm5yNQjQdXIdx X-Received: by 10.28.161.198 with SMTP id k189mr22179454wme.23.1464081657885; Tue, 24 May 2016 02:20:57 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id ug8sm2089093wjc.42.2016.05.24.02.20.56 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 May 2016 02:20:57 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Cc: Jerin Jacob , dev@dpdk.org, keith.wiles@intel.com Date: Tue, 24 May 2016 11:20:56 +0200 Message-ID: <2117813.iBeYbIPbsz@xps13> User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20160519064653.GA4790@localhost.localdomain> References: <1462810707-7434-1-git-send-email-olivier.matz@6wind.com> <1463587328-13019-1-git-send-email-olivier.matz@6wind.com> <20160519064653.GA4790@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] mbuf: add helpers to prefetch mbuf 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: Tue, 24 May 2016 09:20:58 -0000 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 > > Reviewed-by: Jerin Jacob Applied, thanks