test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] add filter lldp packet rule for fortville nic when sniff packet
@ 2017-10-23  9:56 xu,huilong
  0 siblings, 0 replies; 2+ messages in thread
From: xu,huilong @ 2017-10-23  9:56 UTC (permalink / raw)
  To: dts; +Cc: xu,huilong

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

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

* [dts] [PATCH V1] add filter lldp packet rule for fortville nic when sniff packet
@ 2017-10-25  1:41 xu,huilong
  0 siblings, 0 replies; 2+ messages in thread
From: xu,huilong @ 2017-10-25  1:41 UTC (permalink / raw)
  To: dts; +Cc: xu,huilong

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

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

end of thread, other threads:[~2017-10-25  1:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-23  9:56 [dts] [PATCH V1] add filter lldp packet rule for fortville nic when sniff packet xu,huilong
2017-10-25  1:41 xu,huilong

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