The function set_qmap was removed in 25.11 release but
the prototype was still there.

Also, remove leftover help text.

Fixes: 2863cbd9ee6d ("ethdev: deprecate queue stats mapping functions")
Cc: [email protected]

Signed-off-by: Stephen Hemminger <[email protected]>
---
 app/test-pmd/cmdline.c                      |  6 ------
 app/test-pmd/testpmd.h                      |  2 --
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 -----------
 3 files changed, 19 deletions(-)

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 10ee7c5179..d299edb88e 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -581,12 +581,6 @@ static void cmd_help_long_parsed(void *parsed_result,
                        "set port (port_id) rxq (queue_id) avail_thresh 
(0..99)>\n "
                        "    set available descriptors threshold for Rx 
queue\n\n"
 
-                       "set stat_qmap (tx|rx) (port_id) (queue_id) 
(qmapping)\n"
-                       "    Set statistics mapping (qmapping 0..15) for RX/TX"
-                       " queue on port.\n"
-                       "    e.g., 'set stat_qmap rx 0 2 5' sets rx queue 2"
-                       " on port 0 to mapping 5.\n\n"
-
                        "set xstats-hide-zero on|off\n"
                        "    Set the option to hide the zero values"
                        " for xstats display.\n"
diff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h
index 083171853c..b5643e74f5 100644
--- a/app/test-pmd/testpmd.h
+++ b/app/test-pmd/testpmd.h
@@ -1158,8 +1158,6 @@ void tx_qinq_set(portid_t port_id, uint16_t vlan_tci, 
uint16_t vlan_tci_outer);
 void tx_vlan_reset(portid_t port_id);
 void tx_vlan_pvid_set(portid_t port_id, uint16_t vlan_id, int on);
 
-void set_qmap(portid_t port_id, uint8_t is_rx, uint16_t queue_id, uint8_t 
map_value);
-
 void set_xstats_hide_zero(uint8_t on_off);
 void set_xstats_show_state(uint8_t on_off);
 void set_xstats_hide_disabled(uint8_t on_off);
diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst 
b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index e65376df54..30cac0ad8c 100644
--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
@@ -1554,17 +1554,6 @@ Set available descriptors threshold for a specific Rx 
queue of port::
 
 Use 0 value to disable the threshold and corresponding event.
 
-set stat_qmap
-~~~~~~~~~~~~~
-
-Set statistics mapping (qmapping 0..15) for RX/TX queue on port::
-
-   testpmd> set stat_qmap (tx|rx) (port_id) (queue_id) (qmapping)
-
-For example, to set rx queue 2 on port 0 to mapping 5::
-
-   testpmd>set stat_qmap rx 0 2 5
-
 set xstats-hide-zero
 ~~~~~~~~~~~~~~~~~~~~
 
-- 
2.53.0

Reply via email to