From: "xu,huilong" <huilongx.xu@intel.com>
To: dts@dpdk.org
Cc: "xu,huilong" <huilongx.xu@intel.com>
Subject: [dts] [PATCH 09/12] add filter lldp in sniff model
Date: Thu, 11 May 2017 15:37:44 +0800 [thread overview]
Message-ID: <1494488267-42592-10-git-send-email-huilongx.xu@intel.com> (raw)
In-Reply-To: <1494488267-42592-1-git-send-email-huilongx.xu@intel.com>
Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
tests/TestSuite_nvgre.py | 2 +-
tests/TestSuite_vxlan.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py
index 015aa9f..6b838b4 100644
--- a/tests/TestSuite_nvgre.py
+++ b/tests/TestSuite_nvgre.py
@@ -575,7 +575,7 @@ class TestNvgre(TestCase):
self.tester.send_expect("rm -rf %s" % config.capture_file, "# ")
# save the capture packet into pcap format
self.tester.scapy_background()
- self.tester.scapy_append('p=sniff(iface="%s",count=1,timeout=5)' % self.tester_rx_iface)
+ self.tester.scapy_append('p=sniff(iface="%s",filter="ether[12:2]!=0x88cc",count=1,timeout=5)' % self.tester_rx_iface)
self.tester.scapy_append('wrpcap(\"%s\", p)' % config.capture_file)
self.tester.scapy_foreground()
diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
index 5fef9d9..411ce22 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -446,7 +446,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
# save the capture packet into pcap format
self.tester.scapy_background()
self.tester.scapy_append(
- 'p=sniff(iface="%s",count=1,timeout=5)' % self.recv_iface)
+ 'p=sniff(iface="%s",filter="ether[12:2]!=0x88cc",count=1,timeout=5)' % self.recv_iface)
self.tester.scapy_append(
'wrpcap(\"%s\", p)' % config.capture_file)
self.tester.scapy_foreground()
--
1.9.3
next prev parent reply other threads:[~2017-05-11 7:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-11 7:37 [dts] [PATCH 00/12] sync inntel dts and dts org xu,huilong
2017-05-11 7:37 ` [dts] [PATCH 01/12] fix check packet failure by lldp have different packet size xu,huilong
2017-05-11 7:37 ` [dts] [PATCH 02/12] remove --disable-crc-strip parameter in testpmd xu,huilong
2017-05-11 7:37 ` [dts] [PATCH 03/12] update fdir test case xu,huilong
2017-05-11 7:37 ` [dts] [PATCH 04/12] update fdir test plane xu,huilong
2017-05-11 7:37 ` [dts] [PATCH 05/12] add link bonding rss dynamic config " xu,huilong
2017-05-11 7:37 ` [dts] [PATCH 06/12] add dynamic rss bond config case xu,huilong
2017-05-11 7:37 ` [dts] [PATCH 07/12] update testpmd path in dpdk xu,huilong
2017-05-11 7:37 ` [dts] [PATCH 08/12] fix timeout when setup dpdk app xu,huilong
2017-05-11 7:37 ` xu,huilong [this message]
2017-05-11 7:37 ` [dts] [PATCH 10/12] add fortville 25G NIC for this case xu,huilong
2017-05-11 7:37 ` [dts] [PATCH 11/12] fix compile error xu,huilong
2017-05-11 7:37 ` [dts] [PATCH 12/12] fix eeporm file check 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=1494488267-42592-10-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).