From: "xu,huilong" <huilongx.xu@intel.com>
To: dts@dpdk.org
Cc: "xu,huilong" <huilongx.xu@intel.com>
Subject: [dts] [PATCH V1] add filter lldp packet rule for fortville nic when sniff packet
Date: Mon, 23 Oct 2017 17:56:30 +0800 [thread overview]
Message-ID: <1508752590-17090-1-git-send-email-huilongx.xu@intel.com> (raw)
fortville nic will auto send lldp packet when dpdk app setup
Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
tests/TestSuite_short_live.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_short_live.py b/tests/TestSuite_short_live.py
index d153975..8feab82 100644
--- a/tests/TestSuite_short_live.py
+++ b/tests/TestSuite_short_live.py
@@ -102,7 +102,7 @@ class TestShortLiveApp(TestCase):
if (txPort == rxPort):
count = 2
- self.tester.scapy_append('p=sniff(iface="%s",count=%d,timeout=5)' % (rxitf, count))
+ self.tester.scapy_append('p=sniff(iface="%s", filter="ether[12:2]!=0x88cc, count=%d, timeout=5)' % (rxitf, count))
self.tester.scapy_append('RESULT=str(p[%d].show)' % (count-1))
self.tester.scapy_foreground()
--
1.9.3
next reply other threads:[~2017-10-23 9:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-23 9:56 xu,huilong [this message]
2017-10-25 1:41 xu,huilong
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=1508752590-17090-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).