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 4CC76A00C5; Thu, 30 Apr 2020 08:21:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 299911D721; Thu, 30 Apr 2020 08:21:51 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 485581D719 for ; Thu, 30 Apr 2020 08:21:50 +0200 (CEST) IronPort-SDR: 0AvoDrE3ksEdFpcss+2FY4+OaqN3m0JzRag8zliCV+mPnctdyyE8it5AwT1hAJhihS71SaJ2xQ EnNTcwpEf2uQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2020 23:21:49 -0700 IronPort-SDR: IA6PPb6lUWii4W2hqNHHGnBAY36nm6TiVWV2wzGQPNZoHmaSZV4BNrwCVDY7NYXvbhvxBP9YQi EmA9cl4hRp5Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,334,1583222400"; d="scan'208";a="276411924" Received: from unknown (HELO dpdk-zhushuai-tetser.icx.intel.com) ([10.240.183.103]) by orsmga002.jf.intel.com with ESMTP; 29 Apr 2020 23:21:48 -0700 From: Zeng Xiaoxiao To: dts@dpdk.org Cc: Zeng Xiaoxiao Date: Thu, 30 Apr 2020 15:06:17 +0000 Message-Id: <20200430150617.22141-1-xiaoxiaox.zeng@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [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" *. default use io mode, set fwd mac. Signed-off-by: Zeng Xiaoxiao --- tests/TestSuite_shutdown_api.py | 2 ++ 1 file changed, 2 insertions(+) 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=%s --port-topology=loop" % portmask, socket = self.ports_socket) 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): 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> ") self.check_forwarding(ports) -- 2.17.1