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 77FB5A2EFC for ; Thu, 19 Sep 2019 08:53:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 49E2A1E95E; Thu, 19 Sep 2019 08:53:01 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 177F11E95C for ; Thu, 19 Sep 2019 08:52:58 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2019 23:52:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,522,1559545200"; d="scan'208";a="271119082" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 18 Sep 2019 23:52:57 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Sep 2019 23:52:57 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Sep 2019 23:52:57 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.32]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0439.000; Thu, 19 Sep 2019 14:52:55 +0800 From: "Wang, Yinan" To: "Zhu, ShuaiX" , "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" , "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V1] tests/virtio_user_for_container_networking:make mac take effect Thread-Index: AQHVbTJ3Kcot9Cehjkaad0chXp8rY6cvjd0ggAMFcTA= Date: Thu, 19 Sep 2019 06:52:55 +0000 Message-ID: References: <1568709388-12092-1-git-send-email-wenhuix.zhu@intel.com> <1568709388-12092-2-git-send-email-wenhuix.zhu@intel.com> <4DC48DF9BDA3E54A836D2D3C057DEC6F0BB8C476@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <4DC48DF9BDA3E54A836D2D3C057DEC6F0BB8C476@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjQ0MWRlZWYtZDNkMC00YWI1LWJjYmMtMDg2MGJlOTgwYjI4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiemR2bnVOOXhxU2lFd3I5dEl3STlvRDc5ZTVYYk15UVl6XC80RmtETUR4UTMyb1cyejM5SnJ4T3dHQzNJT1JHaEcifQ== x-ctpclassification: CTP_NT 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 V1] tests/virtio_user_for_container_networking:make mac take effect 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" Acked-by: Wang, Yinan > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zhu, ShuaiX > Sent: 2019=1B$BG/=1B(B9=1B$B7n=1B(B17=1B$BF|=1B(B 16:45 > To: Zhu, WenhuiX ; dts@dpdk.org > Cc: Zhu, WenhuiX ; Zhu, ShuaiX > > Subject: Re: [dts] [PATCH V1] tests/virtio_user_for_container_networking:= make > mac take effect >=20 > Tested-by: Zhu, ShuaiX >=20 > > -----Original Message----- > > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui > > Sent: Tuesday, September 17, 2019 4:36 PM > > To: dts@dpdk.org > > Cc: Zhu, WenhuiX > > Subject: [dts] [PATCH V1] > > tests/virtio_user_for_container_networking:make > > mac take effect > > > > Specify the mac address to make the receiving packet normal. > > > > Signed-off-by: zhuwenhui > > --- > > tests/TestSuite_virtio_user_for_container_networking.py | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/tests/TestSuite_virtio_user_for_container_networking.py > > b/tests/TestSuite_virtio_user_for_container_networking.py > > index 241d5b0..034587e 100644 > > --- a/tests/TestSuite_virtio_user_for_container_networking.py > > +++ b/tests/TestSuite_virtio_user_for_container_networking.py > > @@ -117,8 +117,9 @@ class TestVirtioUserForContainer(TestCase): > > > > self.tester.scapy_execute() > > self.tester.pktgen.clear_streams() > > + vm_config =3D {'mac':{'dst':{'range': 1, 'step': 1, > > + 'action': 'inc'},},} > > streams =3D > > self.pktgen_helper.prepare_stream_from_tginput(tgen_input, 100, > > - None, self.tester.pktgen) > > + vm_config, self.tester.pktgen) > > _, pps =3D > > self.tester.pktgen.measure_throughput(stream_ids=3Dstreams) > > Mpps =3D pps / 1000000.0 > > self.verify(Mpps > 0, '%s can not receive packets of > > frame size %d' % (self.running_case, frame_size)) > > -- > > 2.17.2