]> git.droids-corp.org - dpdk.git/commit
eal: add internal function to get base address
authorSrikanth Yalavarthi <syalavarthi@marvell.com>
Tue, 18 Jan 2022 13:33:40 +0000 (05:33 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 8 Feb 2022 22:59:10 +0000 (23:59 +0100)
commitf3ca33bb20925cca90184bd3f05ebedc78a929b2
tree94c03817a4b85cdd9e711c5d822e8c4d4f02b4e3
parent0dff3f26d6faad4e51f75e5245f0387ee9bb0c6d
eal: add internal function to get base address

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@marvell.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/eal/common/eal_common_config.c
lib/eal/include/rte_eal.h
lib/eal/version.map