From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 76D1A1B65D for ; Wed, 25 Oct 2017 03:39:53 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2017 18:39:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,430,1503385200"; d="scan'208";a="1209704133" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 24 Oct 2017 18:39:51 -0700 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Wed, 25 Oct 2017 09:41:01 +0800 Message-Id: <1508895661-19478-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] add filter lldp packet rule for fortville nic when sniff packet X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2017 01:39:53 -0000 fortville nic will auto send lldp packet when dpdk app setup Signed-off-by: xu,huilong --- 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