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

2018-04-03 Thread Hemant Agrawal
On 4/3/2018 1:04 PM, Thomas Monjalon wrote: +/** + * Parse IOMMU group number for a device + * + * This function is only relevant to linux and will return + * an error on BSD. + * + * @return + * 1 on success + * 0 for non-existent group + * <0 for errors + */ +int __rte_experimental +rte_

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

2018-04-03 Thread Thomas Monjalon
03/04/2018 08:27, Hemant Agrawal: > On 3/27/2018 9:23 PM, Thomas Monjalon wrote: > > 14/03/2018 09:00, 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 usag

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

2018-04-02 Thread Hemant Agrawal
Hi Thomas, On 3/27/2018 9:23 PM, Thomas Monjalon wrote: 14/03/2018 09:00, 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 exter

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

2018-03-27 Thread Thomas Monjalon
14/03/2018 09:00, 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] eal/vfio: export internal vfio functions

2018-03-14 Thread Burakov, Anatoly
On 14-Mar-18 8:00 AM, Hemant Agrawal wrote: 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: Hema