From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489505974; x=1521041974; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=bsL2tH8EXXAhqIWbsS95+qWr00T9kkL7/1WvHWK8GTE=; b=Abb6B1+kJQwTW1iqlR3O3JVDm8yDeXTR1O0J3G0S0cGbYpSgX5iUJ9XX 3oT/JdqyxQX65hD8t5r58h6uKmK+2g==; Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2017 08:39:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,164,1486454400"; d="scan'208";a="76530235" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.122]) ([10.237.220.122]) by fmsmga006.fm.intel.com with ESMTP; 14 Mar 2017 08:39:30 -0700 To: Jerin Jacob , dev@dpdk.org References: <1488631615-5452-1-git-send-email-jerin.jacob@caviumnetworks.com> <1489392131-9293-1-git-send-email-jerin.jacob@caviumnetworks.com> Cc: hemant.agrawal@nxp.com From: Ferruh Yigit Message-ID: <4580e948-8e37-a9f2-ec4e-eb594f1e1123@intel.com> Date: Tue, 14 Mar 2017 15:39:29 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1489392131-9293-1-git-send-email-jerin.jacob@caviumnetworks.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] net/thunderx: check data offset alignment requirement X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2017 15:39:34 -0000 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.