test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] add filter lldp in sniff model
@ 2017-05-12  7:44 xu,huilong
  2017-05-12  7:44 ` [dts] [PATCH V2] add fortville 25G NIC for this case xu,huilong
                   ` (11 more replies)
  0 siblings, 12 replies; 26+ messages in thread
From: xu,huilong @ 2017-05-12  7:44 UTC (permalink / raw)
  To: dts; +Cc: xu,huilong

fortville nic will auto send lldp packet when use dpdk driver.
so should filter lldp packet in nvgre and vxlan checksum offload case

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2017-05-15  3:07 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-12  7:44 [dts] [PATCH V2] add filter lldp in sniff model xu,huilong
2017-05-12  7:44 ` [dts] [PATCH V2] add fortville 25G NIC for this case xu,huilong
2017-05-12  8:47   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH 1/2] add link bonding rss dynamic config test plane xu,huilong
2017-05-15  2:30   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH] fix check packet failure by lldp have different packet size xu,huilong
2017-05-15  2:54   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH V2] fix test app compile error xu,huilong
2017-05-12  8:57   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH V2] fix timeout when setup dpdk app xu,huilong
2017-05-12  9:01   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH V2] fix user space ethtool failed case xu,huilong
2017-05-12  9:07   ` Liu, Yong
2017-05-15  1:27     ` Xu, HuilongX
2017-05-12  7:44 ` [dts] [PATCH] remove --crc-strip parameter in testpmd xu,huilong
2017-05-12  9:10   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH 1/2] update fdir test case xu,huilong
2017-05-15  2:19   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH V2] update testpmd path in dpdk xu,huilong
2017-05-12  9:12   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH 2/2] add link bond slave dynamic config test case xu,huilong
2017-05-12  8:53   ` Liu, Yong
2017-05-15  1:08     ` Xu, HuilongX
2017-05-12  7:44 ` [dts] [PATCH 2/2] update fdir test plane xu,huilong
2017-05-15  2:16   ` Liu, Yong
2017-05-12  8:45 ` [dts] [PATCH V2] add filter lldp in sniff model Liu, Yong

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