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 B7B8EA056D; Tue, 3 Mar 2020 07:48:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 86D561BF96; Tue, 3 Mar 2020 07:48:48 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id BE9652C16 for ; Tue, 3 Mar 2020 07:48:46 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2020 22:48:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,510,1574150400"; d="scan'208";a="274081221" Received: from unknown (HELO dpdk-xiaoqimai-tester.sh.intel.com) ([10.239.250.141]) by fmsmga002.fm.intel.com with ESMTP; 02 Mar 2020 22:48:44 -0800 From: Zeng Xiaoxiao To: dts@dpdk.org Cc: Zeng Xiaoxiao Date: Tue, 3 Mar 2020 22:36:38 +0800 Message-Id: <1583246198-54105-1-git-send-email-xiaoxiaox.zeng@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1]tests/shutdown_api: suit cvl nic speed 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" *.cvl100G link speed is different with cvl25G. Signed-off-by: Zeng Xiaoxiao --- tests/TestSuite_shutdown_api.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index 11d451b..0127a57 100644 --- a/tests/TestSuite_shutdown_api.py +++ b/tests/TestSuite_shutdown_api.py @@ -466,6 +466,12 @@ class TestShutdownApi(TestCase): elif self.nic in ["sagepond"]: if config[0] != '1000' and '10000': continue + elif self.nic == "columbiaville_100g": + if config[0] != '100000': + continue + elif self.nic == "columbiaville_25g": + if config[0] != '10000': + continue self.dut.send_expect("port stop all", "testpmd> ", 100) for port in self.ports: self.dut.send_expect("port config %d speed %s duplex %s" % (port, -- 1.8.3.1