[PATCH v5 1/1] eal: add internal function to get base address
Dmitry Kozlyuk
dmitry.kozliuk at gmail.com
Fri Feb 4 20:28:47 CET 2022
2022-01-18 05:33 (UTC-0800), Srikanth Yalavarthi:
> Added an internal helper to get OS-specific EAL mapping base address
>
> This helper can be used by the drivers to program offload / accelerator
> devices, where the base address can be used as a reference address by
> the accelerator to access the host memory
>
> An address can also be represented as an offset relative to the base
> address using smaller data types
>
> Signed-off-by: Srikanth Yalavarthi <syalavarthi at marvell.com>
> ---
> lib/eal/common/eal_common_config.c | 9 +++++++++
> lib/eal/include/rte_eal.h | 9 +++++++++
> lib/eal/version.map | 1 +
> 3 files changed, 19 insertions(+)
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
More information about the dev
mailing list