From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 246E6A0096 for ; Wed, 8 May 2019 18:03:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1B58137AF; Wed, 8 May 2019 18:03:03 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id DF6E144C3 for ; Wed, 8 May 2019 18:03:00 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4D2393001597; Wed, 8 May 2019 16:03:00 +0000 (UTC) Received: from rh.redhat.com (ovpn-117-210.ams2.redhat.com [10.36.117.210]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0C29960C82; Wed, 8 May 2019 16:02:58 +0000 (UTC) From: Kevin Traynor To: Agalya Babu RadhaKrishnan Cc: Rami Rosen , Bernard Iremonger , dpdk stable Date: Wed, 8 May 2019 17:02:13 +0100 Message-Id: <20190508160233.2648-16-ktraynor@redhat.com> In-Reply-To: <20190508160233.2648-1-ktraynor@redhat.com> References: <20190508160233.2648-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Wed, 08 May 2019 16:03:00 +0000 (UTC) Subject: [dpdk-stable] patch 'doc: fix interactive commands in testpmd guide' has been queued to LTS release 18.11.2 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 18.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/14/19. So please shout if anyone has objections. 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. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/e1fece9e2da0fba3efd8b50d00c037519f1bcea3 Thanks. Kevin Traynor --- >From e1fece9e2da0fba3efd8b50d00c037519f1bcea3 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 34f7bc766..6b08a01c8 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -431,4 +431,54 @@ Show Tx metadata value set for a specific port:: testpmd> show port (port_id) tx_metadata +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 ----------------------- @@ -1003,4 +1053,18 @@ 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 ~~~~~~~~~~~~~~ @@ -1124,4 +1188,20 @@ 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) ~~~~~~~~~~~~~~~~~~~~~ @@ -2141,4 +2221,24 @@ testpmd will add this value to any Tx packet sent from this port:: testpmd> port config (port_id) tx_metadata (value) +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.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-05-08 16:33:58.281751340 +0100 +++ 0016-doc-fix-interactive-commands-in-testpmd-guide.patch 2019-05-08 16:33:57.374579368 +0100 @@ -1 +1 @@ -From d82ee2cc02bb619e6dd5c345a5b986afc6f8936a Mon Sep 17 00:00:00 2001 +From e1fece9e2da0fba3efd8b50d00c037519f1bcea3 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit d82ee2cc02bb619e6dd5c345a5b986afc6f8936a ] + @@ -15 +16,0 @@ -Cc: stable@dpdk.org @@ -25 +26 @@ -index e602df560..89d494c5b 100644 +index 34f7bc766..6b08a01c8 100644 @@ -28 +29 @@ -@@ -468,4 +468,54 @@ Show Tx metadata value set for a specific port:: +@@ -431,4 +431,54 @@ Show Tx metadata value set for a specific port:: @@ -83 +84 @@ -@@ -1042,4 +1092,18 @@ Display the status of TCP Segmentation Offload:: +@@ -1003,4 +1053,18 @@ Display the status of TCP Segmentation Offload:: @@ -102 +103 @@ -@@ -1163,4 +1227,20 @@ Remove a MAC address from a port:: +@@ -1124,4 +1188,20 @@ Remove a MAC address from a port:: @@ -123 +124 @@ -@@ -2184,4 +2264,24 @@ testpmd will add this value to any Tx packet sent from this port:: +@@ -2141,4 +2221,24 @@ testpmd will add this value to any Tx packet sent from this port::