Re: [dpdk-dev] [PATCH v2] common/octeontx2: fix memory mapping API's usage

2020-09-27 Thread Jerin Jacob
On Thu, Sep 24, 2020 at 4:10 PM Sarosh Arif wrote: > > replace mmap() with rte_mem_map() > and replace munmap() with rte_mem_unmap() > > Fixes: e1d9a02ad8f0 ("common/octeontx2: introduce common device class") > Signed-off-by: Sarosh Arif Updated the commit message to: < common/octeontx2: fix

[dpdk-dev] [PATCH v2] common/octeontx2: fix memory mapping API's usage

2020-09-24 Thread Sarosh Arif
replace mmap() with rte_mem_map() and replace munmap() with rte_mem_unmap() Fixes: e1d9a02ad8f0 ("common/octeontx2: introduce common device class") Signed-off-by: Sarosh Arif --- v2: update description and commit message --- drivers/common/octeontx2/otx2_dev.c | 8 +--- 1 file changed, 5 in