DPDK patches and discussions
 help / color / mirror / Atom feed
From: Pablo de Lara <pablo.de.lara.guarch@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH v4 2/4] doc: Corrected info for tx_checksum set mask function, in testpmd UG
Date: Thu, 27 Nov 2014 19:47:25 +0000	[thread overview]
Message-ID: <1417117647-28746-3-git-send-email-pablo.de.lara.guarch@intel.com> (raw)
In-Reply-To: <1417117647-28746-1-git-send-email-pablo.de.lara.guarch@intel.com>

tx_checksum set function does not use bitmask anymore, but strings

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |   21 ++++++++-------------
 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::
 
-- 
1.7.4.1

  parent reply	other threads:[~2014-11-27 19:48 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-15 19:13 [dpdk-dev] [PATCH 0/4] doc: Updated testpmd UG due to latest changes in the app Pablo de Lara
2014-11-15 19:13 ` [dpdk-dev] [PATCH 1/4] doc: Added new commands in testpmd UG Pablo de Lara
2014-11-15 19:13 ` [dpdk-dev] [PATCH 2/4] doc: Corrected info for tx_checksum set mask function, " Pablo de Lara
2014-11-15 19:19   ` Jayakumar, Muthurajan
2014-11-17 10:39   ` Olivier MATZ
2014-11-17 10:47     ` De Lara Guarch, Pablo
2014-11-26 12:41       ` Thomas Monjalon
2014-11-26 13:26         ` De Lara Guarch, Pablo
2014-11-15 19:13 ` [dpdk-dev] [PATCH 3/4] doc: Moved commands in testpmd UG to match testpmd command help order Pablo de Lara
2014-11-15 19:13 ` [dpdk-dev] [PATCH 4/4] doc: Various document fixes in testpmd UG Pablo de Lara
2014-12-03 13:17   ` Thomas Monjalon
2014-12-03 13:26     ` De Lara Guarch, Pablo
2014-12-03 13:38       ` Thomas Monjalon
2014-12-04 11:27     ` Iremonger, Bernard
2014-11-18 17:04 ` [dpdk-dev] [PATCH v2 0/4] doc: Updated testpmd UG due to latest changes in the app Pablo de Lara
2014-11-18 17:04   ` [dpdk-dev] [PATCH v2 1/4] doc: Added new commands in testpmd UG Pablo de Lara
2014-11-19 13:40     ` Iremonger, Bernard
2014-11-18 17:04   ` [dpdk-dev] [PATCH v2 2/4] doc: Corrected info for tx_checksum set mask function, " Pablo de Lara
2014-11-19 13:42     ` Iremonger, Bernard
2014-11-18 17:04   ` [dpdk-dev] [PATCH v2 3/4] doc: Moved commands in testpmd UG to match testpmd command help order Pablo de Lara
2014-11-19 13:48     ` Iremonger, Bernard
2014-11-18 17:04   ` [dpdk-dev] [PATCH v2 4/4] doc: Various document fixes in testpmd UG Pablo de Lara
2014-11-19 13:50     ` Iremonger, Bernard
2014-11-27 16:49   ` [dpdk-dev] [PATCH v3 0/4] new sample app UG for VM power management Pablo de Lara
2014-11-27 16:49     ` [dpdk-dev] [PATCH v3 1/4] doc: Added new commands in testpmd UG Pablo de Lara
2014-11-27 16:49     ` [dpdk-dev] [PATCH v3 2/4] doc: Corrected info for tx_checksum set mask function, " Pablo de Lara
2014-11-27 16:49     ` [dpdk-dev] [PATCH v3 3/4] doc: Moved commands in testpmd UG to match testpmd command help order Pablo de Lara
2014-11-27 16:49     ` [dpdk-dev] [PATCH v3 4/4] doc: Various document fixes in testpmd UG Pablo de Lara
2014-11-27 16:52     ` [dpdk-dev] [PATCH v3 0/4] new sample app UG for VM power management De Lara Guarch, Pablo
2014-11-27 19:47     ` [dpdk-dev] [PATCH v4 0/4] Updated testpmd UG due to latest changes in the app Pablo de Lara
2014-11-27 19:47       ` [dpdk-dev] [PATCH v4 1/4] doc: Added new commands in testpmd UG Pablo de Lara
2014-11-27 19:47       ` Pablo de Lara [this message]
2014-11-27 19:47       ` [dpdk-dev] [PATCH v4 3/4] doc: Moved commands in testpmd UG to match testpmd command help order Pablo de Lara
2014-11-27 19:47       ` [dpdk-dev] [PATCH v4 4/4] doc: Various document fixes in testpmd UG Pablo de Lara
2014-12-01 11:40       ` [dpdk-dev] [PATCH v5 0/4] Updated testpmd UG due to latest changes in the app Pablo de Lara
2014-12-01 11:40         ` [dpdk-dev] [PATCH v5 1/4] doc: Added new commands in testpmd UG Pablo de Lara
2014-12-01 12:32           ` Iremonger, Bernard
2014-12-01 11:40         ` [dpdk-dev] [PATCH v5 2/4] doc: Corrected info for tx_checksum set mask function, " Pablo de Lara
2014-12-01 11:40         ` [dpdk-dev] [PATCH v5 3/4] doc: Moved commands in testpmd UG to match testpmd command help order Pablo de Lara
2014-12-01 12:36           ` Iremonger, Bernard
2014-12-01 11:40         ` [dpdk-dev] [PATCH v5 4/4] doc: Various document fixes in testpmd UG Pablo de Lara
2014-12-01 12:37           ` Iremonger, Bernard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1417117647-28746-3-git-send-email-pablo.de.lara.guarch@intel.com \
    --to=pablo.de.lara.guarch@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).