From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9E47BA046B for ; Tue, 23 Jul 2019 03:04:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8941C1BFF1; Tue, 23 Jul 2019 03:04:06 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 157851BFDC for ; Tue, 23 Jul 2019 03:04:05 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE2 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 23 Jul 2019 04:04:04 +0300 Received: from scfae-sc-2.mti.labs.mlnx (scfae-sc-2.mti.labs.mlnx [10.101.0.96]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x6N11HgK026580; Tue, 23 Jul 2019 04:04:02 +0300 From: Yongseok Koh To: Agalya Babu RadhaKrishnan Cc: Rami Rosen , Bernard Iremonger , dpdk stable Date: Mon, 22 Jul 2019 18:01:01 -0700 Message-Id: <20190723010115.6446-94-yskoh@mellanox.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190723010115.6446-1-yskoh@mellanox.com> References: <20190723010115.6446-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'doc: fix interactive commands in testpmd guide' has been queued to LTS release 17.11.7 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 17.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objection by 07/27/19. So please shout if anyone has objection. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Yongseok --- >From 5be232dcd54f06a423a5521208bb3852b0e14957 Mon Sep 17 00:00:00 2001 From: Agalya Babu RadhaKrishnan Date: Tue, 23 Apr 2019 11:44:27 +0100 Subject: [PATCH] doc: fix interactive commands in testpmd guide [ upstream commit d82ee2cc02bb619e6dd5c345a5b986afc6f8936a ] Added some missing documentation for interactive mode commands Fixes: 01b2092a5e4b ("testpmd: add dump commands for debug") Fixes: caf05a1b8608 ("app/testpmd: new command to dump log types") Fixes: 0f62d63593ed ("app/testpmd: support tunneled TSO in checksum engine") Fixes: 8fff667578a7 ("app/testpmd: new command to add/remove multicast MAC addresses") Fixes: ae03d0d18adf ("app/testpmd: command to configure MTU") Fixes: f79959ea1504 ("app/testpmd: allow to configure RSS hash key") Fixes: caf05a1b8608 ("app/testpmd: new command to dump log types") Signed-off-by: Agalya Babu RadhaKrishnan Reviewed-by: Rami Rosen Acked-by: Bernard Iremonger --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 100 ++++++++++++++++++++ 1 file changed, 100 insertions(+) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 7eea925616..285dd560bb 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -423,6 +423,56 @@ List all items from the pctype mapping table:: testpmd> show port (port_id) pctype mapping +dump physmem +~~~~~~~~~~~~ + +Dumps all physical memory segment layouts:: + + testpmd> dump_physmem + +dump memzone +~~~~~~~~~~~~ + +Dumps the layout of all memory zones:: + + testpmd> dump_memzone + + +dump struct size +~~~~~~~~~~~~~~~~ + +Dumps the size of all memory structures:: + + testpmd> dump_struct_sizes + +dump ring +~~~~~~~~~ + +Dumps the status of all or specific element in DPDK rings:: + + testpmd> dump_ring [ring_name] + +dump mempool +~~~~~~~~~~~~ + +Dumps the statistics of all or specific memory pool:: + + testpmd> dump_mempool [mempool_name] + +dump devargs +~~~~~~~~~~~~ + +Dumps the user device list:: + + testpmd> dump_devargs + +dump log types +~~~~~~~~~~~~~~ + +Dumps the log level for all the dpdk modules:: + + testpmd> dump_log_types + Configuration Functions ----------------------- @@ -956,6 +1006,20 @@ Display the status of TCP Segmentation Offload:: testpmd> tso show (port_id) +tunnel tso set +~~~~~~~~~~~~~~ + +Set tso segment size of tunneled packets for a port in csum engine:: + + testpmd> tunnel_tso set (tso_segsz) (port_id) + +tunnel tso show +~~~~~~~~~~~~~~~ + +Display the status of tunneled TCP Segmentation Offload for a port:: + + testpmd> tunnel_tso show (port_id) + set port - gro ~~~~~~~~~~~~~~ @@ -1070,6 +1134,22 @@ Remove a MAC address from a port:: testpmd> mac_addr remove (port_id) (XX:XX:XX:XX:XX:XX) +mcast_addr add +~~~~~~~~~~~~~~ + +To add the multicast MAC address to/from the set of multicast addresses +filtered by port:: + + testpmd> mcast_addr add (port_id) (mcast_addr) + +mcast_addr remove +~~~~~~~~~~~~~~~~~ + +To remove the multicast MAC address to/from the set of multicast addresses +filtered by port:: + + testpmd> mcast_addr remove (port_id) (mcast_addr) + mac_addr add (for VF) ~~~~~~~~~~~~~~~~~~~~~ @@ -1850,6 +1930,26 @@ where: * ``flow_type_id``: software flow type id as the index of the pctype mapping table. +port config mtu +~~~~~~~~~~~~~~~ + +To configure MTU(Maximum Transmission Unit) on devices using testpmd:: + + testpmd> port config mtu (port_id) (value) + +port config rss hash key +~~~~~~~~~~~~~~~~~~~~~~~~ + +To configure the RSS hash key used to compute the RSS +hash of input [IP] packets received on port:: + + testpmd> port config rss-hash-key (ipv4|ipv4-frag|\ + ipv4-tcp|ipv4-udp|ipv4-sctp|ipv4-other|\ + ipv6|ipv6-frag|ipv6-tcp|ipv6-udp|ipv6-sctp|\ + ipv6-other|l2-payload|ipv6-ex|ipv6-tcp-ex|\ + ipv6-udp-ex ) + Link Bonding Functions ---------------------- -- 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-07-22 17:55:11.537714430 -0700 +++ 0094-doc-fix-interactive-commands-in-testpmd-guide.patch 2019-07-22 17:55:06.455474000 -0700 @@ -1,8 +1,10 @@ -From d82ee2cc02bb619e6dd5c345a5b986afc6f8936a Mon Sep 17 00:00:00 2001 +From 5be232dcd54f06a423a5521208bb3852b0e14957 Mon Sep 17 00:00:00 2001 From: Agalya Babu RadhaKrishnan Date: Tue, 23 Apr 2019 11:44:27 +0100 Subject: [PATCH] doc: fix interactive commands in testpmd guide +[ upstream commit d82ee2cc02bb619e6dd5c345a5b986afc6f8936a ] + Added some missing documentation for interactive mode commands Fixes: 01b2092a5e4b ("testpmd: add dump commands for debug") @@ -12,7 +14,6 @@ Fixes: ae03d0d18adf ("app/testpmd: command to configure MTU") Fixes: f79959ea1504 ("app/testpmd: allow to configure RSS hash key") Fixes: caf05a1b8608 ("app/testpmd: new command to dump log types") -Cc: stable@dpdk.org Signed-off-by: Agalya Babu RadhaKrishnan Reviewed-by: Rami Rosen @@ -22,12 +23,12 @@ 1 file changed, 100 insertions(+) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst -index e602df5609..89d494c5b0 100644 +index 7eea925616..285dd560bb 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst -@@ -467,6 +467,56 @@ Show Tx metadata value set for a specific port:: +@@ -423,6 +423,56 @@ List all items from the pctype mapping table:: + testpmd> show port (port_id) pctype mapping - testpmd> show port (port_id) tx_metadata +dump physmem +~~~~~~~~~~~~ @@ -82,7 +83,7 @@ Configuration Functions ----------------------- -@@ -1041,6 +1091,20 @@ Display the status of TCP Segmentation Offload:: +@@ -956,6 +1006,20 @@ Display the status of TCP Segmentation Offload:: testpmd> tso show (port_id) @@ -103,7 +104,7 @@ set port - gro ~~~~~~~~~~~~~~ -@@ -1162,6 +1226,22 @@ Remove a MAC address from a port:: +@@ -1070,6 +1134,22 @@ Remove a MAC address from a port:: testpmd> mac_addr remove (port_id) (XX:XX:XX:XX:XX:XX) @@ -126,9 +127,9 @@ mac_addr add (for VF) ~~~~~~~~~~~~~~~~~~~~~ -@@ -2183,6 +2263,26 @@ testpmd will add this value to any Tx packet sent from this port:: +@@ -1850,6 +1930,26 @@ where: + * ``flow_type_id``: software flow type id as the index of the pctype mapping table. - testpmd> port config (port_id) tx_metadata (value) +port config mtu +~~~~~~~~~~~~~~~