From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH v2 1/6] mem: add function for checking memsegs IOVAs addresses Date: Tue, 3 Jul 2018 13:37:44 +0100 Message-ID: <4249d078-f24d-43e1-d3ae-1ccc04634882@intel.com> References: <1530619789-33337-1-git-send-email-alejandro.lucero@netronome.com> <1530619789-33337-2-git-send-email-alejandro.lucero@netronome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@dpdk.org, maxime.coquelin@redhat.com To: Alejandro Lucero , dev@dpdk.org Return-path: In-Reply-To: <1530619789-33337-2-git-send-email-alejandro.lucero@netronome.com> 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 03-Jul-18 1:09 PM, Alejandro Lucero wrote: > A device can suffer addressing limitations. This functions checks > memsegs have iovas within the supported range based on dma mask. > > PMD should use this during initialization if supported devices > suffer addressing limitations, returning an error if this function > returns memsegs out of range. > > Another potential usage is for emulated IOMMU hardware with addressing > limitations. > > Signed-off-by: Alejandro Lucero > --- Missing .map file addition. Other than that, Acked-by: Anatoly Burakov -- Thanks, Anatoly