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 B55ECA0540; Wed, 15 Jul 2020 09:54:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 86AC91BF5F; Wed, 15 Jul 2020 09:54:15 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 952661BEAE for ; Wed, 15 Jul 2020 09:54:13 +0200 (CEST) IronPort-SDR: NYjfyFBg61tgDXI1MIa+r9lRKWhZN5UzhnLFMr2urcy2ErE03h6Qhixb4px+IrN1aYK0ws+/m4 WYn18u6qetoQ== X-IronPort-AV: E=McAfee;i="6000,8403,9682"; a="147107051" X-IronPort-AV: E=Sophos;i="5.75,354,1589266800"; d="scan'208";a="147107051" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2020 00:54:12 -0700 IronPort-SDR: RCs2WDOCEUEvfYurWzynRF1FASFizfZ2hOmosQyS3yWfjAFcq9xytvApxeYaNJJ62POan70I1F lFSAutLbAN3A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,354,1589266800"; d="scan'208";a="299804897" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 15 Jul 2020 00:54:10 -0700 From: "Ling, WeiX" To: dts@dpdk.org Cc: "Ling, WeiX" , Ling@dpdk.org Date: Wed, 15 Jul 2020 15:52:39 +0000 Message-Id: <20200715155239.92522-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