From patchwork Sat Nov 15 19:13:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "De Lara Guarch, Pablo" X-Patchwork-Id: 1296 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 ACAF07F80; Sat, 15 Nov 2014 20:03:20 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 582216891 for ; Sat, 15 Nov 2014 20:03:15 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 15 Nov 2014 11:13:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="417054518" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 15 Nov 2014 11:04:11 -0800 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id sAFJDJd7028824; Sat, 15 Nov 2014 19:13:19 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id sAFJDJOm000750; Sat, 15 Nov 2014 19:13:19 GMT Received: (from pdelarax@localhost) by sivswdev02.ir.intel.com with id sAFJDJuM000746; Sat, 15 Nov 2014 19:13:19 GMT From: Pablo de Lara To: dev@dpdk.org Date: Sat, 15 Nov 2014 19:13:14 +0000 Message-Id: <1416078796-689-3-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1416078796-689-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1416078796-689-1-git-send-email-pablo.de.lara.guarch@intel.com> Subject: [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" 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(-) 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 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.