Re: [PATCH v5 05/11] eal: pci: vfio: add rd/wr func for pci bar space
From: Santosh Shukla <hidden>
Date: 2016-01-21 10:08:08
On Thu, Jan 21, 2016 at 3:12 PM, David Marchand [off-list ref] wrote:
Santosh, On Tue, Jan 19, 2016 at 12:46 PM, Santosh Shukla [off-list ref] wrote:quoted
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.
for both, agreed. Sending v6 for this patch now, Thanks!
Regards, -- David Marchand