From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 2CED1F72 for ; Thu, 26 Jul 2018 10:00:37 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jul 2018 01:00:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,404,1526367600"; d="scan'208";a="75624693" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 26 Jul 2018 01:00:34 -0700 From: wenjieli To: dts@dpdk.org Cc: wenjieli Date: Thu, 26 Jul 2018 16:01:47 +0800 Message-Id: <1532592107-98637-1-git-send-email-wenjiex.a.li@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/TestSuite_scatter.py tests/TestSuite_shutdown_api.py add sagepond, sageville in nic list for 2 cases 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: Thu, 26 Jul 2018 08:00:39 -0000 tests/TestSuite_scatter.py set_up_all(): add sagepond nic in line 69 to set self.mbsize = 2048. tests/TestSuite_shutdown_api.py test_enable_disablejumbo(): add sageville, sagepond nic in line 349, since the nic's vlan length will not be calculated. Signed-off-by: wenjieli --- tests/TestSuite_scatter.py | 2 +- tests/TestSuite_shutdown_api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_scatter.py b/tests/TestSuite_scatter.py index d9b85b8..d6aef49 100644 --- a/tests/TestSuite_scatter.py +++ b/tests/TestSuite_scatter.py @@ -66,7 +66,7 @@ class TestScatter(TestCase): if self.nic in ["magnolia_park", "niantic", "sageville", "fortpark", "fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "redrockcanyou", "atwood", "boulderrapid", - "ironpond", "twinpond", "springfountain", "fortpark_TLV"]: + "ironpond", "twinpond", "springfountain", "fortpark_TLV", "sagepond"]: self.mbsize = 2048 else: self.mbsize = 1024 diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index 8b6de18..d00c3fb 100644 --- a/tests/TestSuite_shutdown_api.py +++ b/tests/TestSuite_shutdown_api.py @@ -346,7 +346,7 @@ class TestShutdownApi(TestCase): self.dut.send_expect("port start all", "testpmd> ", 100) self.dut.send_expect("start", "testpmd> ") - if self.nic in ['magnolia_park', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville']: + if self.nic in ['magnolia_park', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville', 'sageville', 'sagepond']: # nantic vlan length will not be calculated vlan_jumbo_size = jumbo_size + 4 else: -- 1.9.3