pci: mmap ioports on non-x86 Linux
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 18 May 2016 16:27:30 +0000 (18:27 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 15 Jun 2016 17:06:27 +0000 (19:06 +0200)
commit24e718b4e1039be3c28a93dd17b0f1c825eb82ae
tree6b48c0c9f88db218284928ed178e4bb21cec2016
parent781b587cc4958a411bca3c12f3a33f1d89a5ac6c
pci: mmap ioports on non-x86 Linux

On PPC64, the ioports are mapped in memory. Implement the missing part
of ioport API for PPC64 when using uio. This may also work on other
architectures but it has not been tested.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_eal/common/include/rte_pci.h
lib/librte_eal/linuxapp/eal/eal_pci.c
lib/librte_eal/linuxapp/eal/eal_pci_init.h
lib/librte_eal/linuxapp/eal/eal_pci_uio.c