From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH 7/7] eal/mem: use DMA mask check for legacy memory Date: Thu, 1 Nov 2018 14:28:20 +0000 Message-ID: <543d1d8c-5dd5-e88f-3b9a-8aefe0add6d9@intel.com> References: <20181031172931.11894-1-alejandro.lucero@netronome.com> <20181031172931.11894-8-alejandro.lucero@netronome.com> <545549d1-ba39-96e3-6bf9-219f9f5cba54@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev To: Alejandro Lucero Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 01BA4683E for ; Thu, 1 Nov 2018 15:28:23 +0100 (CET) In-Reply-To: Content-Language: en-US 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 01-Nov-18 1:39 PM, Alejandro Lucero wrote: > > > On Thu, Nov 1, 2018 at 10:40 AM Burakov, Anatoly > > wrote: > > On 31-Oct-18 5:29 PM, Alejandro Lucero wrote: > > If a device reports addressing limitations through a dma mask, > > the IOVAs for mapped memory needs to be checked out for ensuring > > correct functionality. > > > > Previous patches introduced this DMA check for main memory code > > currently being used but other options like legacy memory and the > > no hugepages one need to be also considered. > > > > This patch adds the DMA check for those cases. > > > > Signed-off-by: Alejandro Lucero > > > --- > > IMO this needs to be integrated with patch 5. > > > Not sure about this. patch 5 is a follow-up of patch 4, and this is to > add support for other EAL supported memory options. > So it's a followup of patch 5, adding pretty much the same functionality (only in a different place). It's pretty safe to say these should be in the same patch, or at the very least one after the other. -- Thanks, Anatoly