path: root/test
diff options
authorAnatoly Burakov <>2018-10-02 14:34:55 +0100
committerThomas Monjalon <>2018-10-11 11:56:55 +0200
commitf32c7c9de9610ddee29e06a025ae4923d5f9de95 (patch)
tree00dbb5aa375848efba95d57e659dba304ca8b6ee /test
parentc842d1c3b0df74066c951464f6ba2d67205d918b (diff)
malloc: enable event callbacks for external memory
When adding or removing external memory from the memory map, there may be actions that need to be taken on account of this memory (e.g. DMA mapping). Add support for triggering callbacks when adding, removing, attaching or detaching external memory. Some memory event callback handlers will need additional logic to handle external memory regions. For example, virtio callback has to completely ignore externally allocated memory, because there is no way to find file descriptors backing the memory address in a generic fashion. All other callbacks have also been adjusted to handle RTE_BAD_IOVA as IOVA address, as this is one of the expected use cases for external memory support. Signed-off-by: Anatoly Burakov <>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions