[dts] [PATCH V1 2/5] tests/vf_rss: update scripts to meet CVL
Haiyang Zhao
haiyangx.zhao at intel.com
Thu Jun 11 08:59:37 CEST 2020
*.add CVL support.
Signed-off-by: Haiyang Zhao <haiyangx.zhao at intel.com>
---
tests/TestSuite_vf_rss.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --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
More information about the dts
mailing list