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 C287AA00E6 for ; Mon, 15 Apr 2019 22:50:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A40281B3D7; Mon, 15 Apr 2019 22:50:18 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 1146A1B3BA for ; Mon, 15 Apr 2019 22:50:16 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Apr 2019 13:50:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,355,1549958400"; d="scan'208";a="291805997" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 15 Apr 2019 13:50:15 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 15 Apr 2019 13:50:15 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 15 Apr 2019 13:50:10 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.164]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.92]) with mapi id 14.03.0415.000; Tue, 16 Apr 2019 04:50:09 +0800 From: "Tu, Lijuan" To: "Zhang, YanX A" , "dts@dpdk.org" CC: "Zhang, YanX A" Thread-Topic: [dts] [PATCH V1] tests/vf_to_vf_nic_bridge:disable promise mode to forbid misc packets Thread-Index: AQHU8zrXZtUizJOPjkCXvI0dh6eSx6Y9ssUQ Date: Mon, 15 Apr 2019 20:50:09 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA624BB@SHSMSX101.ccr.corp.intel.com> References: <1555298950-24890-1-git-send-email-yanx.a.zhang@intel.com> In-Reply-To: <1555298950-24890-1-git-send-email-yanx.a.zhang@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.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTU1MmY5ZDMtYjBhMC00ZDU0LTk4NDEtMzQ1NjE3YjRkZmFmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoib2h3T2hkdzJ1S0xLQ2pwSmZrU0RBTm5panNSMFhxdDhaR29TQU5MbmJGRFJIS1RRRTF4M2M2SUc3U003bTFXWiJ9 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/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" Applied, This patch was supposed to be V2, thanks for your contribution, Co= uld you please take more care of your version tag next time? > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan > Sent: Sunday, April 14, 2019 8:29 PM > To: dts@dpdk.org > Cc: Zhang, YanX A > Subject: [dts] [PATCH V1] tests/vf_to_vf_nic_bridge:disable promise mode = to > forbid misc packets >=20 > There will be some miscellaneous packetss appearing on the receiving port= , > and setting up command "set promisc all off" to forbidden packets >=20 > Signed-off-by: zhang,yan > --- > tests/TestSuite_vf_to_vf_nic_bridge.py | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/tests/TestSuite_vf_to_vf_nic_bridge.py > b/tests/TestSuite_vf_to_vf_nic_bridge.py > index 356795a..15b2ff9 100644 > --- a/tests/TestSuite_vf_to_vf_nic_bridge.py > +++ b/tests/TestSuite_vf_to_vf_nic_bridge.py > @@ -180,6 +180,7 @@ class TestVF2VFBridge(TestCase): > self.vm0_pmd =3D PmdOutput(self.vm0_dut) > self.vm0_pmd.start_testpmd('all') > self.vm0_pmd.execute_cmd('set fwd rxonly') > + self.vm0_pmd.execute_cmd("set promisc all off") > self.vm0_pmd.execute_cmd('start') >=20 > self.vm1_ports =3D self.vm1_dut.get_ports('any') @@ -194,6 +195,= 7 @@ > class TestVF2VFBridge(TestCase): > load =3D {} > load['content'] =3D "'X'*46" > self.generate_pcap_pkt(dst, src, load) > + self.vm0_pmd.execute_cmd('clear port stats all') > self.send_stream_pktgen(self.vm1_dut) > recv_num =3D self.vm0_pmd.get_pmd_stats(0)['RX-packets'] > time.sleep(1) > -- > 2.17.2