Santosh,
On Tue, Jan 19, 2016 at 12:46 PM, Santosh Shukla [off-list ref] wrote:
Introducing below api for pci bar space rd/wr. Currently used for
pci iobar rd/wr.
Api's are:
- rte_eal_pci_read_bar
- rte_eal_pci_write_bar
virtio when used for vfio-mode then virtio driver will use these api
to do rd/wr operation on ioport pci bar.
Signed-off-by: Santosh Shukla <redacted>
---
v4--> v5:
- added switch case in rd/wr pci_bar routine, as per Yuan comment
lib/librte_eal/common/include/rte_pci.h | 38 ++++++++++++++++++++++++++++
lib/librte_eal/linuxapp/eal/eal_pci.c | 34 +++++++++++++++++++++++++
lib/librte_eal/linuxapp/eal/eal_pci_init.h | 6 +++++
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 28 ++++++++++++++++++++
4 files changed, 106 insertions(+)
- What about BSD ?
Empty stub ?
- Those are new symbols, you must update rte_eal_version.map.
Regards,
--
David Marchand