From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B614FA04EF; Wed, 3 Jun 2020 11:00:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3ED6D1C1C4; Wed, 3 Jun 2020 11:00:01 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1E3761C1B7 for ; Wed, 3 Jun 2020 10:59:59 +0200 (CEST) IronPort-SDR: n9yiCyWM1CCJbtmaEutNqvnaj2lV2lnNp6Cexg8Lu1GOIvqdK7xQ07HeRjBGuv1u1L2MJ2k5iR HYUxfUVnSfMQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2020 01:59:59 -0700 IronPort-SDR: La4XNxXmSXAn3vHak1C6tapdhP0ncLWhkFt4ayWORiY0FWSFX1HF7M7tdGA/JS+kYrkWYa4FUn lJXoJAWsayqQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,467,1583222400"; d="scan'208";a="470979377" Received: from unknown (HELO dpdk-lijuan.sh.intel.com) ([10.67.119.192]) by fmsmga006.fm.intel.com with ESMTP; 03 Jun 2020 01:59:58 -0700 From: Lijuan Tu To: dts@dpdk.org Cc: Lijuan Tu Date: Thu, 4 Jun 2020 01:03:27 +0800 Message-Id: <1591203807-162767-1-git-send-email-lijuan.tu@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH] tests/link_flowctrl: fix case/setting agreement 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" * fix case setting: test_perf_flowctrl_on_pause_fwd_off * fix comments Signed-off-by: Lijuan Tu --- tests/TestSuite_link_flowctrl.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py index ee190d0..0349c11 100644 --- a/tests/TestSuite_link_flowctrl.py +++ b/tests/TestSuite_link_flowctrl.py @@ -367,7 +367,7 @@ class TestLinkFlowctrl(TestCase): def test_perf_flowctrl_on_pause_fwd_on(self): """ - Disable link flow control and PAUSE frame forwarding + Enable link flow control and PAUSE frame forwarding """ result = self.pause_frame_loss_test(rx_flow_control='on', @@ -381,7 +381,7 @@ class TestLinkFlowctrl(TestCase): def test_perf_flowctrl_on_pause_fwd_off(self): """ - Disable link flow control and enable PAUSE frame forwarding + Enable link flow control and disable PAUSE frame forwarding """ result = self.pause_frame_loss_test(rx_flow_control='on', @@ -399,7 +399,7 @@ class TestLinkFlowctrl(TestCase): """ result = self.pause_frame_loss_test(rx_flow_control='on', - tx_flow_control='on', + tx_flow_control='off', pause_frame_fwd='off') self.logger.info("Packet loss: %.3f" % result) @@ -409,7 +409,7 @@ class TestLinkFlowctrl(TestCase): def test_perf_flowctrl_off_pause_fwd_on(self): """ - Enable link flow control and disable PAUSE frame forwarding + Disable link flow control and enable PAUSE frame forwarding """ result = self.pause_frame_loss_test(rx_flow_control='off', @@ -437,7 +437,7 @@ class TestLinkFlowctrl(TestCase): def test_perf_flowctrl_tx_on(self): """ - Disable link flow control and PAUSE frame forwarding + Enable only tx link flow control """ result = self.pause_frame_loss_test(rx_flow_control='off', -- 1.8.3.1