From patchwork Tue Oct 20 08:11:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sun, QinX" X-Patchwork-Id: 81283 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B3E17A04DC; Mon, 19 Oct 2020 10:17:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 881F95A58; Mon, 19 Oct 2020 10:17:14 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 191334CA6 for ; Mon, 19 Oct 2020 10:17:11 +0200 (CEST) IronPort-SDR: fQf8SzvscPvq6HRaS2z/jPslxlBh2fxNkwi82F5TMOiSm47+SrmTI4hbCg4Vz17k4FemWFDDi4 WaPUw2PmbN/w== X-IronPort-AV: E=McAfee;i="6000,8403,9778"; a="166209372" X-IronPort-AV: E=Sophos;i="5.77,394,1596524400"; d="scan'208";a="166209372" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2020 01:17:08 -0700 IronPort-SDR: l2yMUBVpRLinhr3gRoNVOxKOWcWLQmtQ0RGy7aFXyosR/VFgG4YDg4/+rlQC4AWKcsCVU52UPP pl0uPHpb9iJw== X-IronPort-AV: E=Sophos;i="5.77,394,1596524400"; d="scan'208";a="301305527" Received: from unknown (HELO localhost.localdomain) ([10.240.183.61]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2020 01:17:07 -0700 From: sunqin To: dts@dpdk.org Cc: sunqin Date: Tue, 20 Oct 2020 16:11:10 +0800 Message-Id: <20201020081110.654223-1-qinx.sun@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [dts] [PATCH V1] tests/TestSuite_veb_switch.py modify cores list, vf-vf switch case must contain core0 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: sunqin --- tests/TestSuite_veb_switch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_veb_switch.py b/tests/TestSuite_veb_switch.py index f51a8d3..62aac72 100644 --- a/tests/TestSuite_veb_switch.py +++ b/tests/TestSuite_veb_switch.py @@ -239,7 +239,7 @@ class TestVEBSwitching(TestCase): the packets. Check Inter VF-VF MAC switch. """ self.setup_env(driver='default') - self.pmdout.start_testpmd("Default", prefix="test1", ports=[self.sriov_vfs_port[0].pci], param="--eth-peer=0,%s" % self.vf1_mac) + self.pmdout.start_testpmd([0,1,2,3], prefix="test1", ports=[self.sriov_vfs_port[0].pci], param="--eth-peer=0,%s" % self.vf1_mac) self.dut.send_expect("set fwd txonly", "testpmd>") self.dut.send_expect("set promisc all off", "testpmd>")