From patchwork Sat Nov 15 19:19:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jayakumar, Muthurajan" X-Patchwork-Id: 1298 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 8E6607EB0; Sat, 15 Nov 2014 20:09:17 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 149C9594F for ; Sat, 15 Nov 2014 20:09:14 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 15 Nov 2014 11:16:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,392,1413270000"; d="scan'208";a="608430647" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by orsmga001.jf.intel.com with ESMTP; 15 Nov 2014 11:19:22 -0800 Received: from orsmsx112.amr.corp.intel.com ([169.254.12.223]) by ORSMSX110.amr.corp.intel.com ([169.254.3.43]) with mapi id 14.03.0195.001; Sat, 15 Nov 2014 11:19:22 -0800 From: "Jayakumar, Muthurajan" To: "De Lara Guarch, Pablo" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 2/4] doc: Corrected info for tx_checksum set mask function, in testpmd UG Thread-Index: AQHQAQhL4b0zJLGIGEKBjjR8P0uWhZxiD/1g Date: Sat, 15 Nov 2014 19:19:21 +0000 Message-ID: <5D695A7F6F10504DBD9B9187395A21797D16C4C5@ORSMSX112.amr.corp.intel.com> References: <1416078796-689-1-git-send-email-pablo.de.lara.guarch@intel.com> <1416078796-689-3-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1416078796-689-3-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/4] doc: Corrected info for tx_checksum set mask function, in testpmd UG X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Thank you very much Pablo. -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Pablo de Lara Sent: Saturday, November 15, 2014 11:13 AM To: dev@dpdk.org Subject: [dpdk-dev] [PATCH 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 --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) 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. -- 1.7.4.1 diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index a2b76d7..3b62118 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