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 3B34DA04A3; Thu, 11 Jun 2020 14:21:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2CA1B2C27; Thu, 11 Jun 2020 14:21:51 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8A8542BAA for ; Thu, 11 Jun 2020 14:21:49 +0200 (CEST) IronPort-SDR: G+WSp2lFT2xycJr2LvHITA7sUNWqdsRVCipJ6cuZDlKrzcNS5mzqIgDm+3Vo8EDl5+yhABCDpA sll4Q7O8R+bA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2020 05:21:48 -0700 IronPort-SDR: h9XuiupNkeHRZtKDP2e9bKorWP9buvjI096hRTaRlzlGvhoM4AwGaOAWEZ8tdz9lMyRhIlbmbI LbbL9i1Rvi/A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,499,1583222400"; d="scan'208";a="271567169" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 11 Jun 2020 05:21:48 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 11 Jun 2020 05:21:48 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 11 Jun 2020 05:21:47 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.85]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.55]) with mapi id 14.03.0439.000; Thu, 11 Jun 2020 20:21:45 +0800 From: "Tu, Lijuan" To: "dts@dpdk.org" Thread-Topic: [PATCH] tests/link_flowctrl: fix case/setting agreement Thread-Index: AQHWOYVgF5GraSz1QUi5+TS07X+4WKjTYqbA Date: Thu, 11 Jun 2020 12:21:44 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC5BC58@SHSMSX101.ccr.corp.intel.com> References: <1591203807-162767-1-git-send-email-lijuan.tu@intel.com> In-Reply-To: <1591203807-162767-1-git-send-email-lijuan.tu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Applied, thanks -----Original Message----- From: Tu, Lijuan =20 Sent: 2020=1B$BG/=1B(B6=1B$B7n=1B(B4=1B$BF|=1B(B 1:03 To: dts@dpdk.org Cc: Tu, Lijuan Subject: [PATCH] tests/link_flowctrl: fix case/setting agreement * 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_flowct= rl.py index ee190d0..0349c11 100644 --- a/tests/TestSuite_link_flowctrl.py +++ b/tests/TestSuite_link_flowctrl.py @@ -367,7 +367,7 @@ class TestLinkFlowctrl(TestCase): =20 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 """ =20 result =3D self.pause_frame_loss_test(rx_flow_control=3D'on', @@ -381,7 +381,7 @@ class TestLinkFlowctrl(TestCase): =20 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 """ =20 result =3D self.pause_frame_loss_test(rx_flow_control=3D'on', @@ -399,7 +399,7 @@ class TestLinkFlowctrl(TestCase): """ =20 result =3D self.pause_frame_loss_test(rx_flow_control=3D'on', - tx_flow_control=3D'on', + tx_flow_control=3D'off', pause_frame_fwd=3D'off') =20 self.logger.info("Packet loss: %.3f" % result) @@ -409,7 +409,7 @@= class TestLinkFlowctrl(TestCase): =20 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 """ =20 result =3D self.pause_frame_loss_test(rx_flow_control=3D'off', @@ -437,7 +437,7 @@ class TestLinkFlowctrl(TestCase): =20 def test_perf_flowctrl_tx_on(self): """ - Disable link flow control and PAUSE frame forwarding + Enable only tx link flow control """ =20 result =3D self.pause_frame_loss_test(rx_flow_control=3D'off', -- 1.8.3.1