[dpdk-dev] [dpdk-stable] [PATCH v4 1/5] mem: add function for checking memsegs IOVAs addresses

Eelco Chaudron echaudro at redhat.com
Wed Jul 11 12:12:42 CEST 2018



On 10 Jul 2018, at 19:25, 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.
>
> Applicable to v17.11.3 only.
>
> Signed-off-by: Alejandro Lucero <alejandro.lucero at netronome.com>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
Looks good to me.

Acked-by: Eelco Chaudron <echaudro at redhat.com>



More information about the dev mailing list