Re: [dpdk-dev] [PATCH v8 2/9] pci: use OS generic memory mapping functions

2020-06-22 Thread Dmitry Kozlyuk
On Mon, 22 Jun 2020 10:55:22 +0300 tal...@mellanox.com wrote: [snip] > @@ -176,10 +177,10 @@ pci_unmap_resource(void *requested_addr, size_t size) > return; > > /* Unmap the PCI memory resource of device */ > - if (munmap(requested_addr, size)) { > - RTE_LOG(E

[dpdk-dev] [PATCH v8 2/9] pci: use OS generic memory mapping functions

2020-06-22 Thread talshn
From: Tal Shnaiderman Changing all of PCIs Unix memory mapping to the new memory allocation API wrapper. Change all of PCI mapping function usage in bus/pci to support the new API. Signed-off-by: Tal Shnaiderman --- drivers/bus/pci/bsd/pci.c | 2 +- drivers/bus/pci/linux/pci_uio.c