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 8EF0EA0526; Fri, 17 Jul 2020 04:44:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5C6B61BEB4; Fri, 17 Jul 2020 04:44:45 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 62D752C4F for ; Fri, 17 Jul 2020 04:44:43 +0200 (CEST) IronPort-SDR: uRe7q15MqgULlytXbrn0+IQYmSBu9F+zOBGoZe0NQuxeG4bm8Cd6W4C0hKT2m7MD/l50XRaRb+ yBMWN1LKF9Fg== X-IronPort-AV: E=McAfee;i="6000,8403,9684"; a="129091687" X-IronPort-AV: E=Sophos;i="5.75,361,1589266800"; d="scan'208";a="129091687" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2020 19:44:42 -0700 IronPort-SDR: 5eGjIT1N03ox5HMTih6Mc3R6Orz2TQB+rZ8L0DRiN1SiKqTLJr7NcGnISYtQY+ASSvUkb1KAiJ b5PdIFoUA53g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,361,1589266800"; d="scan'208";a="300432416" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 16 Jul 2020 19:44:40 -0700 From: "Ling, WeiX" To: dts@dpdk.org Cc: "Ling, WeiX" , Ling@dpdk.org Date: Fri, 17 Jul 2020 10:40:53 +0000 Message-Id: <20200717104053.5268-1-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/TestSuite.ipfrag.py add -w option in set_up_all method 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" Because of DPDK update,if run ip_fragmentation app without -w option in set_up_all method,it will use all drivers which bind into dpdk. Signed-off-by: Ling, WeiX --- tests/TestSuite_ipfrag.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_ipfrag.py b/tests/TestSuite_ipfrag.py index cbcd5fe..8ad2e82 100644 --- a/tests/TestSuite_ipfrag.py +++ b/tests/TestSuite_ipfrag.py @@ -129,10 +129,13 @@ l3fwd_ipv4_route_array[] = {\\\n" numPortThread = len([P0, P1]) / len(cores) result = True errString = '' + eal_param = "" + for i in [P0, P1]: + eal_param += " -w %s" % self.dut.ports_info[i]['pci'] # run ipv4_frag - self.dut.send_expect("examples/ip_fragmentation/build/ip_fragmentation -c %s -n %d -- -p %s -q %s" % ( - coremask, self.dut.get_memory_channels(), portmask, int(numPortThread)), "Link Up", 120) + self.dut.send_expect("examples/ip_fragmentation/build/ip_fragmentation -c %s -n %d %s -- -p %s -q %s" % ( + coremask, self.dut.get_memory_channels(), eal_param, portmask, int(numPortThread)), "Link Up", 120) time.sleep(2) self.txItf = self.tester.get_interface(self.tester.get_local_port(P0)) -- 2.17.1