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 99A34A0524; Tue, 25 Feb 2020 10:27:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 920F21BFEF; Tue, 25 Feb 2020 10:27:11 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id DE0431BFE2 for ; Tue, 25 Feb 2020 10:27:09 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Feb 2020 01:27:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,483,1574150400"; d="scan'208";a="350113262" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 25 Feb 2020 01:27:08 -0800 From: "zhu,shuai" To: dts@dpdk.org Cc: yinan.wang@intel.com, "zhu,shuai" Date: Tue, 25 Feb 2020 17:32:31 +0800 Message-Id: <1582623151-18473-6-git-send-email-shuaix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1582623151-18473-1-git-send-email-shuaix.zhu@intel.com> References: <1582623151-18473-1-git-send-email-shuaix.zhu@intel.com> Subject: [dts] [PATCH V1] tests/vm2vm_virtio_user:add create_eal_parameters function. 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: zhu,shuai --- tests/TestSuite_vm2vm_virtio_user.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/tests/TestSuite_vm2vm_virtio_user.py b/tests/TestSuite_vm2vm_virtio_user.py index 17bee0e..a9fed78 100644 --- a/tests/TestSuite_vm2vm_virtio_user.py +++ b/tests/TestSuite_vm2vm_virtio_user.py @@ -118,10 +118,10 @@ class TestVM2VMVirtioUser(TestCase): vdev_params += "--vdev 'net_vhost%d,iface=./vhost-net%d,queues=1' " % (i, i) self.command_line = self.dut.target + '/app/testpmd %s ' + \ - '--socket-mem %s %s -- -i --nb-cores=1 --no-flush-rx' + '%s -- -i --nb-cores=1 --no-flush-rx' self.command_line = self.command_line % ( - eal_params, self.socket_mem, vdev_params) + eal_params, vdev_params) self.pmd_vhost.execute_cmd(self.command_line, timeout=30) self.pmd_vhost.execute_cmd('set fwd %s' % fwd_mode) @@ -133,9 +133,8 @@ class TestVM2VMVirtioUser(TestCase): no_pci=True, prefix=self.virtio_prefix, fixed_prefix=True) vdev_params = '--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=1,%s ' % path_mode command_line = self.dut.target + "/app/testpmd %s " + \ - "--socket-mem %s %s -- -i --nb-cores=1 --txd=256 --rxd=256 %s" - command_line = command_line % (eal_params, self.socket_mem, - vdev_params, extern_params) + "%s -- -i --nb-cores=1 --txd=256 --rxd=256 %s" + command_line = command_line % (eal_params, vdev_params, extern_params) self.pmd_virtio1.execute_cmd(command_line, timeout=30) self.pmd_virtio1.execute_cmd('set fwd rxonly') self.pmd_virtio1.execute_cmd('start') @@ -149,9 +148,8 @@ class TestVM2VMVirtioUser(TestCase): no_pci=True, prefix='virtio0') vdev_params = '--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=1,%s ' % path_mode command_line = self.dut.target + '/app/testpmd %s ' + \ - '--socket-mem %s %s -- -i --nb-cores=1 --txd=256 --rxd=256 %s' - command_line = command_line % (eal_params, self.socket_mem, - vdev_params, extern_params) + '%s -- -i --nb-cores=1 --txd=256 --rxd=256 %s' + command_line = command_line % (eal_params, vdev_params, extern_params) self.pmd_virtio0.execute_cmd(command_line, timeout=30) self.pmd_virtio0.execute_cmd('set burst 1') -- 2.17.2