summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo de Lara <pablo.de.lara.guarch@intel.com>2014-12-01 11:40:46 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-12-05 17:27:40 +0100
commit186e55864e0f98fe58033876ce6c8607d7e2d879 (patch)
tree6a9ff11cd0061456426df8ed860156a463d4dd40
parent6fe5f2f74f2e008c184ee01a0f6f224935ad9bb6 (diff)
downloaddpdk-186e55864e0f98fe58033876ce6c8607d7e2d879.zip
dpdk-186e55864e0f98fe58033876ce6c8607d7e2d879.tar.gz
dpdk-186e55864e0f98fe58033876ce6c8607d7e2d879.tar.xz
doc: fix testpmd commands
tx_checksum set function does not use bitmask anymore, but strings Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
-rw-r--r--doc/guides/testpmd_app_ug/testpmd_funcs.rst21
1 files changed, 8 insertions, 13 deletions
diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index c010577..975929e 100644
--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
@@ -516,22 +516,17 @@ Disable hardware insertion of a VLAN header in packets sent on a port:
tx_vlan reset (port_id)
-tx_checksum set mask
-~~~~~~~~~~~~~~~~~~~~
-
-Enable hardware insertion of checksum offload with a 4-bit mask, 0x0 - 0xF, in packets sent on a port:
-
-tx_checksum set (mask) (port_id)
-
-The bits in the mask are:
-
-bit 0 - if set insert ip checksum offload
+tx_checksum set
+~~~~~~~~~~~~~~~
-bit 1 - if set insert udp checksum offload
+Select hardware or software calculation of the checksum when
+transmitting a packet using the csum forward engine:
-bit 2 - if set insert tcp checksum offload
+tx_cksum set (ip|udp|tcp|sctp|vxlan)
-bit 3 - if set insert sctp checksum offload
+ip|udp|tcp|sctp always concern the inner layer.
+vxlan concerns the outer IP and UDP layer (in case the packet
+is recognized as a vxlan packet by the forward engine)
.. note::