From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 2BE4E292D for ; Mon, 12 Sep 2016 08:49:43 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP; 11 Sep 2016 23:49:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,321,1470726000"; d="scan'208";a="7720309" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga004.jf.intel.com with ESMTP; 11 Sep 2016 23:49:41 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id u8C6ndbQ011782; Mon, 12 Sep 2016 14:49:39 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u8C6nbPs006253; Mon, 12 Sep 2016 14:49:39 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id u8C6nbEQ006249; Mon, 12 Sep 2016 14:49:37 +0800 From: Peng yuan To: dts@dpdk.org Cc: pengyuan Date: Mon, 12 Sep 2016 14:49:36 +0800 Message-Id: <1473662976-6217-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] [PATCH] tests shutdown_api: add NIC type 'mgpk' 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: , X-List-Received-Date: Mon, 12 Sep 2016 06:49:43 -0000 From: pengyuan Signed-off-by: pengyuan diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index f03734a..2b8704c 100644 --- a/tests/TestSuite_shutdown_api.py +++ b/tests/TestSuite_shutdown_api.py @@ -309,7 +309,7 @@ class TestShutdownApi(TestCase): for port in self.ports: out = self.tester.send_expect( "ethtool %s" % self.tester.get_interface(self.tester.get_local_port(port)), "# ") - self.verify("Speed: %s" % config[0] in out, + self.verify("Speed: %s" % config[0] in out, "Wrong speed reported by the self.tester.") self.verify("Duplex: %s" % config[1] in out, "Wrong link type reported by the self.tester.") @@ -336,7 +336,7 @@ class TestShutdownApi(TestCase): self.dut.send_expect("port start all", "testpmd> ", 100) self.dut.send_expect("start", "testpmd> ") - if self.nic in ['niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville']: + if self.nic in ['mgpk', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville']: # nantic vlan length will not be calculated vlan_jumbo_size = jumbo_size + 4 else: -- 2.5.0