test suite reviews and discussions
 help / color / mirror / Atom feed
From: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
To: dts@dpdk.org
Cc: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
Subject: [dts]  [PATCH V3] tests/flow_filtering: suite CVL
Date: Tue,  3 Dec 2019 01:36:51 +0800	[thread overview]
Message-ID: <20191202173651.32184-1-xiaoxiaox.zeng@intel.com> (raw)

*.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


             reply	other threads:[~2019-12-02  5:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-02 17:36 Xiaoxiao Zeng [this message]
2019-12-02  5:50 ` Peng, Yuan

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=20191202173651.32184-1-xiaoxiaox.zeng@intel.com \
    --to=xiaoxiaox.zeng@intel.com \
    --cc=dts@dpdk.org \
    /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).