From patchwork Fri Sep 30 05:49:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ke Xu X-Patchwork-Id: 117172 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C429DA034C; Fri, 30 Sep 2022 07:50:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFA06410FA; Fri, 30 Sep 2022 07:50:28 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 2780540E5A for ; Fri, 30 Sep 2022 07:50:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664517027; x=1696053027; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kW3RoBdoG3MUNq0KjP0H1z1K+8kuYAJ6STyVAEctG9g=; b=Ui9YkXUtFNCmrDrpGgNx6r3R8k8vqIWzjTjKmhiJ4mORmgh8BHrAwHRb yQWztryL8fFs0F2Qg3Oz0T4brR4LduiNHnTR3XBZn/y9EJAWTUp0brat9 18f+b+OtbYMY9aIRVvdcBrQOEWB/xtkKr1y4jJKFPdw9K9bVwDCpM8SIp 9YtHGmwk44oOXKJJaxhSmltLgQnhWQJuUyx/elPRKv7B9fpoRDE7T8yD4 B6rIl48vYhrIFtgVZt14uzEzQNdD5tFDKP/AurALWaf9LzaIfqBlKkoK5 AvrkYVsn/tn3WSQSlVJrvsE/SK1XV/qyzn4tqH0UL4zu1ckFtQ1QNceZm Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="363953969" X-IronPort-AV: E=Sophos;i="5.93,357,1654585200"; d="scan'208";a="363953969" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2022 22:50:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="685157277" X-IronPort-AV: E=Sophos;i="5.93,357,1654585200"; d="scan'208";a="685157277" Received: from bmca4bf0170a856.sh.intel.com (HELO DPDK-XUKE-LAB.sh.intel.com) ([10.67.115.115]) by fmsmga008.fm.intel.com with ESMTP; 29 Sep 2022 22:50:23 -0700 From: Ke Xu To: dts@dpdk.org Cc: qi.fu@intel.com, lijuan.tu@intel.com, Ke Xu Subject: [DTS][PATCH V1 2/2] test_plans/vf_offload: format packet organization of previous cases into a table Date: Fri, 30 Sep 2022 05:49:30 +0000 Message-Id: <20220930054930.546563-3-ke1.xu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220930054930.546563-1-ke1.xu@intel.com> References: <20220930054930.546563-1-ke1.xu@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Format the packet organization into a table to make it better organized to read. Signed-off-by: Ke Xu --- test_plans/vf_offload_test_plan.rst | 30 +++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/test_plans/vf_offload_test_plan.rst b/test_plans/vf_offload_test_plan.rst index c0a7f850..cd40bf3d 100644 --- a/test_plans/vf_offload_test_plan.rst +++ b/test_plans/vf_offload_test_plan.rst @@ -86,7 +86,21 @@ Enable the IPv4/UDP/TCP/SCTP HW checksum offload on port 0:: TX threshold registers: pthresh=32 hthresh=8 wthresh=8 Configure the traffic generator to send the multiple packets for the following -combination: IPv4/UDP, IPv4/TCP, IPv4/SCTP, IPv6/UDP, IPv6/TCP. +combination: + + +----------------+----------------------------------------+ + | packet type | packet organization | + +================+========================================+ + | | Ether / IPv4 / UDP / payload | + | +----------------------------------------+ + | | Ether / IPv4 / TCP / payload | + | +----------------------------------------+ + | packets | Ether / IPv4 / SCTP / payload | + | for checksum +----------------------------------------+ + | offload test | Ether / IPv6 / UDP / payload | + | +----------------------------------------+ + | | Ether / IPv6 / TCP / payload | + +----------------+----------------------------------------+ Send packets with incorrect checksum, verify dpdk can rx it and report the checksum error, @@ -216,7 +230,19 @@ Enable the IPv4/UDP/TCP/SCTP SW checksum offload on port 0:: TX threshold registers: pthresh=32 hthresh=8 wthresh=8 Configure the traffic generator to send the multiple packets for the following -combination: IPv4/UDP, IPv4/TCP, IPv6/UDP, IPv6/TCP. +combination: + + +----------------+----------------------------------------+ + | packet type | packet organization | + +================+========================================+ + | | Ether / IPv4 / UDP / payload | + | +----------------------------------------+ + | packets | Ether / IPv4 / TCP / payload | + | for checksum +----------------------------------------+ + | offload test | Ether / IPv6 / UDP / payload | + | +----------------------------------------+ + | | Ether / IPv6 / TCP / payload | + +----------------+----------------------------------------+ Send packets with incorrect checksum, verify dpdk can rx it and report the checksum error,