From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 33F895927 for ; Thu, 27 Nov 2014 17:49:50 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 27 Nov 2014 08:47:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,470,1413270000"; d="scan'208";a="644632439" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 27 Nov 2014 08:49:41 -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 sARGne2k016891; Thu, 27 Nov 2014 16:49:40 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id sARGneaJ025881; Thu, 27 Nov 2014 16:49:40 GMT Received: (from pdelarax@localhost) by sivswdev02.ir.intel.com with id sARGndUB025876; Thu, 27 Nov 2014 16:49:39 GMT From: Pablo de Lara To: dev@dpdk.org Date: Thu, 27 Nov 2014 16:49:31 +0000 Message-Id: <1417106973-25766-3-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1417106973-25766-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1416330293-2947-1-git-send-email-pablo.de.lara.guarch@intel.com> <1417106973-25766-1-git-send-email-pablo.de.lara.guarch@intel.com> Subject: [dpdk-dev] [PATCH v3 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: , X-List-Received-Date: Thu, 27 Nov 2014 16:49:51 -0000 tx_checksum set function does not use bitmask anymore, but strings Signed-off-by: Pablo de Lara --- 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