* [dts] [PATCH V1] fix rxtx_callbacks failed on i350
@ 2017-10-30 7:49 lu,peipei
2017-10-31 9:01 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: lu,peipei @ 2017-10-30 7:49 UTC (permalink / raw)
To: dts; +Cc: lu,peipei
After running sniff packet command,need to add sleeping time.
Signed-off-by: lu,peipei <peipeix.lu@intel.com>
---
tests/TestSuite_rxtx_callbacks.py | 1 +
1 file changed, 1 insertion(+)
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 = self.tester.get_interface(self.tester.get_local_port(self.dut_ports[1]))
self.inst_port1 = sniff_packets(self.iface_port1)
+ time.sheep(5)
self.scapy_send_packet(self.iface_port0)
out_port1 = self.get_tcpdump_package(self.inst_port1)
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1] fix rxtx_callbacks failed on i350
2017-10-30 7:49 [dts] [PATCH V1] fix rxtx_callbacks failed on i350 lu,peipei
@ 2017-10-31 9:01 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2017-10-31 9:01 UTC (permalink / raw)
To: Lu, PeipeiX, dts; +Cc: Lu, PeipeiX
Peipei,
There has been slightly sleep in sniff_packets function. If 0.5 second is not 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 <peipeix.lu@intel.com>
> Subject: [dts] [PATCH V1] fix rxtx_callbacks failed on i350
>
> After running sniff packet command,need to add sleeping time.
>
> Signed-off-by: lu,peipei <peipeix.lu@intel.com>
> ---
> tests/TestSuite_rxtx_callbacks.py | 1 +
> 1 file changed, 1 insertion(+)
>
> 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 =
> self.tester.get_interface(self.tester.get_local_port(self.dut_ports[1]))
>
> self.inst_port1 = sniff_packets(self.iface_port1)
> + time.sheep(5)
> self.scapy_send_packet(self.iface_port0)
>
> out_port1 = self.get_tcpdump_package(self.inst_port1)
> --
> 1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-31 9:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-30 7:49 [dts] [PATCH V1] fix rxtx_callbacks failed on i350 lu,peipei
2017-10-31 9:01 ` Liu, Yong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).