[dpdk-dev,v7,5/5] ethdev: add rte_eth_speed_to_bm_flag() to ver. map

Message ID 1454028127-10401-6-git-send-email-marcdevel@gmail.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers

Commit Message

Marc Sune Jan. 29, 2016, 12:42 a.m. UTC
  Added rte_eth_speed_to_bm_flag() to DPDK2.2 version map.

Signed-off-by: Marc Sune <marcdevel@gmail.com>
---
 lib/librte_ether/rte_ether_version.map | 6 ++++++
 1 file changed, 6 insertions(+)
  

Comments

Panu Matilainen Jan. 29, 2016, 1:05 p.m. UTC | #1
On 01/29/2016 02:42 AM, Marc Sune wrote:
> Added rte_eth_speed_to_bm_flag() to DPDK2.2 version map.
>
> Signed-off-by: Marc Sune <marcdevel@gmail.com>
> ---
>   lib/librte_ether/rte_ether_version.map | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/lib/librte_ether/rte_ether_version.map b/lib/librte_ether/rte_ether_version.map
> index d8db24d..2c14ad7 100644
> --- a/lib/librte_ether/rte_ether_version.map
> +++ b/lib/librte_ether/rte_ether_version.map
> @@ -117,3 +117,9 @@ DPDK_2.2 {
>
>   	local: *;
>   };
> +
> +DPDK_2.3 {
> +	global:
> +
> +	rte_eth_speed_to_bm_flag;
> +}DPDK_2.2;
>

The version map must be updated in the patch that adds the symbol(s) in 
question to the code, not separately.

	- Panu -
  
Marc Sune Jan. 31, 2016, 9:21 p.m. UTC | #2
On 29 January 2016 at 14:05, Panu Matilainen <pmatilai@redhat.com> wrote:

> On 01/29/2016 02:42 AM, Marc Sune wrote:
>
>> Added rte_eth_speed_to_bm_flag() to DPDK2.2 version map.
>>
>> Signed-off-by: Marc Sune <marcdevel@gmail.com>
>> ---
>>   lib/librte_ether/rte_ether_version.map | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> diff --git a/lib/librte_ether/rte_ether_version.map
>> b/lib/librte_ether/rte_ether_version.map
>> index d8db24d..2c14ad7 100644
>> --- a/lib/librte_ether/rte_ether_version.map
>> +++ b/lib/librte_ether/rte_ether_version.map
>> @@ -117,3 +117,9 @@ DPDK_2.2 {
>>
>>         local: *;
>>   };
>> +
>> +DPDK_2.3 {
>> +       global:
>> +
>> +       rte_eth_speed_to_bm_flag;
>> +}DPDK_2.2;
>>
>>
> The version map must be updated in the patch that adds the symbol(s) in
> question to the code, not separately.


Panu,

I will merge it with patch 3.

Marc



>
>
>         - Panu -
>
  

Patch

diff --git a/lib/librte_ether/rte_ether_version.map b/lib/librte_ether/rte_ether_version.map
index d8db24d..2c14ad7 100644
--- a/lib/librte_ether/rte_ether_version.map
+++ b/lib/librte_ether/rte_ether_version.map
@@ -117,3 +117,9 @@  DPDK_2.2 {
 
 	local: *;
 };
+
+DPDK_2.3 {
+	global:
+
+	rte_eth_speed_to_bm_flag;
+}DPDK_2.2;