From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EFDD1A09E5; Tue, 8 Dec 2020 11:04:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AC336C8FA; Tue, 8 Dec 2020 11:03:58 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 678A8C96E for ; Tue, 8 Dec 2020 11:03:55 +0100 (CET) IronPort-SDR: gEg6xQ0bVS/A75MIg72AhGjYVkXf0k8tAadTekzLXeAsuz49MUFn4f6vmgQchN4h/QaEfymk38 kWKNBo8VotXg== X-IronPort-AV: E=McAfee;i="6000,8403,9828"; a="171293396" X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="171293396" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2020 02:03:54 -0800 IronPort-SDR: n0QET9Em07Yf8dxinPcsKlbFsv4XKu/CRm1vImesF6+hgYoNgu808OswLwfiY+p4gHMD9kVsdX jqJFkl3Tpk0w== X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="363575773" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2020 02:03:53 -0800 From: Zhou Jun To: dts@dpdk.org Cc: Zhou Jun Date: Tue, 8 Dec 2020 18:06:13 +0800 Message-Id: <20201208100627.9792-15-junx.w.zhou@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201208100627.9792-1-junx.w.zhou@intel.com> References: <20201208100627.9792-1-junx.w.zhou@intel.com> Subject: [dts] [dts 14/28] tests/TestSuite_multicast:Modify the hard coded app parameter to call the platform interface 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: Zhou Jun --- tests/TestSuite_multicast.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_multicast.py b/tests/TestSuite_multicast.py index 6fcaee6f..3ff06477 100644 --- a/tests/TestSuite_multicast.py +++ b/tests/TestSuite_multicast.py @@ -127,11 +127,10 @@ class TestMulticast(TestCase): """ IP4 Multicast Forwarding F1~F6 """ - cores = self.dut.get_core_list("1S/2C/1T") - coremask = utils.create_mask(cores) + eal_para = self.dut.create_eal_parameters(cores="1S/2C/1T") payload = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" self.dut.send_expect("%s -c %s -n 4 -- -p %s -q 2" % (self.app_ipv4_multicast_path, - coremask, '0x5'), "IPv4_MULTICAST:", 60) + eal_para, '0x5'), "IPv4_MULTICAST:", 60) for flow in list(trafficFlow.keys()): for tx_port in trafficFlow[flow][0].split(","): -- 2.17.1