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 A1CFDA04B5; Mon, 2 Dec 2019 06:37:09 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6B1ED1F28; Mon, 2 Dec 2019 06:37:09 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C4F891F5 for ; Mon, 2 Dec 2019 06:37:07 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Dec 2019 21:37:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,268,1571727600"; d="scan'208";a="218282709" Received: from unknown (HELO dpdk-zengxx-tester.localdomain) ([10.240.176.145]) by fmsmga001.fm.intel.com with ESMTP; 01 Dec 2019 21:37:05 -0800 From: Xiaoxiao Zeng To: dts@dpdk.org Cc: Xiaoxiao Zeng Date: Tue, 3 Dec 2019 01:36:51 +0800 Message-Id: <20191202173651.32184-1-xiaoxiaox.zeng@intel.com> X-Mailer: git-send-email 2.17.0 Subject: [dts] [PATCH V3] tests/flow_filtering: suite CVL 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" *.columbiaville_100g default open rss,fvl defualt close rss. Signed-off-by: Xiaoxiao Zeng --- tests/TestSuite_flow_filtering.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_flow_filtering.py b/tests/TestSuite_flow_filtering.py index 242d321..8be17de 100644 --- a/tests/TestSuite_flow_filtering.py +++ b/tests/TestSuite_flow_filtering.py @@ -95,7 +95,10 @@ class TestFlowFiltering(TestCase): pkg = {'IP/dst': 'Ether(dst="%s")/IP(src="0.0.0.0", dst="192.168.1.2")/Raw("x"*20)' % self.dts_mac} self.send_packet(pkg) queue_list = self.check_flow_queue() - self.verify(len(queue_list) == 1 and queue_list[0] == "0x0", "Dismatch rule failed!") + if self.nic == ('columbiaville_100g'): + self.verify(len(queue_list) == 1 and queue_list[0] != "0x0", "Dismatch rule failed!") + else: + self.verify(len(queue_list) == 1 and queue_list[0] == "0x0", "Dismatch rule failed!") def tear_down(self): """ -- 2.17.0