From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C72EFFE5 for ; Thu, 23 Feb 2017 03:40:05 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 22 Feb 2017 18:40:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,197,1484035200"; d="scan'208";a="51577101" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.239.129.248]) by orsmga002.jf.intel.com with ESMTP; 22 Feb 2017 18:40:04 -0800 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Thu, 23 Feb 2017 11:21:38 -0500 Message-Id: <1487866898-81922-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 2.5.0 Subject: [dts] [PATCH] test_plans: add rx checksum valid flags X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2017 02:40:06 -0000 Signed-off-by: Peng Yuan diff --git a/test_plans/checksum_offload_test_plan.rst b/test_plans/checksum_offload_test_plan.rst index 8325b47..dbbd772 100644 --- a/test_plans/checksum_offload_test_plan.rst +++ b/test_plans/checksum_offload_test_plan.rst @@ -192,4 +192,24 @@ The first byte of source IPv4 address will be increment by testpmd. The checksum is indeed recalculated by software algorithms. +Test Case: Validate RX checksum valid flags on the receive packet +============================================================== +etup the ``csum`` forwarding mode:: + testpmd> set fwd csum + Set csum packet forwarding mode + +Start the packet forwarding:: + + testpmd> start + csum packet forwarding - CRC stripping disabled - packets/burst=32 + nb forwarding cores=1 - nb forwarding ports=10 + RX queues=1 - RX desc=128 - RX free threshold=64 + RX threshold registers: pthresh=8 hthresh=8 wthresh=4 + TX queues=1 - TX desc=512 - TX free threshold=0 + TX threshold registers: pthresh=32 hthresh=8 wthresh=8 + +Configure the traffic generator to send the multiple packets with the following +combination: good/bad ip checksum + good/bad udp/tcp checksum. + +Check the Rx checksum flags consistent with expected flags. -- 2.5.0