On Thu, Jan 21, 2016 at 3:12 PM, David Marchand <david.marchand at 6wind.com> wrote: > Santosh, > > On Tue, Jan 19, 2016 at 12:46 PM, Santosh Shukla <sshukla at mvista.com> > 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 <sshukla at mvista.com> >> --- >> 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. > >
for both, agreed. Sending v6 for this patch now, Thanks! > Regards, > -- > David Marchand