2022-01-18 05:29 (UTC+0000), Srikanth Yalavarthi:
> Hi Dmitry,
>
> This is to cater to use cases where chunks of memory are allocated by the
> host / application, and would like to represent it as an offset from the
> Linux virtual base address. One use case is for a firmware running on an
> accelerator, this can be used as reference address to access host memory.
>
> Another situation can be to use the offset as an identifier for the memory
> using smaller data types
Thank you, the intent is clear now. It is worth adding to the commit log.
On the implementation: eal_get_baseaddr() does not respect --base-virtaddr,
you probably want something like what eal_get_virtual_area() uses:
internal_conf->base_virtaddr != 0 ?
internal_conf->base_virtaddr : eal_get_baseaddr()
P.S. Please avoid top-posting.