[dpdk-dev,v2,2/4] doc: Corrected info for tx_checksum set mask function, in testpmd UG
Commit Message
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
> -----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(-)
>
@@ -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.