test suite reviews and discussions
 help / color / mirror / Atom feed
From: "xu,huilong" <huilongx.xu@intel.com>
To: dts@dpdk.org
Cc: "xu,huilong" <huilongx.xu@intel.com>
Subject: [dts] [PATCH V1] try fix userspace_ethtool app not receive pack on fortvill nic
Date: Thu,  9 Mar 2017 15:43:26 +0800	[thread overview]
Message-ID: <1489045406-9777-1-git-send-email-huilongx.xu@intel.com> (raw)

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

                 reply	other threads:[~2017-03-09  7:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489045406-9777-1-git-send-email-huilongx.xu@intel.com \
    --to=huilongx.xu@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).