From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 326D1A0C41; Tue, 7 Sep 2021 12:42:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A1A141168; Tue, 7 Sep 2021 12:42:06 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 91577410EC for ; Tue, 7 Sep 2021 12:42:05 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10099"; a="283873631" X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="283873631" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2021 03:41:54 -0700 X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="469145913" Received: from unknown (HELO localhost.localdomain) ([10.240.183.103]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2021 03:41:53 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Date: Wed, 8 Sep 2021 03:13:17 +0800 Message-Id: <20210907191319.15494-3-zhiminx.huang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210907191319.15494-1-zhiminx.huang@intel.com> References: <20210907191319.15494-1-zhiminx.huang@intel.com> Subject: [dts] [PATCH V1 2/4] test_plans/stats_checks_test_plan:rich test point in plan 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 Sender: "dts" add some new test points in plan: stats_checks: add clear stats test. Signed-off-by: Zhimin Huang --- test_plans/stats_checks_test_plan.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test_plans/stats_checks_test_plan.rst b/test_plans/stats_checks_test_plan.rst index 51ec36d..327aaf2 100644 --- a/test_plans/stats_checks_test_plan.rst +++ b/test_plans/stats_checks_test_plan.rst @@ -264,6 +264,21 @@ FVL does not support hardware per queue stats, so rx_qx_packets and rx_qx_bytes are both 0. tx_qx_packets and tx_qx_bytes are both 0 too. +6. Clear stats:: + + testpmd> clear port stats all + +7. Check stats and xstats, verify rx_good_packets, RX-packets of port 0 and tx_good_packets, TX-packets of port 1 are both 0. + +8. Repeat above 4 and 5 steps. + +9. Clear xstats:: + + testpmd> clear port xstats all + +10. Check stats and xstats, verify rx_good_packets, RX-packets of port 0 and tx_good_packets, TX-packets of port 1 are both 0. + + Test Case: VF xstats Checks ============================ 1. Create one VF port on a kernel PF, then bind the VF to pmd driver:: -- 2.17.1