DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] mempool: fix symbol export
@ 2016-06-25 13:10 Thomas Monjalon
  2016-06-25 16:49 ` Olivier Matz
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Thomas Monjalon @ 2016-06-25 13:10 UTC (permalink / raw)
  To: olivier.matz; +Cc: dev

Every new symbols in release 16.07 are exported with the version
string DPDK_16.07.
Also remove the empty local: section which is not needed because
inherited from the DPDK_2.0 block.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 lib/librte_mempool/rte_mempool_version.map | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/librte_mempool/rte_mempool_version.map b/lib/librte_mempool/rte_mempool_version.map
index a4a6c1f..9bcbf17 100644
--- a/lib/librte_mempool/rte_mempool_version.map
+++ b/lib/librte_mempool/rte_mempool_version.map
@@ -16,7 +16,7 @@ DPDK_2.0 {
 	local: *;
 };
 
-DPDK_16.7 {
+DPDK_16.07 {
 	global:
 
 	rte_mempool_check_cookies;
@@ -33,5 +33,4 @@ DPDK_16.7 {
 	rte_mempool_register_ops;
 	rte_mempool_set_ops_byname;
 
-	local: *;
 } DPDK_2.0;
-- 
2.7.0

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [dpdk-dev] [PATCH] mempool: fix symbol export
  2016-06-25 13:10 [dpdk-dev] [PATCH] mempool: fix symbol export Thomas Monjalon
@ 2016-06-25 16:49 ` Olivier Matz
  2016-06-27 15:03   ` Thomas Monjalon
       [not found] ` <1467032271-10116-1-git-send-email-y>
  2016-06-27 13:02 ` Ferruh Yigit
  2 siblings, 1 reply; 12+ messages in thread
From: Olivier Matz @ 2016-06-25 16:49 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev



On 06/25/2016 03:10 PM, Thomas Monjalon wrote:
> Every new symbols in release 16.07 are exported with the version
> string DPDK_16.07.
> Also remove the empty local: section which is not needed because
> inherited from the DPDK_2.0 block.
> 
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> ---
>  lib/librte_mempool/rte_mempool_version.map | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/lib/librte_mempool/rte_mempool_version.map b/lib/librte_mempool/rte_mempool_version.map
> index a4a6c1f..9bcbf17 100644
> --- a/lib/librte_mempool/rte_mempool_version.map
> +++ b/lib/librte_mempool/rte_mempool_version.map
> @@ -16,7 +16,7 @@ DPDK_2.0 {
>  	local: *;
>  };
>  
> -DPDK_16.7 {
> +DPDK_16.07 {
>  	global:
>  
>  	rte_mempool_check_cookies;
> @@ -33,5 +33,4 @@ DPDK_16.7 {
>  	rte_mempool_register_ops;
>  	rte_mempool_set_ops_byname;
>  
> -	local: *;
>  } DPDK_2.0;
> 

Good catch, thanks Thomas
Acked-by: Olivier Matz <olivier.matz@6wind.com>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [dpdk-dev] [PATCH 1/3] ethdev: remove duplicated symbols from .map
       [not found] ` <1467032271-10116-1-git-send-email-y>
@ 2016-06-27 13:02   ` Ferruh Yigit
  0 siblings, 0 replies; 12+ messages in thread
From: Ferruh Yigit @ 2016-06-27 13:02 UTC (permalink / raw)
  To: y, dev; +Cc: Thomas Monjalon, Olivier Matz, Cristian Dumitrescu

On 6/27/2016 1:57 PM, y@ecsmtp.ir.intel.com wrote:
> From: Ferruh Yigit <ferruh.yigit@intel.com>
> 
> Fixes: 19b16e2f6442 ("ethdev: add vlan type when setting ether type")
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>

Send from wrong e-mail address, although patches looks OK, I don't see
them in patchwork and will send again.

Regards,
ferruh

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [dpdk-dev] [PATCH 1/3] ethdev: remove duplicated symbols from .map
  2016-06-25 13:10 [dpdk-dev] [PATCH] mempool: fix symbol export Thomas Monjalon
  2016-06-25 16:49 ` Olivier Matz
       [not found] ` <1467032271-10116-1-git-send-email-y>
@ 2016-06-27 13:02 ` Ferruh Yigit
  2016-06-27 13:02   ` [dpdk-dev] [PATCH 2/3] cmdline: " Ferruh Yigit
                     ` (3 more replies)
  2 siblings, 4 replies; 12+ messages in thread
From: Ferruh Yigit @ 2016-06-27 13:02 UTC (permalink / raw)
  To: dev; +Cc: Thomas Monjalon, Olivier Matz, Cristian Dumitrescu

Fixes: 19b16e2f6442 ("ethdev: add vlan type when setting ether type")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
 lib/librte_ether/rte_ether_version.map | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/librte_ether/rte_ether_version.map b/lib/librte_ether/rte_ether_version.map
index 97ed0b0..e1ccebe 100644
--- a/lib/librte_ether/rte_ether_version.map
+++ b/lib/librte_ether/rte_ether_version.map
@@ -66,7 +66,6 @@ DPDK_2.2 {
 	rte_eth_dev_set_vf_rxmode;
 	rte_eth_dev_set_vf_tx;
 	rte_eth_dev_set_vf_vlan_filter;
-	rte_eth_dev_set_vlan_ether_type;
 	rte_eth_dev_set_vlan_offload;
 	rte_eth_dev_set_vlan_pvid;
 	rte_eth_dev_set_vlan_strip_on_queue;
-- 
2.5.5

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [dpdk-dev] [PATCH 2/3] cmdline: remove duplicated symbols from .map
  2016-06-27 13:02 ` Ferruh Yigit
@ 2016-06-27 13:02   ` Ferruh Yigit
  2016-06-27 15:55     ` Olivier MATZ
  2016-06-27 13:02   ` [dpdk-dev] [PATCH 3/3] port: " Ferruh Yigit
                     ` (2 subsequent siblings)
  3 siblings, 1 reply; 12+ messages in thread
From: Ferruh Yigit @ 2016-06-27 13:02 UTC (permalink / raw)
  To: dev; +Cc: Thomas Monjalon, Olivier Matz, Cristian Dumitrescu

Fixes: 9d41beed24b0 ("lib: provide initial versioning")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
 lib/librte_cmdline/rte_cmdline_version.map | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/librte_cmdline/rte_cmdline_version.map b/lib/librte_cmdline/rte_cmdline_version.map
index c9fc18a..04bcb38 100644
--- a/lib/librte_cmdline/rte_cmdline_version.map
+++ b/lib/librte_cmdline/rte_cmdline_version.map
@@ -50,7 +50,6 @@ DPDK_2.0 {
 	cmdline_token_num_ops;
 	cmdline_token_portlist_ops;
 	cmdline_token_string_ops;
-	cmdline_token_string_ops;
 	cmdline_write_char;
 	rdline_add_history;
 	rdline_char_in;
-- 
2.5.5

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [dpdk-dev] [PATCH 3/3] port: remove duplicated symbols from .map
  2016-06-27 13:02 ` Ferruh Yigit
  2016-06-27 13:02   ` [dpdk-dev] [PATCH 2/3] cmdline: " Ferruh Yigit
@ 2016-06-27 13:02   ` Ferruh Yigit
  2016-06-27 13:13     ` Dumitrescu, Cristian
  2016-06-27 13:07   ` [dpdk-dev] [PATCH 1/3] ethdev: " Ferruh Yigit
  2016-06-30 18:03   ` Thomas Monjalon
  3 siblings, 1 reply; 12+ messages in thread
From: Ferruh Yigit @ 2016-06-27 13:02 UTC (permalink / raw)
  To: dev; +Cc: Thomas Monjalon, Olivier Matz, Cristian Dumitrescu

Fixes: 9d41beed24b0 ("lib: provide initial versioning")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
 lib/librte_port/rte_port_version.map | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/librte_port/rte_port_version.map b/lib/librte_port/rte_port_version.map
index c528658..048c20d 100644
--- a/lib/librte_port/rte_port_version.map
+++ b/lib/librte_port/rte_port_version.map
@@ -5,10 +5,8 @@ DPDK_2.0 {
 	rte_port_ethdev_writer_ops;
 	rte_port_ring_reader_ipv4_frag_ops;
 	rte_port_ring_reader_ops;
-	rte_port_ring_reader_ops;
 	rte_port_ring_writer_ipv4_ras_ops;
 	rte_port_ring_writer_ops;
-	rte_port_ring_writer_ops;
 	rte_port_sched_reader_ops;
 	rte_port_sched_writer_ops;
 	rte_port_sink_ops;
-- 
2.5.5

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [dpdk-dev] [PATCH 1/3] ethdev: remove duplicated symbols from .map
  2016-06-27 13:02 ` Ferruh Yigit
  2016-06-27 13:02   ` [dpdk-dev] [PATCH 2/3] cmdline: " Ferruh Yigit
  2016-06-27 13:02   ` [dpdk-dev] [PATCH 3/3] port: " Ferruh Yigit
@ 2016-06-27 13:07   ` Ferruh Yigit
  2016-06-30 17:58     ` Thomas Monjalon
  2016-06-30 18:03   ` Thomas Monjalon
  3 siblings, 1 reply; 12+ messages in thread
From: Ferruh Yigit @ 2016-06-27 13:07 UTC (permalink / raw)
  To: dev; +Cc: Thomas Monjalon, Olivier Matz, Cristian Dumitrescu

On 6/27/2016 2:02 PM, Ferruh Yigit wrote:
> Fixes: 19b16e2f6442 ("ethdev: add vlan type when setting ether type")
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---

Hi Thomas,

I got the duplicates with following command [1], does it make sense to
add this into one of the check scripts, -not sure which one?

[1]
# for m in $(find . -name *_version.map); do for l in $(cat $m | sort |
uniq -d | grep -v global | grep -v local); do ll=$(echo $l | cut -d";"
-f1); git grep -q "VERSION_SYMBOL.$ll"; if [ $? -eq 1 ]; then echo $l;
fi; done; done

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [dpdk-dev] [PATCH 3/3] port: remove duplicated symbols from .map
  2016-06-27 13:02   ` [dpdk-dev] [PATCH 3/3] port: " Ferruh Yigit
@ 2016-06-27 13:13     ` Dumitrescu, Cristian
  0 siblings, 0 replies; 12+ messages in thread
From: Dumitrescu, Cristian @ 2016-06-27 13:13 UTC (permalink / raw)
  To: Yigit, Ferruh, dev; +Cc: Thomas Monjalon, Olivier Matz



> -----Original Message-----
> From: Yigit, Ferruh
> Sent: Monday, June 27, 2016 2:03 PM
> To: dev@dpdk.org
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; Olivier Matz
> <olivier.matz@6wind.com>; Dumitrescu, Cristian
> <cristian.dumitrescu@intel.com>
> Subject: [PATCH 3/3] port: remove duplicated symbols from .map
> 
> Fixes: 9d41beed24b0 ("lib: provide initial versioning")
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---
>  lib/librte_port/rte_port_version.map | 2 --
>  1 file changed, 2 deletions(-)
> 

Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [dpdk-dev] [PATCH] mempool: fix symbol export
  2016-06-25 16:49 ` Olivier Matz
@ 2016-06-27 15:03   ` Thomas Monjalon
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas Monjalon @ 2016-06-27 15:03 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev

> > Every new symbols in release 16.07 are exported with the version
> > string DPDK_16.07.
> > Also remove the empty local: section which is not needed because
> > inherited from the DPDK_2.0 block.
> > 
> > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> 
> Good catch, thanks Thomas
> Acked-by: Olivier Matz <olivier.matz@6wind.com>

Applied

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [dpdk-dev] [PATCH 2/3] cmdline: remove duplicated symbols from .map
  2016-06-27 13:02   ` [dpdk-dev] [PATCH 2/3] cmdline: " Ferruh Yigit
@ 2016-06-27 15:55     ` Olivier MATZ
  0 siblings, 0 replies; 12+ messages in thread
From: Olivier MATZ @ 2016-06-27 15:55 UTC (permalink / raw)
  To: Ferruh Yigit, dev; +Cc: Thomas Monjalon, Cristian Dumitrescu



On 06/27/2016 03:02 PM, Ferruh Yigit wrote:
> Fixes: 9d41beed24b0 ("lib: provide initial versioning")
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---
>  lib/librte_cmdline/rte_cmdline_version.map | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/lib/librte_cmdline/rte_cmdline_version.map b/lib/librte_cmdline/rte_cmdline_version.map
> index c9fc18a..04bcb38 100644
> --- a/lib/librte_cmdline/rte_cmdline_version.map
> +++ b/lib/librte_cmdline/rte_cmdline_version.map
> @@ -50,7 +50,6 @@ DPDK_2.0 {
>  	cmdline_token_num_ops;
>  	cmdline_token_portlist_ops;
>  	cmdline_token_string_ops;
> -	cmdline_token_string_ops;
>  	cmdline_write_char;
>  	rdline_add_history;
>  	rdline_char_in;
> 


Acked-by: Olivier Matz <olivier.matz@6wind.com>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [dpdk-dev] [PATCH 1/3] ethdev: remove duplicated symbols from .map
  2016-06-27 13:07   ` [dpdk-dev] [PATCH 1/3] ethdev: " Ferruh Yigit
@ 2016-06-30 17:58     ` Thomas Monjalon
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas Monjalon @ 2016-06-30 17:58 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev, Olivier Matz, Cristian Dumitrescu

> Hi Thomas,
> 
> I got the duplicates with following command [1], does it make sense to
> add this into one of the check scripts, -not sure which one?
> 
> [1]
> # for m in $(find . -name *_version.map); do for l in $(cat $m | sort |
> uniq -d | grep -v global | grep -v local); do ll=$(echo $l | cut -d";"
> -f1); git grep -q "VERSION_SYMBOL.$ll"; if [ $? -eq 1 ]; then echo $l;
> fi; done; done
> 

I have started to write a script to check symbol export.
Feel free to start a new script scripts/check-symbols.sh with this
check for duplicated symbols in .map.
I will add my checks later in this script.

Thanks

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [dpdk-dev] [PATCH 1/3] ethdev: remove duplicated symbols from .map
  2016-06-27 13:02 ` Ferruh Yigit
                     ` (2 preceding siblings ...)
  2016-06-27 13:07   ` [dpdk-dev] [PATCH 1/3] ethdev: " Ferruh Yigit
@ 2016-06-30 18:03   ` Thomas Monjalon
  3 siblings, 0 replies; 12+ messages in thread
From: Thomas Monjalon @ 2016-06-30 18:03 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev, Olivier Matz, Cristian Dumitrescu

2016-06-27 14:02, Ferruh Yigit:
> Fixes: 19b16e2f6442 ("ethdev: add vlan type when setting ether type")
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>

Series applied, thanks

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-06-30 18:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-25 13:10 [dpdk-dev] [PATCH] mempool: fix symbol export Thomas Monjalon
2016-06-25 16:49 ` Olivier Matz
2016-06-27 15:03   ` Thomas Monjalon
     [not found] ` <1467032271-10116-1-git-send-email-y>
2016-06-27 13:02   ` [dpdk-dev] [PATCH 1/3] ethdev: remove duplicated symbols from .map Ferruh Yigit
2016-06-27 13:02 ` Ferruh Yigit
2016-06-27 13:02   ` [dpdk-dev] [PATCH 2/3] cmdline: " Ferruh Yigit
2016-06-27 15:55     ` Olivier MATZ
2016-06-27 13:02   ` [dpdk-dev] [PATCH 3/3] port: " Ferruh Yigit
2016-06-27 13:13     ` Dumitrescu, Cristian
2016-06-27 13:07   ` [dpdk-dev] [PATCH 1/3] ethdev: " Ferruh Yigit
2016-06-30 17:58     ` Thomas Monjalon
2016-06-30 18:03   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).