app/testpmd: fix typo in setting Tx offload command
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 5 Jul 2018 16:58:00 +0000 (17:58 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 15 Jul 2018 22:42:46 +0000 (00:42 +0200)
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 <ferruh.yigit@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/cmdline.c
doc/guides/testpmd_app_ug/testpmd_funcs.rst

index 46a9f49..5885289 100644 (file)
@@ -17059,7 +17059,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#"
@@ -17140,7 +17140,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 <port_id> 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|"
@@ -17191,7 +17191,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#"
@@ -17244,7 +17244,7 @@ cmdline_parse_inst_t cmd_config_per_queue_tx_offload = {
        .f = cmd_config_per_queue_tx_offload_parsed,
        .data = NULL,
        .help_str = "port <port_id> txq <queue_id> 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|"
index 6f2de24..1d6bdf9 100644 (file)
@@ -1517,7 +1517,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,
@@ -1533,7 +1533,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,