From: Haiyang Zhao <haiyangx.zhao@intel.com>
To: dts@dpdk.org
Cc: Haiyang Zhao <haiyangx.zhao@intel.com>
Subject: [dts] [PATCH V1 2/5] tests/vf_rss: update scripts to meet CVL
Date: Thu, 11 Jun 2020 14:59:37 +0800 [thread overview]
Message-ID: <1591858780-153380-3-git-send-email-haiyangx.zhao@intel.com> (raw)
In-Reply-To: <1591858780-153380-1-git-send-email-haiyangx.zhao@intel.com>
*.add CVL support.
Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
| 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--git a/tests/TestSuite_vf_rss.py b/tests/TestSuite_vf_rss.py
index 0bde402..35d4ea2 100644
--- a/tests/TestSuite_vf_rss.py
+++ b/tests/TestSuite_vf_rss.py
@@ -207,7 +207,7 @@ class TestVfRss(TestCase):
if self.kdriver == "fm10k":
# compute the hash result of five tuple into the 7 LSBs value.
hash_index = int(tmp_reta_line["RSS hash"], 16) % 128
- elif self.kdriver == 'i40e' or self.nic in ['sageville', 'sagepond']:
+ elif self.kdriver == 'i40e' or self.kdriver == 'ice' or self.nic in ['sageville', 'sagepond']:
# compute the hash result of five tuple into the 7 LSBs value.
hash_index = int(tmp_reta_line["RSS hash"], 16) % 64
else:
@@ -234,7 +234,8 @@ class TestVfRss(TestCase):
self.verify(
self.nic in ["redrockcanyou", "atwood", "boulderrapid", "fortville_eagle", "fortville_spirit",
- "fortville_spirit_single", "fortville_25g", "sageville", "sagepond", "fortpark_TLV","fortpark_BASE-T", "carlsville"],
+ "fortville_spirit_single", "fortville_25g", "sageville", "sagepond", "fortpark_TLV",
+ "fortpark_BASE-T", "carlsville", "columbiaville_25g", "columbiaville_100g"],
"NIC Unsupported: " + str(self.nic))
self.dut_ports = self.dut.get_ports(self.nic)
self.verify(len(self.dut_ports) >= 1, "Not enough ports available")
@@ -363,7 +364,7 @@ class TestVfRss(TestCase):
self.vm_dut_0.send_expect(
"port config 0 rss reta (%d,%d)" % (i, reta_entries[i]), "testpmd> ")
self.vm_dut_0.send_expect("port config all rss %s" % rss_type, "testpmd> ")
- elif self.kdriver == 'i40e' or self.nic in ['sageville', 'sagepond']:
+ elif self.kdriver == 'i40e' or self.kdriver == 'ice' or self.nic in ['sageville', 'sagepond']:
if self.nic in ['sageville', 'sagepond'] and rss_type == 'sctp':
self.logger.info('sageville and sagepond do not support rsstype sctp')
continue
--
1.8.3.1
next prev 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 ` Haiyang Zhao [this message]
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 ` [dts] [PATCH V1 5/5] tests/veb_switch: " Haiyang Zhao
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-3-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).