From patchwork Tue Dec 13 09:01:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ke Xu X-Patchwork-Id: 120808 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 086C5A0540; Tue, 13 Dec 2022 10:03:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0142842D0C; Tue, 13 Dec 2022 10:03:07 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id B976C42D0C for ; Tue, 13 Dec 2022 10:03:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670922184; x=1702458184; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AZQhujhsHoSaC1uQnD+kh1QQb7qlAsptAotrth8rdTA=; b=nRP71JfcoQiNiOGt0oz9+fvV39oPMCVDqjVBipE87NCeLyZqY9c4VUal Px2gM/yS/dYYP7ZiMXm+kg4dNthoNjFtrjSLULto7SP4jxFpR4W2oewKu HvCOVHEx0z3BC09hSNEFa4gJ8IeyJycERWKxIgy25Pp+ik2VIGiyE2h84 0Lkn+/bmBk334voGMiQA1sqVohTCOrMgZsh4d7rK+FKT7HGd1uNrDe0J8 ID+TquzZtTSxLKI0LIaGm4WO1P1NzZdv8ciZVOgFZDH4dimUvXsUtOZTJ 5ixmqrg7GV5FQypgxBKwQ8vKi1J9Ld8RxcnZ1Ve7kL22CWqOhWXuSTkJo w==; X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="382386475" X-IronPort-AV: E=Sophos;i="5.96,240,1665471600"; d="scan'208";a="382386475" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2022 01:03:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="755294470" X-IronPort-AV: E=Sophos;i="5.96,240,1665471600"; d="scan'208";a="755294470" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.119.8]) by fmsmga002.fm.intel.com with ESMTP; 13 Dec 2022 01:03:01 -0800 From: Ke Xu To: dts@dpdk.org Cc: ke1.xu@intel.com, qi.fu@intel.com, lijuan.tu@intel.com Subject: [DTS][PATCH V3 2/2] test_plans/vf_offload: format packet organization of previous cases into a table Date: Tue, 13 Dec 2022 17:01:41 +0800 Message-Id: <20221213090141.170959-3-ke1.xu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213090141.170959-1-ke1.xu@intel.com> References: <20221213090141.170959-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 Acked-by: Lijuan Tu --- 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 f80290f5..00b221ca 100644 --- a/test_plans/vf_offload_test_plan.rst +++ b/test_plans/vf_offload_test_plan.rst @@ -102,7 +102,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, @@ -237,7 +251,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,