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 6897F9432 for ; Mon, 7 Dec 2015 03:56:56 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 06 Dec 2015 18:56:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,392,1444719600"; d="scan'208";a="867999366" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by fmsmga002.fm.intel.com with ESMTP; 06 Dec 2015 18:56:53 -0800 From: Shijie Dong To: dts@dpdk.org Date: Mon, 7 Dec 2015 10:52:23 +0800 Message-Id: <1449456743-27572-1-git-send-email-shijiex.dong@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] add payload for send eth 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, 07 Dec 2015 02:56:56 -0000 scapy can't support send packet only inlcude eth herd in ubutu 15.10 Signed-off-by: Shijie Dong --- tests/TestSuite_mac_filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_mac_filter.py b/tests/TestSuite_mac_filter.py index 1d4e77d..3ca7387 100644 --- a/tests/TestSuite_mac_filter.py +++ b/tests/TestSuite_mac_filter.py @@ -86,7 +86,7 @@ class TestWhitelist(TestCase): """ itf = self.tester.get_interface(self.tester.get_local_port(portid)) self.tester.scapy_foreground() - self.tester.scapy_append('sendp([Ether(dst="%s", src="52:00:00:00:00:00")], iface="%s", count=%d)' % (destMac, + self.tester.scapy_append('sendp([Ether(dst="%s", src="52:00:00:00:00:00")/Raw(load="X"*26)], iface="%s", count=%d)' % (destMac, itf, self.frames_to_send)) self.tester.scapy_execute() time.sleep(5) -- 1.9.3