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 26189A046B for ; Mon, 19 Aug 2019 11:19:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E19D81B96B; Mon, 19 Aug 2019 11:19:52 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 2233F2AB for ; Mon, 19 Aug 2019 11:19:50 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Aug 2019 02:19:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,403,1559545200"; d="scan'208";a="172071381" Received: from dpdk-qifu-1.sh.intel.com ([10.67.119.198]) by orsmga008.jf.intel.com with ESMTP; 19 Aug 2019 02:19:49 -0700 From: qifu To: dts@dpdk.org Cc: qifu Date: Mon, 19 Aug 2019 18:09:12 +0000 Message-Id: <20190819180912.60771-1-qi.fu@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190819110625.73544-9-qi.fu@intel.com> References: <20190819110625.73544-9-qi.fu@intel.com> Subject: [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre 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" Add carlsville to support nic of ipgre. Signed-off-by: qifu --- tests/TestSuite_ipgre.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py index 6f465fa..2a66928 100644 --- a/tests/TestSuite_ipgre.py +++ b/tests/TestSuite_ipgre.py @@ -63,8 +63,9 @@ class TestIpgre(TestCase): """ self.printFlag = self._enable_debug ports = self.dut.get_ports() - self.verify(self.nic.startswith("fortville"), - "GRE tunnel packet type only support by Fortville") + if self.nic != "carlsville": + self.verify(self.nic.startswith("fortville"), + "GRE tunnel packet type only support by Fortville and carlsville") self.verify(len(ports) >= 1, "Insufficient ports for testing") valports = [_ for _ in ports if self.tester.get_local_port(_) != -1] # start testpmd -- 2.17.1