[dpdk-dev,v4,07/21] eal/vfio: adding vfio utility functions in map file

Message ID 1491917847-3935-8-git-send-email-hemant.agrawal@nxp.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Hemant Agrawal April 11, 2017, 1:37 p.m. UTC
  adding extra vfio utility functions to map file.
They will be used by other vfio supported buses like fslmc bus
for NXP DPAA2 devices

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
 lib/librte_eal/bsdapp/eal/rte_eal_version.map   | 3 +++
 lib/librte_eal/linuxapp/eal/rte_eal_version.map | 3 +++
 2 files changed, 6 insertions(+)
  

Comments

Ferruh Yigit April 12, 2017, 1:49 p.m. UTC | #1
On 4/11/2017 2:37 PM, Hemant Agrawal wrote:
> adding extra vfio utility functions to map file.
> They will be used by other vfio supported buses like fslmc bus
> for NXP DPAA2 devices
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>

<...>

> @@ -184,6 +184,9 @@ DPDK_17.02 {
>  	rte_bus_register;
>  	rte_bus_scan;
>  	rte_bus_unregister;
> +	vfio_get_container_fd;
> +	vfio_get_group_fd;
> +	vfio_get_group_no;

Moved to DPDK_17.05 instead of DPDK_17.02 while applying.

>  
>  } DPDK_16.11
  
Shreyansh Jain April 13, 2017, 6:47 a.m. UTC | #2
On Wednesday 12 April 2017 07:19 PM, Ferruh Yigit wrote:
> On 4/11/2017 2:37 PM, Hemant Agrawal wrote:
>> adding extra vfio utility functions to map file.
>> They will be used by other vfio supported buses like fslmc bus
>> for NXP DPAA2 devices
>>
>> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
>
> <...>
>
>> @@ -184,6 +184,9 @@ DPDK_17.02 {
>>  	rte_bus_register;
>>  	rte_bus_scan;
>>  	rte_bus_unregister;
>> +	vfio_get_container_fd;
>> +	vfio_get_group_fd;
>> +	vfio_get_group_no;
>
> Moved to DPDK_17.05 instead of DPDK_17.02 while applying.
>
>>
>>  } DPDK_16.11
>

Yes, that is a miss on our side. Thanks for fixing it.
  

Patch

diff --git a/lib/librte_eal/bsdapp/eal/rte_eal_version.map b/lib/librte_eal/bsdapp/eal/rte_eal_version.map
index e1fbebc..dbb5ef6 100644
--- a/lib/librte_eal/bsdapp/eal/rte_eal_version.map
+++ b/lib/librte_eal/bsdapp/eal/rte_eal_version.map
@@ -180,6 +180,9 @@  DPDK_17.02 {
 	rte_bus_register;
 	rte_bus_scan;
 	rte_bus_unregister;
+	vfio_get_container_fd;
+	vfio_get_group_fd;
+	vfio_get_group_no;
 
 } DPDK_16.11;
 
diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map
index d5d05ee..e69b9d4 100644
--- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map
+++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map
@@ -184,6 +184,9 @@  DPDK_17.02 {
 	rte_bus_register;
 	rte_bus_scan;
 	rte_bus_unregister;
+	vfio_get_container_fd;
+	vfio_get_group_fd;
+	vfio_get_group_no;
 
 } DPDK_16.11;