[V1,2/2] tests/ice_rss_configure: add 2 cases
Checks
Commit Message
add a case to test rss config none.
add a case to test default rss command line.
Signed-off-by: Song Jiale <songx.jiale@intel.com>
---
tests/TestSuite_ice_rss_configure.py | 8 ++++++++
1 file changed, 8 insertions(+)
Comments
On Sun, 9 Oct 2022 16:14:33 +0000, Song Jiale <songx.jiale@intel.com> wrote:
> add a case to test rss config none.
> add a case to test default rss command line.
>
> Signed-off-by: Song Jiale <songx.jiale@intel.com>
Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Series applied, thanks
@@ -334,6 +334,10 @@ class RSSConfigureTest(TestCase):
self.launch_testpmd(line_option="--disable-rss")
self.rsspro.handle_rss_distribute_cases(command_line_option_disable_rss)
+ def test_command_line_option_rss_default(self):
+ self.launch_testpmd()
+ self.rsspro.handle_rss_distribute_cases(command_line_option_rss_ip)
+
def test_rss_configure_to_ip(self):
self.launch_testpmd(rss_type="ip")
self.rsspro.handle_rss_distribute_cases(rss_configure_to_ip)
@@ -358,6 +362,10 @@ class RSSConfigureTest(TestCase):
self.launch_testpmd(rss_type="default")
self.rsspro.handle_rss_distribute_cases(rss_configure_to_default)
+ def test_rss_configure_to_none(self):
+ self.launch_testpmd(rss_type="none")
+ self.rsspro.handle_rss_distribute_cases(command_line_option_disable_rss)
+
def tear_down(self):
"""
Run after each test case.