Skip to contentSkip to conversation

sort symbols map

PATCH In review David Marchand 3 participants 5 messages Oct 5, 2021 – Oct 11, 2021 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sort symbols map

Fixed with ./devtools/update-abi.sh $(cat ABI_VERSION)

Fixes e73a7ab22422 ("net/softnic: promote manage API")
Fixes 8f532a34c4f2 ("fib: promote API to stable")
Fixes 4aeb92396b85 ("rib: promote API to stable")

---
I added "./devtools/update-abi.sh $(cat ABI_VERSION)" to my checks.

I should have caught it when merging fib and rib patches... But my eyes (or more likely brain) stopped at net/softnic bits.

What do you think?
Should I wait a bit more and send a global patch to catch any missed sorting just before rc1?

In the meantime, if you merge .map updates, try to remember to run the command above.

Thanks.

---
 drivers/net/softnic/version.map |  2 +-
 lib/fib/version.map             | 21 ++++++++++-----------
 lib/rib/version.map             | 33 ++++++++++++++++-----------------
 3 files changed, 27 insertions(+), 29 deletions(-)
drivers/net/softnic/version.map +1 -1
index cd5afcf155..01e1514276 100644
@@ -1,8 +1,8 @@
 DPDK_22 {
 	global:
 
-	rte_pmd_softnic_run;
 	rte_pmd_softnic_manage;
+	rte_pmd_softnic_run;
 
 	local: *;
 };
lib/fib/version.map +10 -11
index af76add2b9..b23fa42b9b 100644
@@ -1,25 +1,24 @@
 DPDK_22 {
 	global:
 
-	rte_fib_add;
-	rte_fib_create;
-	rte_fib_delete;
-	rte_fib_find_existing;
-	rte_fib_free;
-	rte_fib_lookup_bulk;
-	rte_fib_get_dp;
-	rte_fib_get_rib;
-	rte_fib_select_lookup;
-
 	rte_fib6_add;
 	rte_fib6_create;
 	rte_fib6_delete;
 	rte_fib6_find_existing;
 	rte_fib6_free;
-	rte_fib6_lookup_bulk;
 	rte_fib6_get_dp;
 	rte_fib6_get_rib;
+	rte_fib6_lookup_bulk;
 	rte_fib6_select_lookup;
+	rte_fib_add;
+	rte_fib_create;
+	rte_fib_delete;
+	rte_fib_find_existing;
+	rte_fib_free;
+	rte_fib_get_dp;
+	rte_fib_get_rib;
+	rte_fib_lookup_bulk;
+	rte_fib_select_lookup;
 
 	local: *;
 };
lib/rib/version.map +16 -17
index 6eb1252acb..f356fe8849 100644
@@ -1,21 +1,6 @@
 DPDK_22 {
 	global:
 
-	rte_rib_create;
-	rte_rib_find_existing;
-	rte_rib_free;
-	rte_rib_get_depth;
-	rte_rib_get_ext;
-	rte_rib_get_ip;
-	rte_rib_get_nh;
-	rte_rib_get_nxt;
-	rte_rib_insert;
-	rte_rib_lookup;
-	rte_rib_lookup_parent;
-	rte_rib_lookup_exact;
-	rte_rib_set_nh;
-	rte_rib_remove;
-
 	rte_rib6_create;
 	rte_rib6_find_existing;
 	rte_rib6_free;
@@ -26,10 +11,24 @@ DPDK_22 {
 	rte_rib6_get_nxt;
 	rte_rib6_insert;
 	rte_rib6_lookup;
-	rte_rib6_lookup_parent;
 	rte_rib6_lookup_exact;
-	rte_rib6_set_nh;
+	rte_rib6_lookup_parent;
 	rte_rib6_remove;
+	rte_rib6_set_nh;
+	rte_rib_create;
+	rte_rib_find_existing;
+	rte_rib_free;
+	rte_rib_get_depth;
+	rte_rib_get_ext;
+	rte_rib_get_ip;
+	rte_rib_get_nh;
+	rte_rib_get_nxt;
+	rte_rib_insert;
+	rte_rib_lookup;
+	rte_rib_lookup_exact;
+	rte_rib_lookup_parent;
+	rte_rib_remove;
+	rte_rib_set_nh;
 
 	local: *;
 };
Signature · 1 line
2.23.0
Acked-by on v1 1/1
#1 lore raw
Quoted 20 lines · David Marchand

Fixed with ./devtools/update-abi.sh $(cat ABI_VERSION)

Fixes e73a7ab22422 ("net/softnic: promote manage API")
Fixes 8f532a34c4f2 ("fib: promote API to stable")
Fixes 4aeb92396b85 ("rib: promote API to stable")

---
I added "./devtools/update-abi.sh $(cat ABI_VERSION)" to my checks.

I should have caught it when merging fib and rib patches... But my eyes (or more likely brain) stopped at net/softnic bits.

What do you think?
Should I wait a bit more and send a global patch to catch any missed sorting just before rc1?

In the meantime, if you merge .map updates, try to remember to run the command above.

Quoted 7 lines

Thanks.

---
 drivers/net/softnic/version.map |  2 +-
 lib/fib/version.map             | 21 ++++++++++-----------
 lib/rib/version.map             | 33 ++++++++++++++++-----------------
 3 files changed, 27 insertions(+), 29 deletions(-)

Something to add to the Symbol Bot also, maybe?

#2 lore raw
Quoted 29 lines · Ray
Quoted 20 lines · David Marchand

Fixed with ./devtools/update-abi.sh $(cat ABI_VERSION)

Fixes e73a7ab22422 ("net/softnic: promote manage API")
Fixes 8f532a34c4f2 ("fib: promote API to stable")
Fixes 4aeb92396b85 ("rib: promote API to stable")

---
I added "./devtools/update-abi.sh $(cat ABI_VERSION)" to my checks.

I should have caught it when merging fib and rib patches... But my eyes (or more likely brain) stopped at net/softnic bits.

What do you think?
Should I wait a bit more and send a global patch to catch any missed sorting just before rc1?

In the meantime, if you merge .map updates, try to remember to run the command above.

Quoted 7 lines

Thanks.

---
 drivers/net/softnic/version.map |  2 +-
 lib/fib/version.map             | 21 ++++++++++-----------
 lib/rib/version.map             | 33 ++++++++++++++++-----------------
 3 files changed, 27 insertions(+), 29 deletions(-)
Quoted 1 line

Something to add to the Symbol Bot also, maybe?

The committed maps should have no issue in the first place. The best place would probably be in checkpatches.sh so that developers get the warning before even posting and so that maintainers fix the issues before pushing.
But it requires checked out sources.

Signature · 1 line
David Marchand
Acked-by on v1 1/1
#4 lore raw
In reply to David Marchand
Quoted 33 lines

-----Original Message-----
From: David Marchand <[email protected]>
Sent: Tuesday, October 5, 2021 10:16 AM
To: [email protected]
Cc: [email protected]; Yigit, Ferruh <[email protected]>; Ray Kinsella <[email protected]>; Singh, Jasvinder <[email protected]>; Dumitrescu, Cristian <[email protected]>; Medvedkin, Vladimir <[email protected]>; Walsh, Conor <[email protected]>; Stephen Hemminger <[email protected]>
Subject: [PATCH] sort symbols map

Fixed with ./devtools/update-abi.sh $(cat ABI_VERSION)

Fixes e73a7ab22422 ("net/softnic: promote manage API")
Fixes 8f532a34c4f2 ("fib: promote API to stable")
Fixes 4aeb92396b85 ("rib: promote API to stable")

---
I added "./devtools/update-abi.sh $(cat ABI_VERSION)" to my checks.

I should have caught it when merging fib and rib patches... But my eyes (or more likely brain) stopped at net/softnic bits.

What do you think?
Should I wait a bit more and send a global patch to catch any missed sorting just before rc1?

In the meantime, if you merge .map updates, try to remember to run the command above.

Review

Quoted 8 lines

Thanks.

---
 drivers/net/softnic/version.map |  2 +-
 lib/fib/version.map             | 21 ++++++++++-----------
 lib/rib/version.map             | 33 ++++++++++++++++-----------------
 3 files changed, 27 insertions(+), 29 deletions(-)
(quoted diff) +0 -0