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 DEB4DA0AC5 for ; Thu, 2 May 2019 20:43:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A3F515A6E; Thu, 2 May 2019 20:43:56 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 7792C5A6E; Thu, 2 May 2019 20:43:55 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A8EAD859FF; Thu, 2 May 2019 18:43:54 +0000 (UTC) Received: from rh.redhat.com (ovpn-117-211.ams2.redhat.com [10.36.117.211]) by smtp.corp.redhat.com (Postfix) with ESMTP id 466B418395; Thu, 2 May 2019 18:43:53 +0000 (UTC) From: Kevin Traynor To: john.mcnamara@intel.com, marko.kovacevic@intel.com, dev@dpdk.org Cc: Kevin Traynor , stable@dpdk.org Date: Thu, 2 May 2019 19:43:42 +0100 Message-Id: <20190502184342.28988-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 02 May 2019 18:43:54 +0000 (UTC) Subject: [dpdk-stable] [PATCH] doc: fix some formatting errors in testpmd guide 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" Minor formatting error related to code block noticed when reading the doc. Fix it and some other errors. Fixes: c7217b9dd8ef ("app/testpmd: change log level at run time") Fixes: 3c272b280a50 ("app/testpmd: add commands for RSS queue region") Fixes: e38ea44f1714 ("app/testpmd: add configuration for input set") Fixes: 08e0b3440baf ("app/testpmd: add option to configure UDP tunnel port") Fixes: e977e4199a8d ("app/testpmd: add commands to load/unload BPF filters") Cc: stable@dpdk.org Signed-off-by: Kevin Traynor --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 5d4dc6f0c..a8c44d376 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -514,7 +514,9 @@ Where: For example, to change the global log level:: + testpmd> set log global (level) Regexes can also be used for type. To change log level of user1, user2 and user3:: + testpmd> set log user[1-3] (level) @@ -970,9 +972,10 @@ Flush all queue region related configuration on a port:: where: -* "on"is just an enable function which server for other configuration, +* ``on``: is just an enable function which server for other configuration, it is for all configuration about queue region from up layer, at first will only keep in DPDK software stored in driver, only after "flush on", it commit all configuration to HW. - "off" is just clean all configuration about queue region just now, + +* ``"off``: is just clean all configuration about queue region just now, and restore all to DPDK i40e driver default config when start up. @@ -2157,4 +2160,5 @@ port config input set Config RSS/FDIR/FDIR flexible payload input set for some pctype:: + testpmd> port config (port_id) pctype (pctype_id) \ (hash_inset|fdir_inset|fdir_flx_inset) \ @@ -2162,4 +2166,5 @@ Config RSS/FDIR/FDIR flexible payload input set for some pctype:: Clear RSS/FDIR/FDIR flexible payload input set for some pctype:: + testpmd> port config (port_id) pctype (pctype_id) \ (hash_inset|fdir_inset|fdir_flx_inset) clear all @@ -2174,4 +2179,5 @@ port config udp_tunnel_port Add/remove UDP tunnel port for VXLAN/GENEVE tunneling protocols:: + testpmd> port config (port_id) udp_tunnel_port add|rm vxlan|geneve|vxlan-gpe (udp_port) @@ -4546,5 +4552,5 @@ For example: clang -O2 -target bpf -c t1.c -Then to load (and JIT compile) t1.o at RX queue 0, port 1:: +Then to load (and JIT compile) t1.o at RX queue 0, port 1: .. code-block:: console @@ -4552,5 +4558,5 @@ Then to load (and JIT compile) t1.o at RX queue 0, port 1:: testpmd> bpf-load rx 1 0 J ./dpdk.org/examples/bpf/t1.o -To load (not JITed) t1.o at TX queue 0, port 0:: +To load (not JITed) t1.o at TX queue 0, port 0: .. code-block:: console -- 2.20.1