test suite reviews and discussions
 help / color / mirror / Atom feed
From: Haiyang Zhao <haiyangx.zhao@intel.com>
To: dts@dpdk.org
Cc: Haiyang Zhao <haiyangx.zhao@intel.com>
Subject: [dts] [PATCH V1 5/5] tests/veb_switch: update scripts to meet CVL
Date: Thu, 11 Jun 2020 14:59:40 +0800	[thread overview]
Message-ID: <1591858780-153380-6-git-send-email-haiyangx.zhao@intel.com> (raw)
In-Reply-To: <1591858780-153380-1-git-send-email-haiyangx.zhao@intel.com>

*.update scripts to meet CVL.

Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
 tests/TestSuite_veb_switch.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_veb_switch.py b/tests/TestSuite_veb_switch.py
index 0753646..b6b4034 100644
--- a/tests/TestSuite_veb_switch.py
+++ b/tests/TestSuite_veb_switch.py
@@ -157,7 +157,8 @@ class TestVEBSwitching(TestCase):
         Prerequisite steps for each test suite.
         """
         self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
-                    "fortville_spirit_single", "fortville_25g", "carlsville"],
+                    "fortville_spirit_single", "fortville_25g", "carlsville",
+                                 'columbiaville_100g', 'columbiaville_25g'],
                     "NIC Unsupported: " + str(self.nic))
         self.dut_ports = self.dut.get_ports(self.nic)
         self.verify(len(self.dut_ports) >= 1, "Insufficient ports")
@@ -279,6 +280,8 @@ class TestVEBSwitching(TestCase):
 
         vf0_tx_stats = self.veb_get_pmd_stats("first", 0, "tx")
         vf1_rx_stats = self.veb_get_pmd_stats("second", 0, "rx")
+        if self.kdriver == 'ice':
+            vf1_rx_stats[-1] = vf1_rx_stats[-1] + 4
         self.verify(vf0_tx_stats[0] != 0, "no packet was sent by VF0")
         self.verify(vf0_tx_stats == vf1_rx_stats, "VF1 failed to receive packets from VF0")
     
-- 
1.8.3.1


  parent reply	other threads:[~2020-06-11  7:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-11  6:59 [dts] [PATCH V1 0/5] tests: " Haiyang Zhao
2020-06-11  6:59 ` [dts] [PATCH V1 1/5] tests/runtime_vf_queue_number_kernel: " Haiyang Zhao
2020-06-11  6:59 ` [dts] [PATCH V1 2/5] tests/vf_rss: " Haiyang Zhao
2020-06-11  6:59 ` [dts] [PATCH V1 3/5] tests/vf_jumboframe: " Haiyang Zhao
2020-06-11  6:59 ` [dts] [PATCH V1 4/5] tests/vf_vlan: " Haiyang Zhao
2020-06-11  6:59 ` Haiyang Zhao [this message]
2020-06-11  7:17 ` [dts] [PATCH V1 0/5] tests: " Zhao, HaiyangX
2020-06-19  4:50 ` Tu, Lijuan

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=1591858780-153380-6-git-send-email-haiyangx.zhao@intel.com \
    --to=haiyangx.zhao@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).