[V1] tests/i40_rss_input: update dts code for dpdk query RSS changes
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
According to dpdk commit f958bbe221 (app/testpmd: display RSS hash key of flow rule) modify the script adapt to this changes.
Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
tests/TestSuite_i40e_rss_input.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, 30 Mar 2023 11:15:38 +0800, Weiyuan Li <weiyuanx.li@intel.com> wrote:
> According to dpdk commit f958bbe221 (app/testpmd: display RSS hash key of flow rule) modify the script adapt to this changes.
>
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
Reviewed-by: Lijuan Tu <lijuan.tu@intel.com>
Applied, thanks
@@ -5743,7 +5743,7 @@ class TestI40ERssInput(TestCase):
"testpmd> ",
)
- rexp = r"flow query 0 (\d) rss\r\r\nRSS:\r\n queues: ([\S\s]+?)\r\n function: (\S+?)\r\n types:\r\n ([\s\S]+)"
+ rexp = r"flow query 0 (\d) rss\r\r\nRSS:\r\n queues: ([\S\s]+?)\r\n function: (\S+?)\r\n RSS key:\r\n [\s\S]+\r\n types:\r\n ([\s\S]+)"
out0 = self.dut.send_expect("flow query 0 0 rss", "testpmd> ")
m0 = re.match(rexp, out0.strip())
self.verify(