eal: provide functions to access PCI config
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 20 Jul 2015 16:33:17 +0000 (09:33 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Jul 2015 02:26:38 +0000 (04:26 +0200)
commit632b2d1deeed764ae7248ceb5b1a2354f737a408
treebd731682c868f3c88067e0e811b434959fd4a156
parentd12b6da14bfa910fbd5b9b51961eb26466302d24
eal: provide functions to access PCI config

Some drivers need ability to access PCI config (for example for power
management). This adds an abstraction to do this for both Linux
and BSD.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Harish Patil <harish.patil@qlogic.com>
lib/librte_eal/bsdapp/eal/eal_pci.c
lib/librte_eal/bsdapp/eal/rte_eal_version.map
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
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c
lib/librte_eal/linuxapp/eal/rte_eal_version.map