Re: [dpdk-dev] [PATCH v5 2/2] eal/vfio: export internal vfio functions

2018-04-11 Thread Hemant Agrawal
Please, could you rebase on HEAD (on top of Anatoly's patches)? done

Re: [dpdk-dev] [PATCH v5 2/2] eal/vfio: export internal vfio functions

2018-04-11 Thread Thomas Monjalon
04/04/2018 09:48, Hemant Agrawal: > This patch moves some of the internal vfio functions from > eal_vfio.h to rte_vfio.h for common uses with "rte_" prefix. > > This patch also change the FSLMC bus usages from the internal > VFIO functions to external ones with "rte_" prefix > > Signed-off-by: He

Re: [dpdk-dev] [PATCH v5 2/2] eal/vfio: export internal vfio functions

2018-04-05 Thread Wang, Xiao W
ect: Re: [dpdk-dev] [PATCH v5 2/2] eal/vfio: export internal vfio > functions > > 05/04/2018 11:03, Wang, Xiao W: > > > > +int rte_vfio_get_group_num(const char *sysfs_base, const char > *dev_addr, > > > +int *iommu_group_num); > > > +i

Re: [dpdk-dev] [PATCH v5 2/2] eal/vfio: export internal vfio functions

2018-04-05 Thread Thomas Monjalon
05/04/2018 11:03, Wang, Xiao W: > > +int rte_vfio_get_group_num(const char *sysfs_base, const char *dev_addr, > > + int *iommu_group_num); > > +int rte_vfio_get_container_fd(void); > > +int rte_vfio_get_group_fd(int iommu_group_num); > > Considering the "group_no" field defin

Re: [dpdk-dev] [PATCH v5 2/2] eal/vfio: export internal vfio functions

2018-04-05 Thread Wang, Xiao W
Hi Hemant, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Hemant Agrawal > Sent: Wednesday, April 4, 2018 3:49 PM > To: dev@dpdk.org > Cc: Burakov, Anatoly ; tho...@monjalon.net > Subject: [dpdk-dev] [PATCH v5 2/2] eal/vfio: export inter

[dpdk-dev] [PATCH v5 2/2] eal/vfio: export internal vfio functions

2018-04-04 Thread Hemant Agrawal
This patch moves some of the internal vfio functions from eal_vfio.h to rte_vfio.h for common uses with "rte_" prefix. This patch also change the FSLMC bus usages from the internal VFIO functions to external ones with "rte_" prefix Signed-off-by: Hemant Agrawal Acked-by: Anatoly Burakov --- v5: