numam-dpdk/drivers
Gagandeep Singh c5e6bc12a3 common/dpaax: fix physical address conversion
If some of the VA entries of table are somehow not populated and are
NULL, it can add offset to NULL and return the invalid VA in PA to
VA conversion.

In this patch, adding a check if the VA entry has valid address only
then add offset and return VA.

Fixes: 2f3d633aa5 ("common/dpaax: add library for PA/VA translation table")
Cc: stable@dpdk.org

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
2021-10-07 14:47:35 +02:00
..
baseband version: 21.11-rc0 2021-08-17 08:37:52 +02:00
bus bus/fslmc: add qbman debug 2021-10-07 11:42:21 +02:00
common common/dpaax: fix physical address conversion 2021-10-07 14:47:35 +02:00
compress compress/mlx5: refactor HW queue object 2021-10-05 18:15:40 +02:00
crypto common/mlx5: share DevX queue pair operations 2021-10-05 18:15:40 +02:00
event cryptodev: expose driver interface as internal 2021-09-08 09:35:12 +02:00
mempool mempool/stack: build on Windows 2021-10-01 16:46:05 +02:00
net net/dpaa: explain behaviour with FMC policy 2021-10-07 14:47:35 +02:00
raw raw/dpaa2_qdma: remove datapath checks for lcore ID 2021-10-07 14:47:35 +02:00
regex regex/mlx5: refactor HW queue objects 2021-10-05 18:15:40 +02:00
vdpa common/mlx5: share DevX queue pair operations 2021-10-05 18:15:40 +02:00
meson.build build: fix essential drivers in disable list 2021-09-15 11:00:15 +02:00