From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4F97EA054F; Tue, 16 Mar 2021 09:41:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13328242814; Tue, 16 Mar 2021 09:41:19 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id E89854069F for ; Tue, 16 Mar 2021 09:41:17 +0100 (CET) IronPort-SDR: z0lVzuTWbidldOivmsnJXyAgKxHGiQOBO2m0RE4OOvdh2xXPwd9HBlnWJjgs87FHbOYx7mDGjS BhZNC+wxVsug== X-IronPort-AV: E=McAfee;i="6000,8403,9924"; a="186845721" X-IronPort-AV: E=Sophos;i="5.81,251,1610438400"; d="scan'208";a="186845721" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2021 01:41:17 -0700 IronPort-SDR: dmjxYsvmAliNLSDw1oQtWxMC3Wc/3vGlXOhVY/VyC++zVUv3fyHHCSacZ4up3uRSq2qB0GIZKU 7UgysDflkykQ== X-IronPort-AV: E=Sophos;i="5.81,251,1610438400"; d="scan'208";a="405469385" Received: from unknown (HELO dpdk-wenjielx-tetser203.icx.intel.com) ([10.240.183.105]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2021 01:41:15 -0700 From: sunqin To: dts@dpdk.org Cc: sunqin Date: Tue, 16 Mar 2021 17:06:28 +0000 Message-Id: <20210316170628.15665-1-qinx.sun@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/metering_and_policing: adapt to cvl platform X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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" This suite will be added to regression test on cvl platform, in order to adapt to cvl cards, forwarding mode needs to be set as mac. Signed-off-by: sunqin --- tests/TestSuite_metering_and_policing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestSuite_metering_and_policing.py b/tests/TestSuite_metering_and_policing.py index 4dec3198..db15d5db 100644 --- a/tests/TestSuite_metering_and_policing.py +++ b/tests/TestSuite_metering_and_policing.py @@ -159,6 +159,8 @@ class TestMeteringAndPolicing(TestCase): self.pmd_out.start_testpmd(Corelist, "--rxq=%d --txq=%d --portmask=%s --disable-rss" % (self.port_id, self.port_id, portmask), eal_param="-s %s --vdev 'net_softnic0,firmware=%s'" % (Servicecorelist, filename)) + if self.nic in ["columbiaville_25g","columbiaville_100g"]: + self.dut.send_expect('set fwd mac','testpmd>') def add_port_meter_profile(self, profile_id, cbs=400, pbs=500): """ -- 2.17.1