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 B371BA0352; Wed, 6 May 2020 05:28:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8F2B41C0CE; Wed, 6 May 2020 05:28:06 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id D32A61C0B6 for ; Wed, 6 May 2020 05:28:04 +0200 (CEST) IronPort-SDR: XUSHwhs81brTzCG+aVWoiiuiAsD8LnGZoZ6bytRlNQZGg6NR++jjE6p3y/FN4Nnuhqbjah2Tkp hz1WS6stydFA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 20:28:04 -0700 IronPort-SDR: /tIIP/OfEGd+jlErsJtUPk/T2GJnZVnWuzcxT4uzY7GmqyXQ9iFjnLIJWnjnAuwpnkH+LpC26y NdEPKQMYkrIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,357,1583222400"; d="scan'208";a="249651087" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 05 May 2020 20:28:03 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 20:28:02 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 20:28:01 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.225]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.92]) with mapi id 14.03.0439.000; Wed, 6 May 2020 11:27:59 +0800 From: "Tu, Lijuan" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V1]tests/shutdown_api: set fwd mode in promisc and allmulti Thread-Index: AQHWHrerPNUPRVrGWUSJEo0i83iaYqiabztA Date: Wed, 6 May 2020 03:27:59 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC22033@SHSMSX101.ccr.corp.intel.com> References: <20200430150617.22141-1-xiaoxiaox.zeng@intel.com> In-Reply-To: <20200430150617.22141-1-xiaoxiaox.zeng@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="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1]tests/shutdown_api: set fwd mode in promisc and allmulti 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: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zeng Xiaoxiao > Sent: Thursday, April 30, 2020 11:06 PM > To: dts@dpdk.org > Cc: Zeng, XiaoxiaoX > Subject: [dts] [PATCH V1]tests/shutdown_api: set fwd mode in promisc and > allmulti >=20 > *. default use io mode, set fwd mac. >=20 > Signed-off-by: Zeng Xiaoxiao > --- > tests/TestSuite_shutdown_api.py | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/tests/TestSuite_shutdown_api.py > b/tests/TestSuite_shutdown_api.py index 181a385..a2f508a 100644 > --- a/tests/TestSuite_shutdown_api.py > +++ b/tests/TestSuite_shutdown_api.py > @@ -354,6 +354,7 @@ class TestShutdownApi(TestCase): > self.pmdout.start_testpmd("Default", "--portmask=3D%s --port- > topology=3Dloop" % portmask, socket =3D self.ports_socket) >=20 > self.dut.send_expect("port stop all", "testpmd> ", 100) > + self.dut.send_expect("set fwd mac", "testpmd>") > self.dut.send_expect("set promisc all off", "testpmd> ") > self.dut.send_expect("port start all", "testpmd> ", 100) > self.dut.send_expect("show config rxtx", "testpmd> ") @@ -391,6 > +392,7 @@ class TestShutdownApi(TestCase): >=20 > self.dut.send_expect("set promisc all off", "testpmd> ") > self.dut.send_expect("set allmulti all off", "testpmd> ") > + self.dut.send_expect("set fwd mac", "testpmd>") > self.dut.send_expect("start", "testpmd> ") >=20 > self.check_forwarding(ports) > -- > 2.17.1