+52
−16
Loading
We still use the 2MB translation for vtophys mappings if possible and will only switch to 4KB if it's necessary (i.e. the registered memory isn't 2MB aligned). The highest bit in the physical address is used to differentiate between the two types of mappings. Change-Id: Ida506fffb6ca9d9e8cecdab9d538dabd84c0fe9a Signed-off-by:Konrad Sztyber <ksztyber@nvidia.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26220 Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <ben@nvidia.com>