From: Yu Jiang <yux.jiang@intel.com>
To: dts@dpdk.org
Cc: Yu Jiang <yux.jiang@intel.com>
Subject: [dts] [PATCH V1 2/2] tests/fortville_rss_input: remove global configurations of hash filter case
Date: Thu, 19 Aug 2021 19:35:21 +0800 [thread overview]
Message-ID: <1629372921-21024-3-git-send-email-yux.jiang@intel.com> (raw)
In-Reply-To: <1629372921-21024-1-git-send-email-yux.jiang@intel.com>
According to dpdk commit 81db321da ethdev: remove legacy HASH filter type support,
remove test case test_global_hash_configuration
Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
| 32 --------------------------------
1 file changed, 32 deletions(-)
--git a/tests/TestSuite_fortville_rss_input.py b/tests/TestSuite_fortville_rss_input.py
index f542b66..4ba413f 100644
--- a/tests/TestSuite_fortville_rss_input.py
+++ b/tests/TestSuite_fortville_rss_input.py
@@ -305,38 +305,6 @@ class TestFortvilleRssInput(TestCase):
res = self.pmdout.wait_link_status_up("all")
self.verify(res is True, "link is down")
- def test_global_hash_configuration(self):
- """
- Test with flow type ipv4-tcp.
- """
- flag = 1
-
- self.start_testpmd()
-
- # set hash input set by testpmd on dut, enable default input set
- self.dut.send_expect(
- "flow create 0 ingress pattern end actions rss types end queues end func simple_xor / end", "testpmd> ")
-
- out = self.dut.send_expect("get_hash_global_config 0", "testpmd>")
- result_scanner = r"Hash function is Simple XOR"
- scanner = re.compile(result_scanner, re.DOTALL)
- m = scanner.search(out)
- if m:
- self.verify(1, "Pass")
- else:
- self.verify(0, "Fail")
-
- self.dut.send_expect(
- "flow destroy 0 rule 0", "testpmd>")
- out = self.dut.send_expect("get_hash_global_config 0", "testpmd>")
- rexp = r"Hash function is Toeplitz"
- scanner = re.compile(rexp, re.DOTALL)
- m = scanner.search(out)
- if m:
- self.verify(1, "Pass")
- else:
- self.verify(0, "Fail")
-
def test_symmetric_hash_configuration(self):
"""
Test with flow type ipv4-tcp.
--
2.7.4
next prev parent reply other threads:[~2021-08-19 11:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-19 11:35 [dts] [PATCH V1 0/2] remove fortville_rss_input/global_hash_configuration Yu Jiang
2021-08-19 11:35 ` [dts] [PATCH V1 1/2] test_plans/fortville_rss_input_test_plan: remove global configurations of hash filter case Yu Jiang
2021-09-14 7:57 ` Tu, Lijuan
2021-09-15 1:52 ` Jiang, YuX
2021-08-19 11:35 ` Yu Jiang [this message]
2021-09-14 6:06 ` [dts] [PATCH V1 2/2] tests/fortville_rss_input: " Jiang, YuX
2021-09-14 6:30 ` Peng, Yuan
2021-09-15 3:47 ` Tu, Lijuan
2021-09-14 5:54 ` [dts] [PATCH V1 0/2] remove fortville_rss_input/global_hash_configuration Jiang, YuX
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=1629372921-21024-3-git-send-email-yux.jiang@intel.com \
--to=yux.jiang@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).