From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 0F5E31B263 for ; Tue, 31 Oct 2017 10:01:21 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Oct 2017 02:01:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,323,1505804400"; d="scan'208";a="1237627177" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga002.fm.intel.com with ESMTP; 31 Oct 2017 02:01:11 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 31 Oct 2017 02:01:11 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 31 Oct 2017 02:01:11 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.159]) with mapi id 14.03.0319.002; Tue, 31 Oct 2017 17:01:09 +0800 From: "Liu, Yong" To: "Lu, PeipeiX" , "dts@dpdk.org" CC: "Lu, PeipeiX" Thread-Topic: [dts] [PATCH V1] fix rxtx_callbacks failed on i350 Thread-Index: AQHTUVONlw2V/onH2EyP/HA1hWncH6L9p2jQ Date: Tue, 31 Oct 2017 09:01:09 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62F0C4E4@SHSMSX103.ccr.corp.intel.com> References: <1509349766-26073-1-git-send-email-peipeix.lu@intel.com> In-Reply-To: <1509349766-26073-1-git-send-email-peipeix.lu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjMzMDJhOTUtOTJjZS00MDE1LWE5MWUtMjgyNGI1MDBkYjY5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJLMWlyMncySjlibzcyanFDTXh5R3ByV3N6NDZOdHdlWkxiNXN5SWk3a24xcDNDdUNCa2NSeXhKSkxsbDNtYTRXIn0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 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] fix rxtx_callbacks failed on i350 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: , X-List-Received-Date: Tue, 31 Oct 2017 09:01:23 -0000 Peipei, There has been slightly sleep in sniff_packets function. If 0.5 second is n= ot enough in your environment, you can add a little more like one second in= sniff_packets. I think there's no need to wait five seconds. Thanks, Marvin > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lu,peipei > Sent: Monday, October 30, 2017 3:49 PM > To: dts@dpdk.org > Cc: Lu, PeipeiX > Subject: [dts] [PATCH V1] fix rxtx_callbacks failed on i350 >=20 > After running sniff packet command,need to add sleeping time. >=20 > Signed-off-by: lu,peipei > --- > tests/TestSuite_rxtx_callbacks.py | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/tests/TestSuite_rxtx_callbacks.py > b/tests/TestSuite_rxtx_callbacks.py > index dd968a4..d652378 100644 > --- a/tests/TestSuite_rxtx_callbacks.py > +++ b/tests/TestSuite_rxtx_callbacks.py > @@ -78,6 +78,7 @@ class TestRxtxCallbacks(TestCase): > self.iface_port1 =3D > self.tester.get_interface(self.tester.get_local_port(self.dut_ports[1])) >=20 > self.inst_port1 =3D sniff_packets(self.iface_port1) > + time.sheep(5) > self.scapy_send_packet(self.iface_port0) >=20 > out_port1 =3D self.get_tcpdump_package(self.inst_port1) > -- > 1.9.3