test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] try fix userspace_ethtool app not receive pack on fortvill nic
@ 2017-03-09  7:43 xu,huilong
  0 siblings, 0 replies; only message in thread
From: xu,huilong @ 2017-03-09  7:43 UTC (permalink / raw)
  To: dts; +Cc: xu,huilong

Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
 framework/packet.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/framework/packet.py b/framework/packet.py
index 924fd5e..f4daf17 100755
--- a/framework/packet.py
+++ b/framework/packet.py
@@ -470,6 +470,10 @@ class Packet(object):
             self.pktgen.send_pcap_pkt(
                 crb=crb, file=pcap_file, intf=self.tx_port, count=count)
         else:
+            # try fix userspace_ethtool app not received packe when use fortville NIC
+            # when add 1 second delay at this function, userspace_ethtool receive packets successfully.
+            # but not find root case, maybe about scapy.
+            time.sleep(1)
             self.pktgen.send_pkt(intf=self.tx_port, count=count)
 
     def check_layer_config(self, layer, config):
-- 
1.9.3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-09  7:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-09  7:43 [dts] [PATCH V1] try fix userspace_ethtool app not receive pack on fortvill nic xu,huilong

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).