From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id A2C39A00E6 for ; Mon, 15 Apr 2019 05:13:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3B5145B20; Mon, 15 Apr 2019 05:13:31 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 5A9BE569B for ; Mon, 15 Apr 2019 05:13:29 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Apr 2019 20:13:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,351,1549958400"; d="scan'208";a="164740665" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 14 Apr 2019 20:13:27 -0700 From: "zhang,yan" To: dts@dpdk.org Cc: "zhang,yan" Date: Mon, 15 Apr 2019 11:17:38 +0800 Message-Id: <1555298258-24054-1-git-send-email-yanx.a.zhang@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/vf_to_vf_nic_bridge:disable promise mode to forbid misc packets 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" Signed-off-by: zhang,yan --- tests/TestSuite_vf_to_vf_nic_bridge.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestSuite_vf_to_vf_nic_bridge.py b/tests/TestSuite_vf_to_vf_nic_bridge.py index 356795a..920b5ab 100644 --- a/tests/TestSuite_vf_to_vf_nic_bridge.py +++ b/tests/TestSuite_vf_to_vf_nic_bridge.py @@ -179,7 +179,9 @@ class TestVF2VFBridge(TestCase): self.vm0_ports = self.vm0_dut.get_ports('any') self.vm0_pmd = PmdOutput(self.vm0_dut) self.vm0_pmd.start_testpmd('all') + self.vm0_pmd.execute_cmd('clear port stats all') self.vm0_pmd.execute_cmd('set fwd rxonly') + self.vm0_pmd.execute_cmd("set promisc all off") self.vm0_pmd.execute_cmd('start') self.vm1_ports = self.vm1_dut.get_ports('any') -- 2.17.2