From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id D3CCC1B4EA; Thu, 5 Jul 2018 17:58:20 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jul 2018 08:58:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,313,1526367600"; d="scan'208";a="213678518" Received: from silpixa00399752.ir.intel.com (HELO silpixa00399752.ger.corp.intel.com) ([10.237.222.212]) by orsmga004.jf.intel.com with ESMTP; 05 Jul 2018 08:58:17 -0700 From: Ferruh Yigit To: Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , John McNamara , Marko Kovacevic Cc: dev@dpdk.org, Ferruh Yigit , stable@dpdk.org, wei.dai@intel.com Date: Thu, 5 Jul 2018 17:58:00 +0100 Message-Id: <20180705165800.61872-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] app/testpmd: fix typo in setting Tx offload command X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 15:58:21 -0000 udp_cksum is duplicated, second one should be tcp_cksum Fixes: c73a9071877a ("app/testpmd: add commands to test new offload API") Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit --- Cc: wei.dai@intel.com --- app/test-pmd/cmdline.c | 8 ++++---- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 74a8cd99e..ef58b9bcb 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -17061,7 +17061,7 @@ cmdline_parse_token_string_t cmd_config_per_port_tx_offload_result_tx_offload = cmdline_parse_token_string_t cmd_config_per_port_tx_offload_result_offload = TOKEN_STRING_INITIALIZER (struct cmd_config_per_port_tx_offload_result, - offload, "vlan_insert#ipv4_cksum#udp_cksum#udp_cksum#" + offload, "vlan_insert#ipv4_cksum#udp_cksum#tcp_cksum#" "sctp_cksum#tcp_tso#udp_tso#outer_ipv4_cksum#" "qinq_insert#vxlan_tnl_tso#gre_tnl_tso#" "ipip_tnl_tso#geneve_tnl_tso#macsec_insert#" @@ -17142,7 +17142,7 @@ cmdline_parse_inst_t cmd_config_per_port_tx_offload = { .f = cmd_config_per_port_tx_offload_parsed, .data = NULL, .help_str = "port config tx_offload " - "vlan_insert|ipv4_cksum|udp_cksum|udp_cksum|" + "vlan_insert|ipv4_cksum|udp_cksum|tcp_cksum|" "sctp_cksum|tcp_tso|udp_tso|outer_ipv4_cksum|" "qinq_insert|vxlan_tnl_tso|gre_tnl_tso|" "ipip_tnl_tso|geneve_tnl_tso|macsec_insert|" @@ -17193,7 +17193,7 @@ cmdline_parse_token_string_t cmd_config_per_queue_tx_offload_result_txoffload = cmdline_parse_token_string_t cmd_config_per_queue_tx_offload_result_offload = TOKEN_STRING_INITIALIZER (struct cmd_config_per_queue_tx_offload_result, - offload, "vlan_insert#ipv4_cksum#udp_cksum#udp_cksum#" + offload, "vlan_insert#ipv4_cksum#udp_cksum#tcp_cksum#" "sctp_cksum#tcp_tso#udp_tso#outer_ipv4_cksum#" "qinq_insert#vxlan_tnl_tso#gre_tnl_tso#" "ipip_tnl_tso#geneve_tnl_tso#macsec_insert#" @@ -17246,7 +17246,7 @@ cmdline_parse_inst_t cmd_config_per_queue_tx_offload = { .f = cmd_config_per_queue_tx_offload_parsed, .data = NULL, .help_str = "port txq tx_offload " - "vlan_insert|ipv4_cksum|udp_cksum|udp_cksum|" + "vlan_insert|ipv4_cksum|udp_cksum|tcp_cksum|" "sctp_cksum|tcp_tso|udp_tso|outer_ipv4_cksum|" "qinq_insert|vxlan_tnl_tso|gre_tnl_tso|" "ipip_tnl_tso|geneve_tnl_tso|macsec_insert|" diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 0d6fd50ca..91e074592 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -1510,7 +1510,7 @@ Enable or disable a per port Tx offloading on all Tx queues of a port:: testpmd> port config (port_id) tx_offload (offloading) on|off * ``offloading``: can be any of these offloading capability: - vlan_insert, ipv4_cksum, udp_cksum, udp_cksum, + vlan_insert, ipv4_cksum, udp_cksum, tcp_cksum, sctp_cksum, tcp_tso, udp_tso, outer_ipv4_cksum, qinq_insert, vxlan_tnl_tso, gre_tnl_tso, ipip_tnl_tso, geneve_tnl_tso, macsec_insert, @@ -1526,7 +1526,7 @@ Enable or disable a per queue Tx offloading only on a specific Tx queue:: testpmd> port (port_id) txq (queue_id) tx_offload (offloading) on|off * ``offloading``: can be any of these offloading capability: - vlan_insert, ipv4_cksum, udp_cksum, udp_cksum, + vlan_insert, ipv4_cksum, udp_cksum, tcp_cksum, sctp_cksum, tcp_tso, udp_tso, outer_ipv4_cksum, qinq_insert, vxlan_tnl_tso, gre_tnl_tso, ipip_tnl_tso, geneve_tnl_tso, macsec_insert, -- 2.17.1