[dpdk-dev,v2,2/4] doc: Corrected info for tx_checksum set mask function, in testpmd UG

Message ID 1416330293-2947-3-git-send-email-pablo.de.lara.guarch@intel.com (mailing list archive)
State Changes Requested, archived
Headers

Commit Message

De Lara Guarch, Pablo Nov. 18, 2014, 5:04 p.m. UTC
tx_checksum set mask function now allows 4 extra bits in the mask
for TX checksum offload

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
  

Comments

Iremonger, Bernard Nov. 19, 2014, 1:42 p.m. UTC | #1
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Pablo de Lara
> Sent: Tuesday, November 18, 2014 5:05 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v2 2/4] doc: Corrected info for tx_checksum set mask function, in
> testpmd UG
> 
> tx_checksum set mask function now allows 4 extra bits in the mask for TX checksum offload
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Acked-by: Bernard Iremonger <bernard.iremonger@intel.com> 
I have applied the patch to my tree next/dpdk-doc.

> ---
>  doc/guides/testpmd_app_ug/testpmd_funcs.rst |   10 +++++++++-
>  1 files changed, 9 insertions(+), 1 deletions(-)
>
  

Patch

diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index 8647227..cec99dc 100644
--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
@@ -510,7 +510,7 @@  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:
+Enable hardware insertion of checksum offload with a 8-bit mask, 0x0 - 0xFF, in packets sent on a port:
 
 tx_checksum set (mask) (port_id)
 
@@ -524,6 +524,14 @@  bit 2 - if set insert tcp checksum offload
 
 bit 3 - if set insert sctp checksum offload
 
+bit 4 - if set insert inner ip checksum offload
+
+bit 5 - if set insert inner udp checksum offload
+
+bit 6 - if set insert inner tcp checksum offload
+
+bit 7 - if set insert inner sctp checksum offload
+
 .. note::
 
     Check the NIC Datasheet for hardware limits.