From: "Peng, Yuan" <yuan.peng@intel.com>
To: "Zeng, XiaoxiaoX" <xiaoxiaox.zeng@intel.com>,
"dts@dpdk.org" <dts@dpdk.org>
Cc: "Zeng, XiaoxiaoX" <xiaoxiaox.zeng@intel.com>
Subject: Re: [dts] [PATCH V3] tests/flow_filtering: suite CVL
Date: Mon, 2 Dec 2019 05:50:39 +0000 [thread overview]
Message-ID: <67D543A150B29E4CAAE53918F64EDAEA377AC035@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <20191202173651.32184-1-xiaoxiaox.zeng@intel.com>
Hi xiaoxiao,
I think it should be:
+ if self.nic == ('columbiaville_100g'):
+ self.verify(len(queue_list) == 1 and queue_list[0] != "0x1", "Dismatch rule failed!")
-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Xiaoxiao Zeng
Sent: Tuesday, December 3, 2019 1:37 AM
To: dts@dpdk.org
Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
Subject: [dts] [PATCH V3] tests/flow_filtering: suite CVL
*.columbiaville_100g default open rss,fvl defualt close rss.
Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
---
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
prev parent reply other threads:[~2019-12-02 5:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-02 17:36 Xiaoxiao Zeng
2019-12-02 5:50 ` Peng, Yuan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=67D543A150B29E4CAAE53918F64EDAEA377AC035@SHSMSX103.ccr.corp.intel.com \
--to=yuan.peng@intel.com \
--cc=dts@dpdk.org \
--cc=xiaoxiaox.zeng@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).