[dts] [PATCH V1] try fix userspace_ethtool app not receive pack on fortvill nic
xu,huilong
huilongx.xu at intel.com
Thu Mar 9 08:43:26 CET 2017
Signed-off-by: xu,huilong <huilongx.xu at 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
More information about the dts
mailing list