Th page must be locked, indeed: if the page is swapped out its
physical address does not exist...
_ishm (the internal ODP memory allocator has a flag to lock memory:
_ODP_ISHM_LOCK
On the north API (odp_*), any memory reserved is locked anyway. This
was a requirement from Petri: that is any
One comment inline:
On 11 November 2016 at 22:50, Christophe Milard <
christophe.mil...@linaro.org> wrote:
> The function _odp_ishmphy_virt_to_phys() is added to query for physical
> addresses (given a virtual address)
> This function is meant to be used to populate the physical address
> of
The function _odp_ishmphy_virt_to_phys() is added to query for physical
addresses (given a virtual address)
This function is meant to be used to populate the physical address
of packet segments which are to be used by drivers (without iommu).
The function _odp_ishmphy_can_virt_to_phys(), also