From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] net/thunderx: check data offset alignment requirement Date: Tue, 14 Mar 2017 15:39:29 +0000 Message-ID: <4580e948-8e37-a9f2-ec4e-eb594f1e1123@intel.com> References: <1488631615-5452-1-git-send-email-jerin.jacob@caviumnetworks.com> <1489392131-9293-1-git-send-email-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: hemant.agrawal@nxp.com To: Jerin Jacob , dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id EA50D3777 for ; Tue, 14 Mar 2017 16:39:33 +0100 (CET) In-Reply-To: <1489392131-9293-1-git-send-email-jerin.jacob@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 3/13/2017 8:02 AM, Jerin Jacob wrote: > nicvf HW expects the DMA address of the packet data to be > aligned with cache line size. > > Packet data offset is a function of struct mbuf size, > mbuf private size and headroom. mbuf private size can > be changed from the application in pool creation, this > check detects HW alignment requirement constraint in pmd > start function. > > Signed-off-by: Jerin Jacob > Acked-by: Hemant Agrawal Applied to dpdk-next-net/master, thanks.