[dpdk-dev,v4,03/12] vhost: update version map file

Message ID 1439366567-3402-4-git-send-email-changchun.ouyang@intel.com (mailing list archive)
State Superseded, archived
Headers

Commit Message

Ouyang Changchun Aug. 12, 2015, 8:02 a.m. UTC
  From: Changchun Ouyang <changchun.ouyang@intel.com>

it is added in v4.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
---
 lib/librte_vhost/rte_vhost_version.map | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Panu Matilainen Aug. 12, 2015, 8:24 a.m. UTC | #1
On 08/12/2015 11:02 AM, Ouyang Changchun wrote:
> From: Changchun Ouyang <changchun.ouyang@intel.com>
>
> it is added in v4.
>
> Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
> ---
>   lib/librte_vhost/rte_vhost_version.map | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/librte_vhost/rte_vhost_version.map b/lib/librte_vhost/rte_vhost_version.map
> index 3d8709e..0bb1c0f 100644
> --- a/lib/librte_vhost/rte_vhost_version.map
> +++ b/lib/librte_vhost/rte_vhost_version.map
> @@ -18,5 +18,5 @@ DPDK_2.1 {
>   	global:
>
>   	rte_vhost_driver_unregister;
> -
> +	rte_vhost_qp_num_get;
>   } DPDK_2.0;
>

Version map needs to be updated along with the actual code (in this 
case, the function is added in the second patch of the series). 
Otherwise there will be at least one commit where shared library 
configuration will be incorrect and might not be buildable at all.

- Panu -
  

Patch

diff --git a/lib/librte_vhost/rte_vhost_version.map b/lib/librte_vhost/rte_vhost_version.map
index 3d8709e..0bb1c0f 100644
--- a/lib/librte_vhost/rte_vhost_version.map
+++ b/lib/librte_vhost/rte_vhost_version.map
@@ -18,5 +18,5 @@  DPDK_2.1 {
 	global:
 
 	rte_vhost_driver_unregister;
-
+	rte_vhost_qp_num_get;
 } DPDK_2.0;