common/octeontx2: fix memory mapping API usage
authorSarosh Arif <sarosh.arif@emumba.com>
Thu, 24 Sep 2020 10:39:32 +0000 (15:39 +0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:11 +0000 (19:19 +0200)
commit0f9ac2afa62ebacd24f36a3b98272b7146be3edd
tree05ae0ece9390f2d20f8b72b7bdbecf7016cc076b
parent27e27ec62999fa91b2a4865d6909ccbb5118eb26
common/octeontx2: fix memory mapping API usage

Replace mmap() and munmap() APIs with EAL abstraction for the same.

Fixes: e1d9a02ad8f0 ("common/octeontx2: introduce common device class")
Cc: stable@dpdk.org
Signed-off-by: Sarosh Arif <sarosh.arif@emumba.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/octeontx2/otx2_dev.c