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 87F061B3CE for ; Mon, 23 Oct 2017 11:55:20 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Oct 2017 02:55:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,422,1503385200"; d="scan'208";a="1234055795" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 23 Oct 2017 02:55:18 -0700 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Mon, 23 Oct 2017 17:56:30 +0800 Message-Id: <1508752590-17090-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: Mon, 23 Oct 2017 09:55:21 -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